Think you should try this below # smbpasswd -a root -----Original Message----- From: Gerald Cenir [mailto:gcenir@globalsources.com] Sent: Thu 4/7/2005 2:12 PM To: samba@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@msdigitaldzines.com] Sent: Thursday, April 07, 2005 11:59 AM To: Gerald Cenir; samba@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@globalsources.com> To: <samba@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
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@globalsources.com] Sent: Thu 4/7/2005 2:12 PM To: samba@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@msdigitaldzines.com] Sent: Thursday, April 07, 2005 11:59 AM To: Gerald Cenir; samba@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@globalsources.com> To: <samba@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
http://www.linuxforum.com/forums/index.php?showtopic=68203 http://www.spinics.net/lists/samba/msg19401.html Hope these help -----Original Message----- From: Gerald Cenir [mailto:gcenir@globalsources.com] Sent: Thu 4/7/2005 2:49 PM To: Ivan Toh Boon Cheong; samba@lists.samba.org Cc: Subject: RE: [Samba] Domain Root Password Executing smbpasswd -a root result in this message: [root@isla root]# smbpasswd -a root New SMB password: Retype new SMB password: ldapsam_modify_entry: LDAP Password could not be changed for user root: Object class violation entry modify failed ldapsam_add_sam_account: failed to modify/add user with uid = root (dn = uid=root,ou=Users,dc=company,dc=com) Failed to add entry for user root. Failed to modify password entry for user root There is an Administrator user however. But my machine still can't join the domain when I use the Administrator user. Regards, -----Original Message----- From: Ivan Toh Boon Cheong [mailto:tohbc@scs.com.sg] Sent: Thursday, April 07, 2005 2:21 PM To: Gerald Cenir; samba@lists.samba.org Subject: RE: [Samba] Domain Root Password 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@globalsources.com] Sent: Thu 4/7/2005 2:12 PM To: samba@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@msdigitaldzines.com] Sent: Thursday, April 07, 2005 11:59 AM To: Gerald Cenir; samba@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@globalsources.com> To: <samba@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