Univention Bugzilla – Full Text Bug Listing |
Summary: | 41password_change test case fails in S3 environments | ||
---|---|---|---|
Product: | UCS Test | Reporter: | Stefan Gohmann <gohmann> |
Component: | Samba | Assignee: | Florian Best <best> |
Status: | CLOSED DUPLICATE | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | best, hahn |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=41207 https://forge.univention.org/bugzilla/show_bug.cgi?id=41557 |
||
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): | ||
Max CVSS v3 score: |
Description
Stefan Gohmann
2016-06-10 16:52:26 CEST
This seems to be a regression in the latest UDM changes: root@master711:~# udm users/user create --set username=test1 --set lastname=Test1 --set password=univention Object created: uid=test1,dc=deadlock71,dc=intranet root@master711:~# grep 'passwd program ' /etc/samba/smb.conf passwd program = /usr/share/univention-admin-tools/univention-passwd --binddn "cn=admin,dc=deadlock71,dc=intranet" --pwdfile "/etc/ldap.secret" --user "%u" root@master711:~# /usr/share/univention-admin-tools/univention-passwd --binddn "cn=admin,dc=deadlock71,dc=intranet" --pwdfile "/etc/ldap.secret" --user "test1" New password Univention99 Re-enter new password Univention99 passwd error: Object class violation: attribute 'sambaAcctFlags' not allowed root@master711:~# univention-directory-manager-modules (11.0.3-8): r70097 | Bug #41207, Bug #41530: fix univention-passwd to not remove samba object class univention-passwd contained an evil hack which removed the (not-editable) option 'samba' from the object to make sure no samba related attributes were changed. The new code which ensures the consistency of the object classes has been moved into an own method which is now overwritten in univention-passwd. *** This bug has been marked as a duplicate of bug 41207 *** OK: r70097 OK: # udm users/user create --set lastname=unix --set username=unix --set password=univention --option posix # printf 'test1234\ntest1234\n' | /usr/share/univention-admin-tools/univention-passwd --binddn "cn=admin,$(ucr get ldap/base)" --pwdfile "/etc/ldap.secret" --user unix # udm users/user create --set lastname=samba --set username=samba --set password=univention --option posix --option samba # printf 'test1234\ntest1234\n' | /usr/share/univention-admin-tools/univention-passwd --binddn "cn=admin,$(ucr get ldap/base)" --pwdfile "/etc/ldap.secret" --user samba |