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

Re: need some help with pam_ldap



Fabrice Nouet wrote:
> 
> yes my /etc/nsswitch.conf has changed like this:
> 
> passwd: ldap
> shadow: ldap
> group: ldap
> 
> but not ldap log appears when I try ftp or telnet
> 
> ..... ?????
> 
> >From: Tomas Hornicek <hornicek@globtel.sk>
> >To: openldap-software@OpenLDAP.org
> >Subject: Re: need some help with pam_ldap
> >Date: Wed, 14 Nov 2001 11:56:05 +0100
> >
> >Hello
> >
> >On Wed, Nov 14, 2001 at 11:40:48AM +0100, Fabrice Nouet wrote:
> > > and I used the debug mode for ldap (slapd -d 256)
> > >
> > > when I tried to log on (telnet using fuser) or ftp (ftp using fuser)
> >nothing
> > >
> > > appear in my ldap log !!!
> >
> >
> >amnd what about you nsswitch.conf?
> >you have to specify where is user looking for
> >
> > >
> > > Thanks in advance !
> > > fabrice
> > >
> >
> >                               Dumber
> >
> >--
> >------------------------------------------------
> >Sure, I'm paranoid! But am I paranoid enough? ;)
> >Tomas Hornicek
> >Operation & Maintenance Administration
> >Globtel a.s., member of the Orange Group
> >hornicek@globtel.sk
> >
> >- - - - - BEGIN GEEK CODE BLOCK - - - - -
> >Version: 3.12
> >http://www.geekcode.com
> >GCS/IT d- s+:+ a-- C++ UL++++$B++++S++++$ P- L+++
> >E--- W+++ N++ !o K- w O M- V- PS !PE Y PGP+++ !t
> >!5 X !R tv-- b+ DI D+ G e h* r- y+
> >- - - - - END GEEK CODE BLOCK - - - - -
> >
> ><< attach3 >>
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Have you put something like this in /etc/syslog.conf

# open ldap logging
local4.err              /path/to/ldap.log
local4.debug            /path/to/ldap.log
local4.notice           /path/to/ldap.log
local4.alert            /path/to/ldap.log

(white spaces are tabs), and restart syslogd.
-- 
Dave
--
Dave Lewney
Principal Systems Programmer, Computing Service
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273
271956