[Samba] samba3+openldap:Problem during the LDAP search

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Wed Sep 19 15:16:52 GMT 2007

Hash: SHA256

Edmund Lin wrote, On 19-09-2007 00:04:
> Hi,
> I'm sorry that I'm new to LDAP. We used to use tdbsam as the passdb backend.
> I wish I had time to learn more about LDAP but I need to finish this in
> these few days. I just followed the steps from Samba guide chapter 5 and got
> stucked at the point of joining domain. I also use ldapsearch -x uid=root
> and see the root account's information. If this is not the right way, would
> you tell me how to check it and correct it?  I swear I will study LDAP in
> depth after I get through this. 

	You don't need to swear to us, I think Adam is more
concerned with you when he say that it needs "glue", otherwise
you probably will face some troubles finding where exactly is
the problem.

	ldapsearch is fine, but you should invest a couple of
hours to read the LDAP Administrator's Guide and a few bits
of the whole LDAP+Samba dance, it can save you hours of hitting
the head against the wall. :-)

> And I can use the root account/password to access the share 
> folders of the server without joining the domain.

	My guess is that you are missing the "admin" account
of the Domain. You should use 'net groupmap' or 'net rpc rights'
to give to the LDAP-root user the ability to join machines to
the domain.

	But looking for the error you sent in the previous message:
"logon failure:unknown user name or bad password", it seems that
there is still a problem with your account/password configs.

	Kind regards,
- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list