RE: directory based LDAP authentication?

"Arthur DiSegna" <[email protected]> Mon, 23 Jan 2006 14:35:10 -0500
Newsgroups gmane.network.pureftpd.user
Message-ID <B584AAC32ED8DE49A8EAD2CF3D847FE00222536F@auth-fl-mail1.commandsoftware.com>
=20
When you type "Which means that it uses the UID & GID numbers retrieved
via LDAP, for deciding access rights for users. These are set on the FTP
server for the user."=20

Does this mean I will have to have accounts on the FTP server to
coincide with UID & GID numbers retreived from LDAP? The Directory has
75,000 user objects.

Thanks

-----Original Message-----
From: Rajat Upadhyaya [mailto:[email protected]]=20
Sent: Monday, January 23, 2006 12:40 AM
To: [email protected]
Subject: Re: [pureftpd] directory based LDAP authentication?


>>> "Arthur DiSegna" <[email protected]> 1/21/2006 7:20 pm >>>

>>> Once logged in they're allowed to all directories on the ftp server
unless I use local permissions to prevent=20
>>>it. What I need is to have the user authenticate when logging in to
the FTP server as well as the FTP server >>>check their group membership
when trying to access folders.
>>>Will pureftpd do this?

AFAIK, yes. Pure-FTPd not only authenticates a user, using the directory
over LDAP, but also performs the authorization process using the same
backend. Which means that it uses the UID & GID numbers retrieved via
LDAP, for deciding access rights for users. These are set on the FTP
server for the user. Once these are set, the file system takes care of
checking the rights.

Form what you say in the mail, I presume you are using eDirectory. In
that case, I am not very sure that the authentication part will work
properly. From the code, I can tell that this is because Pure-FTPd tries
to retrieve the user's hashed password via LDAP, but eDirectory does not
permit this for security reasons. So the authentication will probably
fail. The authorization part will work properly, but will not succeed
owing to the failure of authentication. I suppose you will need to try
this out further.

Regards,
Rajat
=20



---------------------------------------------------------------------
To post a new message, e-mail: [email protected] To unsubscribe, e-mail:
[email protected] For additional commands, e-mail:
[email protected]



---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]