Univention Bugzilla – Attachment 9261 Details for
Bug 18680
Removing group in group memberships in MS-AD is not replicated to UCS LDAP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
group_members_sync_to_ucs.patch
group_members_sync_to_ucs.patch (text/plain), 1.31 KB, created by
Felix Botner
on 2017-10-25 14:37:46 CEST
(
hide
)
Description:
group_members_sync_to_ucs.patch
Filename:
MIME Type:
Creator:
Felix Botner
Created:
2017-10-25 14:37:46 CEST
Size:
1.31 KB
patch
obsolete
>diff --git a/services/univention-ad-connector/modules/univention/connector/ad/__init__.py b/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >index b8e65dd..a3aeab5 100644 >--- a/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >+++ b/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >@@ -1915,12 +1915,12 @@ class ad(univention.connector.ucs): > cache[member_dn] = ucs_object_attr > ucs_object = {'dn': member_dn, 'modtype': 'modify', 'attributes': ucs_object_attr} > >- if not self._ignore_object('user', ucs_object) or not self._ignore_object('group', ucs_object): >- for k in self.property.keys(): >- # identify if DN is a user or a group (will be ignored it is a host) >- if self.modules[k].identify(member_dn, ucs_object['attributes']): >+ for k in self.property.keys(): >+ # identify if DN is a user or a group (will be ignored it is a host) >+ if self.modules[k].identify(member_dn, ucs_object['attributes']): >+ if not self._ignore_object(k, ucs_object): > del_members[k].append(member_dn) >- break >+ break > else: > ud.debug(ud.LDAP, ud.INFO, "group_members_sync_to_ucs: %s was not found in group member ucs cache of %s, don't delete" % (member_dn.lower(), object['dn'].lower())) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18680
: 9261