or actually if you can keep the /etc/passwd /etc/shadow syncronised with
LDAP that would also do the trick. Perhaps with a script you can convert
/etc/passwd /etc/shadow into LDAP or only the changed accounts etc. or
even syncronise the add/remove user functions both in LDAP and in system
files.

Evren

On Wed, 4 Dec 2002, Simon White wrote:

> 04-Dec-02 at 20:23, jmc_cs ([EMAIL PROTECTED]) wrote :
> > 
> > 
> > Hi Simon,
> > ----- Original Message -----
> > From: "Simon White" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 04, 2002 7:23 PM
> > Subject: Re: Can LDAP be used to authenticate /etc/passwd ?
> > 
> > 
> > > 04-Dec-02 at 19:12, Sarick ([EMAIL PROTECTED]) wrote :
> > > > Hi all,
> > > > Can the LDAP be used to authenticate a user whose username and password
> > is
> > > > stored in /etc/passwd??
> > >
> > > How is the LDAP server going to read the username in /etc/passwd?
> > >
> > > Passwords are not stored in /etc/passwd, just usernames.
> > > Passwords are usually in /etc/shadow, YMMV
> > yes. My question is, can I use LDAP to authenticate the users who having the
> > accounts on Linux , with EAP-MD5 authentication?
> > That is, to read the usernames from /etc/passwd  and passwords from
> > /etc/shadow.
> > How?
> 
> You can't. You can store the hashes that are in shadow in LDAP probably.
> I think, however, that your approach is probably wrong.
> 
> -- 
> |-Simon White, Internet Services Manager, Certified Check Point CCSA.
> |-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
> |-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
> |-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to