[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    Re: [pamldap] pam_ldap and Solaris 8
From:       "Mark Lin" <linmark () hotmail ! com>
Date:       2001-01-23 17:46:14
[Download RAW message or body]

Hi,  I am having the same problem as the original poster except I never had 
it working in Solaris.  Here's my ldd result:

[aegir][root]:[/opt/mark/pam_ldap-99]# ldd /usr/lib/security/pam_ldap.so
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libldapssl41.so =>       /usr/local/ldapsdk/lib/libldapssl41.so
        libplc3.so =>    /usr/local/ldapsdk/lib/libplc3.so
        libplds3.so =>   /usr/local/ldapsdk/lib/libplds3.so
        libnspr3.so =>   /usr/local/ldapsdk/lib/libnspr3.so
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        libposix4.so.1 =>        /usr/lib/libposix4.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

By following instruction from David Begley, I was able to configure and 
compile it without problem.  I removed the SUNWlldap package that came with 
Solaris 8.  The debug info with syslogd is following:

Jan 23 12:22:25 ran slapd[22407]: [ID 100111 local4.debug] slapd starting
Jan 23 12:22:30 ran slapd[22407]: [ID 293980 local4.debug] daemon: conn=0 
fd=8 c
onnection from IP=10.0.1.102:51786 (IP=:: 389) accepted.
Jan 23 12:22:30 ran slapd[22407]: [ID 149773 local4.debug] conn=0 op=0 BIND 
dn="
" method=128
Jan 23 12:22:30 ran slapd[22407]: [ID 923667 local4.debug] conn=0 op=0 
RESULT ta
g=97 err=0 text=
Jan 23 12:22:30 ran slapd[22407]: [ID 562165 local4.debug] conn=0 op=1 SRCH 
base
="dc=macysnyc,dc=com" scope=2 filter="(&(objectClass=account)(uid=pame))"
Jan 23 12:22:30 ran slapd[22407]: [ID 307533 local4.info] ldbm: ==> 
set_cachesiz
e: method meaningless in shared environment
Jan 23 12:22:30 ran slapd[22407]: [ID 522057 local4.debug] conn=0 op=1 
SEARCH RE
SULT tag=101 err=0 text=
Jan 23 12:22:30 ran slapd[22407]: [ID 149773 local4.debug] conn=0 op=2 BIND 
dn="
UID=PAME,OU=PEOPLE,DC=MACYSNYC,DC=COM" method=128
Jan 23 12:22:30 ran slapd[22407]: [ID 923667 local4.debug] conn=0 op=2 
RESULT ta
g=97 err=0 text=
Jan 23 12:22:30 ran slapd[22407]: [ID 149773 local4.debug] conn=0 op=3 BIND 
dn="
" method=128
Jan 23 12:22:30 ran slapd[22407]: [ID 923667 local4.debug] conn=0 op=3 
RESULT ta
g=97 err=0 text=

---
Anyone knows where can I find out tag number such as tag=97 means?  It seems 
like it found the uid I input,but didn't authenticate the user.

Any help is greatly appreciated.
Mark


>From: Luke Howard <lukeh@PADL.COM>
>Reply-To: lukeh@PADL.COM
>To: smiley@tvdata.com
>CC: pamldap@padl.com
>Subject: Re: [pamldap] pam_ldap and Solaris 8
>Date: Sat, 13 Jan 2001 10:39:21 +1100
>
>
> >I have a few quick questions that I am hopeing  to get some help with.
> >First, I have installed pam_ldap on a Solaris 8 and Red hat 6.2 system
> >and both are working fine.  I now need to install it on another Soalris
> >8 box and I cannot seem to get it working.  I need to know how to get
> >some debugging info.  I am not sure what to add to syslog.conf in order
> >to get a /var/log/pamlog log for example.  Secondly I don't see that the
>
>*.debug 	/var/log/debug
>
> >box is even sending a request to the ldap server how can I tell if the
> >module is even being called?  I installed it in /lib/security and made
> >chainges to pam.conf and added an ldap.conf file...but no luck...any
> >info would be great..thanks.
>
>Be careful; Solaris 8 has its own PAM module. You probably want to
>back that up before installing ours'.
>
>Can it find all dependent libraries? Do ldd /lib/security/pam_ldap.so.
>
>-- Luke
>
>--
>Luke Howard | lukeh@padl.com
>PADL Software | www.padl.com

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic