Bug 292 - smbpasswd -a fails with ldap passwd sync = yes
Summary: smbpasswd -a fails with ldap passwd sync = yes
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 normal
Target Milestone: 3.0.0rc2
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-12 09:54 UTC by Christian Ashby
Modified: 2005-11-14 09:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ashby 2003-08-12 09:54:43 UTC
The error 'Object class violation' occurs when using smbpasswd -a with ldap 
backend - posixAccount is not added as an objectclass for the new user
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-08-25 20:26:33 UTC
This is the only error I get:

  # bin/smbpasswd  -a pcap
  New SMB password:
  Retype new SMB password:
  LDAP Password could not be changed for user pcap: Unknown error
  Added user pcap.

OpenLDAP 2.1.20 (SAMBA_3_0 cvs snapshot from today).  The user 
pcap is in /etc/passwd and the user is added to the LDAP 
directory.  The LDIF created is

  dn: uid=pcap, ou=people, dc=plainjoe,dc=org
  sambaPwdLastSet: 1061868170
  sambaAcctFlags: [U          ]
  sambaPwdMustChange: 2147483647
  objectClass: sambaSamAccount
  objectClass: account
  uid: pcap
  sambaSID: S-1-5-21-2547222302-1596225915-2414751004-1154
  sambaPwdCanChange: 1061868170
  sambaNTPassword: 0CB6948805F797BF2A82807973B89537
  sambaPrimaryGroupSID: S-1-5-21-2547222302-1596225915-2414751004-1155
  sambaLMPassword: 01FC5A6BE7BC6929AAD3B435B51404EE
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:41:34 UTC
originally reported against 3.0.0beta3.  CLeaning out 
non-production release versions.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:28:04 UTC
database cleanup