[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: solaris 8 client can't contact openldap server

Are you getting any errors relating to LDAP in /var/log/syslog or
/var/adm/messages?    What about /var/ldap/cachemgr.log.

Also, you may have better luck with the pam_ldap & nss_ldap modules
from http://www.padl.com.  I chose to use them because they are alot
easier to setup than the solaris ldapclient and I can use the same PAM
modules on my linux boxes as well.

This is the steps I was required to make to compile on Solaris
9..your's will probably be similar.

cd src dir
./configure --with-ldap-lib=openldap
mkdir pam_ldap/.deps
- edit makefile and remove the following lines	
	DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
	 -include $(DEP_FILES)
- edit makefile and remove "-B group"
- make
- make install

Edit /etc/ldap.conf to your liking.  This is only for the PAM stuff.  

On Fri, 25 Jun 2004 05:06:56 -0700 (PDT), Lara Adianto
<m1r4cle_26@yahoo.com> wrote:
> Hello,
> I've followed the steps in
> http://www.ypass.net/solaris8/openldap/configuringsolaris.html
> to setup solaris 8 to authenticate to openldap server.
> but /usr/bin/listusers only lists the users in
> /etc/passwd.
> when I do ldapsearch, I got:
> ldap_simple_bind_s: can't contact ldap server
> but pinging the server works
> Anybody can help me to solve this problem ?
> Btw I'm using native ldap, without TLS/SSL ( will
> include this after the basic works)
> -lara-
> =====
> ------------------------------------------------------------------------------------
> La vie, voyez-vous, ca n'est jamais si bon ni si mauvais qu'on croit
>                                                                        - Guy de Maupassant -
> ------------------------------------------------------------------------------------
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com