Bug 134069 - sambaPasswordHistory missing in samba.schema
sambaPasswordHistory missing in samba.schema
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Fenlason
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-29 07:50 EDT by Thorsten Scherf
Modified: 2014-08-31 19:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-29 12:38:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thorsten Scherf 2004-09-29 07:50:59 EDT
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 11:06:23 EDT
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 12:38:07 EDT
thats it.

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