Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 16:52:02 +0700 (NSS)
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Oscar Bonilla <obonilla@fisicc-ufm.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: PAM & LDAP in FreeBSD
Message-ID:  <Pine.BSF.4.05.9907221651260.67018-100000@iclub.nsu.ru>
In-Reply-To: <19990716123648.C3049@fisicc-ufm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Fri, 16 Jul 1999, Oscar Bonilla wrote:

> Following up on my own post:
> 
> For LDAP to be seamlessly integrated into the system some of the libraries
> have to be changed. Specifically the ones dealing with /etc/passwd and
> user information. 
> 
> I've decided the best way to do this is to do what's done with NIS.
> Basically handle the case where the user is not available in the local
> databases. 
> 
> the idea is to have an entry in the /etc/passwd enabling LDAP lookups.
> the Entry would be of the form
> 
> ldap:*:389:389:o=My Organization, c=BR:uid:ldap.myorg.com
>        ^^^     ^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^
>         |                  |            |        |       
>        port            base dn        attr     LDAP Server
> 
> This comes ftom a pam_ldap module I got from Pedro A M Vazquez 
> <vazquez@iqm.unicamp.br>
> 
> I'll change all of the function in lib/libc/gen/getpwent.c to handle this
> special case.
> 
> The only problem is that openldap has to be integrated on the base system
> for this to compile... can I safely copy it to /usr/src/contrib?
> 
> How do I submit this after it's done? anyone cares about ldap :)?

aargh. looks horrible to me. better try to implement NSS

/fjoe



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907221651260.67018-100000>