Hello Russell Coker <[EMAIL PROTECTED]>,

I installed libnss-ldap in woody, copied 
/usr/share/doc/libnss-ldap/examples/nsswitch.ldap
to /etc/nsswitch.conf.


in /etc/libnss-ldap.conf, the remote ldap server information is defined,
and /etc/nsswitch.conf defines that:

# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd:         files ldap
group:          files ldap

So it will authenticate the files then, if fails, ldap server, right?

OK. So I added a user "james" on the remote ldap server with some
attributes like uid, uidnumber, loginshell and userpassword,etc. But I
didn't add "james" in my local OS. However, when I ssh my local machine
with account "james", it just doesn't work.

Is there anything I could have missed?



On Thu, 21 Mar 2002 17:37:31 +0100
Russell Coker <[EMAIL PROTECTED]> wrote:

> On Thu, 21 Mar 2002 16:53, axacheng wrote:
> > Does Anyone Know where i can find the OpenSSH+OpenLDAP implement
> >
> > documents in the internet??
> 
> Just use the PAM LDAP support and configure /etc/pam.d/ssh appropriately.
> 
> But first try nss-ldap as it's slightly easier to setup and has all the same 
> config file formats etc.
> 
> -- 
> If you send email to me or to a mailing list that I use which has >4 lines
> of legalistic junk at the end then you are specifically authorizing me to do
> whatever I wish with the message and all other messages from your domain, by
> posting the message you agree that your long legalistic sig is void.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh <[EMAIL PROTECTED]>

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg

Reply via email to