Hi, I ran smbldap-populate to solve the problem. thank you all. But now another problem happened: when I tried to join a Winxp to the domain, after I enter the root account and password, a popup said "logon failure:unknown user name or bad password". I can see root account using slapcat. I used smbldap-passwd to change the root's password. If I change the passdb backend to tdbsam, I can join the domain. Any idea? Thanks.
Edmund -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Augusto van de Wiel Sent: Monday, September 17, 2007 8:55 AM To: [email protected] Subject: Re: [Samba] samba3+openldap:Problem during the LDAP search -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Edmund Lin wrote, On 16-09-2007 23:59: > From: On Behalf Of Adam Tauno Williams > Sent: Thursday, September 13, 2007 4:50 PM > To: [email protected] > Subject: Re: [Samba] samba3+openldap:Problem during the LDAP search >>> I'm trying to use samba3+openldap as our PDC. >>> I installed the server using CentOS4.4 single service CD and then >>> use yum install openldap-servers to install openldap server. >>> I already ran "smbpasswd -w secret". >>> When I invoked "smbpasswd -a root" the following error showed up: >>> [EMAIL PROTECTED] samba]# smbpasswd -a root >>> smbldap_search_suffix: Problem during the LDAP search: (No such >>> object) New SMB password: >>> Retype new SMB password: >>> smbldap_search_suffix: Problem during the LDAP search: (No such >>> object) >>> ldapsam_search_one_group: Problem during the LDAP search: LDAP error: >>> (No such object) >>> smbldap_search_suffix: Problem during the LDAP search: (No such >>> object) Failed to add entry for user root. >>> Failed to modify password entry for user root >> >> Is there a user root in your Dit? > > Hi, > I'm sorry I don't understand the word "Dit". DIT == Directory Information Tree > If you mean the account name of linux, yes there is a user "root". > And all I did is under the root account. The question is if you have a user root inside your LDAP directory, not the root in passwd/shadow. Kind regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG7nkQCj65ZxU4gPQRCB/hAKCi/2WT082Kdw5ZFJ38ac46bCgAOQCgzW0G rJOos1rPDTsoHQId7uqTmRo= =GeHM -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
