[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SMTP Auth - Ldap server



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
> I'm trying to SMTP Auth, but the incoming mail server and the outgoing
> mail
> server are two different machines, that is, if I want the pop pass and the
> smtp pass to be the same, I need to sync the two passwd files. Mantaining
> the
> two different passwd files on the machines could lead to inconsistency, so
> I've thought the only way is installing a Ldap server.
>
> Do you know any other way to share passwd?

yp, nis, ... (but never used that)

> Do you know a howto to auth pop3 and smtp with ldap?

There are some possibilities: Use a pop and smtp server which works with
PAM, then you just have to drop your pam_ldap.so into the pam.d/ files..

If you use courier for pop/imap it can handle ldap natively, and postfix
for smtp can do this via sasl...

> And a howto transfer the passwd file to a ldap server?

I guess there are some existing scripts, but if you can't find one, it
should be a very short perl-script, some kind of splitting passwd-lines
and assigning rows to ldap-attributes and add them as whole object into
the directory...

regards
-- 
           \\\ ||| ///                               _\=/_
            (  @ @  )                                (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel      TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service          A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| markus.schabel@tgm.ac.at                   Tel.: +43(1)33126/316 |
| markus.schabel@members.fsf.org             Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|        oOOo        Yet Another Spam Trap:     oOOo               |
|       (    )    oOOo    yast@tgm.ac.at       (   )     oOOo      |
+--------\  (----(   )--------------------------\ ( -----(   )-----+
           \_)     ) /                            \_)      ) /
                  (_/                                     (_/

Computers are like airconditioners:
   They stop working properly if you open windows.



Reply to: