[Samba] SAMBA and root entry

Gerald (Jerry) Carter jerry at samba.org
Tue Feb 25 03:33:44 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 18 Feb 2003, Richard Canada wrote:

> hi all,
> 
> I am trying to add an entry for root using samba-2.2.7 and Directory 
> Server for LDAP.
> 
> I use the command "smbpasswd -a root" and I get this error:
> 
> [root at sysad2 root]# smbpasswd -a root
> New SMB password:
> Retype new SMB password:
> LDAP search "(&(uid=root)(objectclass=sambaAccount))" returned 0 entries.
> failed to modify user with uid = root with: Object class violation

probably because smbpasswd is trying to create the entry just using
the sambaAccount objectclass which is AUXILIARY.  we fixed smbd to add the 
object "account" as the STRUCTURAL class in if the entry did not 
previsouly exist.  but I don't remember when we added this fix.  
Up the debug level in smbpasswd to look for details.




cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+WuQZIR7qMdg1EfYRAt7TAKDubQmZsK6LGnfYgcNwtN1eKM6XbACeOizt
CSs21veLlqhOWeHz+cCuW/o=
=uzWg
-----END PGP SIGNATURE-----



More information about the samba mailing list