Univention Bugzilla – Full Text Bug Listing |
Summary: | udm users/user create traceback when using --set name=foo instead of username=foo | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | UDM - CLI | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Julia Bremer <bremer> |
Severity: | minor | ||
Priority: | P5 | CC: | best, schwardt |
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | 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): | Cleanup | |
Max CVSS v3 score: |
Description
Arvid Requate
2019-01-09 12:41:20 CET
*** Bug 48244 has been marked as a duplicate of this bug. *** > /usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py(1888)_ldap_pre_ready() -> self.alloc.append(('uid', univention.admin.allocators.request(self.lo, self.position, 'uid', value=self['username']))) > /usr/lib/pymodules/python2.7/univention/admin/uldap.py(656)get() -> return self.lo.get(dn, attr, required) (Pdb) dn 'cn=,cn=uid,cn=temporary,cn=univention,dc=school,dc=dev' → This happens when trying to create temporary lock objects. And unfortionately before the code which checks if all required properties are set. Prevented with a simple if self['username']. univention-directory-manager-modules (14.0.12-2) f00c390a9503 | Bug #48441: prevent traceback when not setting --set username= on users/user create Verified: * Code review * No traceback when creating users/user without username * Advisory |