[Samba] Domain Root Password

Ivan Toh Boon Cheong tohbc at scs.com.sg
Thu Apr 7 06:20:47 GMT 2005


The fact that you seeing the error saying that samba cant find an entry for the root, is that you have to create an smbuser entry for root. The smbuser database does not synchronise automatically with /etc/passwd or ldap , if I'm not wrong.Hence, the command #smbpasswd -a root, will create an smbuser entry for root, and at the same time prompting you for a smbpasswd , which is also may not be the same as the system password.

	-----Original Message----- 
	From: Gerald Cenir [mailto:gcenir at globalsources.com] 
	Sent: Thu 4/7/2005 2:12 PM 
	To: samba at lists.samba.org 
	Cc: 
	Subject: RE: [Samba] Domain Root Password
	
	

	Thanks but when I executed the command
	#smbpasswd root
	
	It says that it failed to find entry for user root.
	I checked my directory using slapcat and there is a user root
	
	dn: uid=root,ou=Users,dc=company,dc=com
	objectClass: top
	objectClass: inetOrgPerson
	objectClass: posixAccount
	objectClass: shadowAccount
	...
	
	should I delete it and add it again?
	
	
	
	
	-----Original Message-----
	From: Mark Sarria [mailto:mark at msdigitaldzines.com]
	Sent: Thursday, April 07, 2005 11:59 AM
	To: Gerald Cenir; samba at lists.samba.org
	Subject: Re: [Samba] Domain Root Password
	
	all you need to do is type:
	
	#smbpasswd root
	
	-mark
	
	----- Original Message -----
	From: "Gerald Cenir" <gcenir at globalsources.com>
	To: <samba at lists.samba.org>
	Sent: Wednesday, April 06, 2005 7:57 PM
	Subject: [Samba] Domain Root Password
	
	
	> Hi!
	>
	>         How do we provide a password for the domain root?
	>         I am using Samba 3.0.3-5 and openldap-2.1.29-1 on a Fedora Core 2
	>
	>         Following the steps found in
	> http://samba.idealx.org/smbldap-howto.en.html I issued to command:
	>
	>         # smbldap-populate
	>
	>         In the howto after executing the command, the entries were added
	and
	> it asked to provide a password for the domain root. But in my case, it did
	> not ask for a password.
	>
	> Regards,
	>
	
	
	--
	To unsubscribe from this list go to the following URL and read the
	instructions:  https://lists.samba.org/mailman/listinfo/samba
	



More information about the samba mailing list