Univention Bugzilla – Bug 37018
pdbedit (password history) broken in samba4 rc2
Last modified: 2023-03-25 06:48:07 CET
Please check if a test case is possible. +++ This bug was initially created as a clone of Bug #36755 +++ UCS 4.0 univention-samba https://groups.google.com/forum/#!topic/mailing.unix.samba/bwvhW6hnvrs If i configure the passwordHistory -> udm settings/sambadomain modify \ --dn sambaDomainName=FB,cn=samba,dc=fb,dc=test \ --set passwordHistory=3 or -> pdbedit -P "password history" -C 3 samba no longer finds user objects. -> pdbedit -Lv fb1 pdb_set_pw_history: data_blob_talloc() failed! Username not found! -> smbclient //master/fb1 -U fb1%univention Domain=[FB] OS=[Windows 6.1] Server=[Samba 4.2.0rc2-Debian] tree connect failed: NT_STATUS_ACCESS_DENIED The only way to "repair" this, is to remove the password history -> pdbedit -P "password history" -C 0 Setting the password history via UDM (to 0) does not help!
(In reply to Stefan Gohmann from comment #0) > Please check if a test case is possible. 1. Test creates a user 2. Modifies the domain password history via UDM 3. Checks that modification worked via samba-tool 4. Tries to find initially created test user via pdbedit 5. Tries to access sysvol with test user credentials via smbclient r60036: * 51_samba4/58pwdHistoryChange: check that samba domain password history change works (Bug #37018).
For this bug is no separate QA needed.