Question : LDAP in rhel

Dear Experts:

I am looking for the following requirement  in the same server:

1. Ftp authentication  with ldap server
2. Mail server authentication with ldap server
3. samba server authentication with the ldap server

But the password for each of the above service should be different i mean the users of the each  service should be using the LDAP authentication  but every should be authenticated with the different password

for example in mysql  we can create different database for different application so that application1 users db1 for auth similarly application2 can use the db2 for the authntication.

Is this possible please suggest me and also request to provide the how to dos for doing this. thanks in advance.  

Answer : LDAP in rhel

OK... let's first review what LDAP is used for (actually, DESIGNED to be used for) in a computing environment.

At its core, LDAP is just a database with an extensible structure. However, when used for authentication, LDAP is ideal for environments who want a "single-sign-on" -- precisely the OPPOSITE of what you've asked for above!

Now theoretically, you could BUILD an FTP, Mail, & Samba system that would use LDAP, but NOT use the authentication that was put there by Windows (or any other "standard" LDAP client)... but that would be a LOT of extra work... and based upon the fact that you asked this question to begin with, probably far beyond what you're looking to do.

Consider as an alternative using MySQL as your access database for each of these:

1) Details on running an FTP server with MySQL backend can be found at
    http://www.digitalnerds.net/featured/vsftpd-with-mysql-backend/

2) Details on running a mail server with MySQL backend can be found at various places, depending upon your mail server... so, in order of their purported popularity on the Internet as a whole:
    SendMail: http://sourceforge.net/projects/sendmail-sql/
    QMail: http://www.qmailtoaster.com (or more generically: http://www.bowe.id.au/michael/isp/vpopmail-mysql.htm)
    Postfix: http://www.postfix.org/MYSQL_README.html
    Exim: http://www.howtoforge.com/exim-mysql-cyrus-imapd-horde-centos5.1

3) Details on running a samba server with a MySQL server backend can be found at:
    http://pdbsql.sourceforge.net/pdb_mysql.html

Hope this helps!

Dan
IT4SOHO
Random Solutions  
 
programming4us programming4us