Re: [Samba] SAMBA and root entry

2003-02-24 Thread Gerald (Jerry) Carter
-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:
> 
> [EMAIL PROTECTED] 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-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] SAMBA and root entry

2003-02-18 Thread Richard Canada
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@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
	
Failed to add entry for user root.
Failed to modify password entry for user root
[root@sysad2 root]#


I have verified that I have a good connection to the LDAP server.  Any 
ideas?
--




Regards,

Richard Canada
Assistant Computer Systems Manager
Medical Research Laboratories International, USA
2 Tesseneer Drive
Highland Heights, Kentucky 41076
Phone: (859) 781-8877 x266
Fax: (859) 781-9310
[EMAIL PROTECTED] 






__
This email transmission and any documents, files or previous email
messages attached to it may contain information that is confidential or
legally privileged. If you are not the intended recipient or a person
responsible for delivering this transmission to the intended recipient,
you are hereby notified that you must not read this transmission and
that any disclosure, copying, printing, distribution or use of this
transmission is strictly prohibited. If you have received this
transmission in error, please immediately notify the sender by telephone
or return email and delete the original transmission and its attachments
without reading or saving in any manner.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba