Bug 25838 - Löschen von Gruppenmitglieder bei nicht übereinstimmender Groß/Kleinschreibung
Löschen von Gruppenmitglieder bei nicht übereinstimmender Groß/Kleinschreibung
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Groups
UCS 3.0
Other Linux
: P2 normal (vote)
: UCS 3.0-1
Assigned To: Andreas Büsching
Felix Botner
:
: 25809 (view as bug list)
Depends on:
Blocks: 25855
  Show dependency treegraph
 
Reported: 2012-01-16 09:45 CET by Andreas Büsching
Modified: 2012-03-04 14:33 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2012-01-16 09:45:15 CET
Bei folgender Gruppe

# test, groups, update.test
dn: cn=test,cn=groups,dc=update,dc=test
sambaGroupType: 2
cn: test
objectClass: top
objectClass: posixGroup
objectClass: univentionGroup
objectClass: sambaGroupMapping
objectClass: univentionObject
univentionObjectType: groups/group
gidNumber: 5014
sambaSID: S-1-5-21-2796199546-1396784971-2706387774-11029
uniqueMember: uid=Administrator,cn=users,dc=update,dc=test
memberUid: administrator


kann der Administrator nicht gelöscht werden, da administrator im Attribute memberUid kleingeschrieben wird.


root@master:~# udm groups/group modify --dn cn=test,cn=groups,dc=update,dc=test --remove users="uid=Administrator,cn=users,dc=update,dc=test"
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 939, in doit
    dn=object.modify()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 344, in modify
    return self._modify(modify_childs,ignore_license=ignore_license)
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 863, in _modify
    self.lo.modify(self.dn, ml, ignore_license=ignore_license)
  File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 385, in modify
    raise univention.admin.uexceptions.ldapError, _err2str(msg)
ldapError: No such attribute: modify/delete: memberUid: no such value

Ändert man administrator in Administrator funktioniert es wieder:

root@master:~# udm groups/group modify --dn cn=test,cn=groups,dc=update,dc=test --remove users="uid=Administrator,cn=users,dc=update,dc=test"
Object modified: cn=test,cn=groups,dc=update,dc=test
Comment 1 Stefan Gohmann univentionstaff 2012-02-09 06:42:28 CET
*** Bug 25809 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Büsching univentionstaff 2012-02-14 14:16:15 CET
Das ist jetzt behoben

Changelog wurde ergänzt
Comment 3 Felix Botner univentionstaff 2012-02-22 17:33:26 CET
OK

-> univention-ldapsearch  cn=testgroup -LLLL
dn: cn=testgroup,dc=sc,dc=ol
sambaGroupType: 2
cn: testgroup
objectClass: top
objectClass: posixGroup
objectClass: univentionGroup
objectClass: sambaGroupMapping
objectClass: univentionObject
univentionObjectType: groups/group
gidNumber: 5039
sambaSID: S-1-5-21-580971052-1204130106-220151544-11138
uniqueMember: uid=Administrator,cn=users,dc=sc,dc=ol
memberUid: administrator

-> udm groups/group modify --dn cn=testgroup,dc=sc,dc=ol --remove users="uid=Administrator,cn=users,dc=sc,dc=ol" 
Object modified: cn=testgroup,dc=sc,dc=ol

-> univention-ldapsearch  cn=testgroup -LLLLdn: cn=testgroup,dc=sc,dc=ol
sambaGroupType: 2
cn: testgroup
objectClass: top
objectClass: posixGroup
objectClass: univentionGroup
objectClass: sambaGroupMapping
objectClass: univentionObject
univentionObjectType: groups/group
gidNumber: 5039
sambaSID: S-1-5-21-580971052-1204130106-220151544-11138

Changelog Eintrag vorhanden.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2012-03-04 14:33:52 CET
UCS 3.0-1 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"