Bug 134069 - sambaPasswordHistory missing in samba.schema
Summary: sambaPasswordHistory missing in samba.schema
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-29 11:50 UTC by Thorsten Scherf
Modified: 2014-08-31 23:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-29 16:38:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thorsten Scherf 2004-09-29 11:50:59 UTC
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:

Comment 1 David Lawrence 2004-09-29 15:06:23 UTC
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.

Comment 2 Thorsten Scherf 2004-09-29 16:38:07 UTC
thats it.



Note You need to log in before you can comment on or make changes to this bug.