Re: LDAP lookup question(are accounts still need to be present in the system?)

From: Tony Earnshaw (no email)
Date: Mon Aug 01 2005 - 05:32:07 EDT

  • Next message: Christian Gayton: "Reject email from a single address"

    man, 01.08.2005 kl. 08.59 skrev jay alvarez:

    > I just finished reading the instructions on
    > postfix-ldap howto, and found out that the web only
    > shows how to configure ldap for virtual domain/address
    > lookups only. Is there an ldap setup for postfix
    > wherein user's doesn't have an actual account in the
    > machine and also, such that their usernames and
    > passwords as well as mailbox directories will be
    > querried from ldap?

    Yes, my site's using such a setup - however, since users have login
    accounts on other machines in the network than the Postfix server, all
    users have Posix UIDs and GIDs. This last isn't necessary, though, for
    Postfix using LDAP-based accounts (see VIRTUAL_README.html).

    > As far as I can understand the
    > Postfix LDAP Howto, only aliases are being retrieve in
    > the ldap but the mail will always end up into an
    > actual user account in the machine where ldap is
    > running..

    1: It's not so that only aliases are possible;
    2: LDAP doesn't have to be running on the same machine that the users'
    accounts are on.

    > Any idea? Thanks!

    I'm not sure what your problem is. LDAP lookups are exactly the same as
    other table lookups - the basic idea is that a key/value pair is
    returned for any lookup. All that's different is the way that it's done.

    --Tonni

    -- 
    mail: 
    http://www.billy.demon.nl
    

  • Next message: Christian Gayton: "Reject email from a single address"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD