[Samba] nsswitch not working for ldap

Craig White craigwhite at azapple.com
Fri Nov 18 13:47:00 GMT 2005


On Fri, 2005-11-18 at 13:32 +0000, Tony Austin wrote:
> I am following the instruction in Samba by Example chapter 6 on a RHEL4
> server.  Everything seems OK until I get to 6.3.5.7, which says to do the
> following:-
> 
> root# getent passwd | grep Adminstrator
> 
> which returns nothing, indicating that the nsswitch (nss_ldap libary) is
> not working.
> 
> I cannot find anything in any of the log files to give my a clue nor any
> hints on how to debug this.
> 
> Any suggestions?
> 
----
redhat? version?

does 'by Example' really suggest using ldbm?

can you perform base search from command line?

ldapsearch -x -h localhost \
-D 'cn=Manager,dc=phoenixinteriorsltd,dc=com' \
-W '(objectclass=*)'

and get results?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list