[Samba] Re: ldapsearch -x doesn't work for me

Michal Kurowski mkur at poczta.gazeta.pl
Tue Sep 13 14:48:47 GMT 2005


> >i can not use ldapsearch -x on my BDC Samba/openLDAP Server.
> >getent group shows me all database entries, but ldapsearch -x and a
> >ldapbrowser 2.8.2 from
> >http://www-unix.mcs.anl.gov/~gawor/ldap/download.html
> >, which can not be connected to BDC, but to the PDC, don't
> >work for me.
> >Any idea?

Sure but please note it has nothing to do with samba.

> 
> Is /etc/ldap.conf setup correctly?
> 
> Some apps search for /etc/openldap/ldap.conf or 
> /usr/local/etc/openldap/ldap.conf (you can make copies or symlinks). You 
> can also try to assign hostaddress, searchbase etc. with ldapsearch's 
> command line parameters directly.

To find out what is your ldapsearch searching for do:

 strings `which ldapsearch`  | grep \\.conf

Cheers,

-- 
Michal Kurowski
<mkur at poczta.gazeta.pl>




More information about the samba mailing list