From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Description of problem: Seems that the samba.schema file shipped with the newest samba package does not have an attribute type "sambaPasswordHistory" definined. This attribute type was released with samba-3.0.6. I noticed that when adding a new samba user to a ldap passwd backend: [root@mail schema]# smbpasswd -a smbadmin New SMB password: Retype new SMB password: ldapsam_modify_entry: Failed to modify user dn= uid=smbadmin,ou=People,dc=example,dc=com with: Undefined attribute type sambaPasswordHistory: attribute type undefined ldapsam_add_sam_account: failed to modify/add user with uid = smbadmin (dn = uid=smbadmin,ou=People,dc=example,dc=com) Failed to add entry for user smbadmin. Failed to modify password entry for user smbadmin Version-Release number of selected component (if applicable): samba-3.0.7-1.3E How reproducible: Always Steps to Reproduce: 1.smbpasswd -a linuxuser 2. 3. Actual Results: [root@mail schema]# smbpasswd -a smbadmin New SMB password: Retype new SMB password: ldapsam_modify_entry: Failed to modify user dn= uid=smbadmin,ou=People,dc=example,dc=com with: Undefined attribute type sambaPasswordHistory: attribute type undefined ldapsam_add_sam_account: failed to modify/add user with uid = smbadmin (dn = uid=smbadmin,ou=People,dc=example,dc=com) Failed to add entry for user smbadmin. Failed to modify password entry for user smbadmin Expected Results: user added to the ldap backend. Additional info:
Have you copied the new samba.schema file from /usr/share/doc/samba-3.0.7-1.3E/LDAP/samba.schema to /etc/openldap/schema/samba.schema? This does not happen automatically when upgrading. If you copy that over you should be fixed up.
thats it.