Bug 53036 - cn=groupName,cn=temporary entry persists and prevents creation of group
cn=groupName,cn=temporary entry persists and prevents creation of group
Status: CLOSED DUPLICATE of bug 50648
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-08 11:15 CEST by Johannes Keiser
Modified: 2021-05-25 15:58 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2021-04-08 11:15:36 CEST
Reproduce:
- Create group
- try to create group with same name.
  This won't work (expected) and creates cn=groupName,cn=temporary object
- Delete group
- The cn=groupName,cn=temporary object still exists preventing creation with
  that name

Example ldap search output
- Create group
dn: cn=group1,cn=groups,dc=mydomain,dc=intranet
gidNumber: 5019
sambaSID: S-1-5-21-3577435277-894307096-3569377660-11039
cn: group1
sambaGroupType: 2
univentionGroupType: -2147483646
objectClass: univentionObject
objectClass: univentionGroup
objectClass: posixGroup
objectClass: sambaGroupMapping
objectClass: top
univentionObjectType: groups/group

- try to create group with same name. This won't work (expected) and creates
dn: cn=group1,cn=groups,dc=mydomain,dc=intranet
gidNumber: 5019
sambaSID: S-1-5-21-3577435277-894307096-3569377660-11039
cn: group1
sambaGroupType: 2
univentionGroupType: -2147483646
objectClass: univentionObject
objectClass: univentionGroup
objectClass: posixGroup
objectClass: sambaGroupMapping
objectClass: top
univentionObjectType: groups/group


dn: cn=group1,cn=groupName,cn=temporary,cn=univention,dc=mydomain,dc=intranet
objectClass: lock
objectClass: top
cn: group1
lockTime: 1617873002

- Delete group
dn: cn=group1,cn=groupName,cn=temporary,cn=univention,dc=mydomain,dc=intranet
objectClass: lock
objectClass: top
cn: group1
lockTime: 1617873002
Comment 1 Florian Best univentionstaff 2021-04-13 11:46:38 CEST
fixed in git:fdd46348de01328bbcc6093cd6f2c88022fc7976

*** This bug has been marked as a duplicate of bug 50648 ***
Comment 2 Johannes Keiser univentionstaff 2021-04-19 11:17:01 CEST
OK: temporary objects are deleted
-> verified
Comment 3 Florian Best univentionstaff 2021-05-25 15:58:08 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".