Thanks for replying. I will learn about service for unix.
I created other environment where I have the login (sAMAccountName) the same
as LHS of the email. The tree of Active directory don't have organizational
units. The LDAP_BASEDDN search in cn=users,dc=domain,dc=com.
How can I search in a "OU" enterprise?
The parameter "LDAP_BASEDN ou=enterprise,dc=domain,dc=com" is ok ?
So I changed the configuration and now is ok, but exist just one little
problem.
The path of the maildir stay "/var/vmail/user/user" instead of
"/var/vmail/user".
/$LDAP_MAILROOT/$LDAP_HOMEDIR/$LDAP_MAILDIR
/var/vmail -- sAMAccountName -- sAMAccountName
*#vi /etc/courier/authldaprc
(...)
LDAP_HOMEDIR sAMAccountName
LDAP_MAILROOT /var/vmail
LDAP_MAILDIR sAMAccountName
*
*# authtest user*
*Authentication succeeded.
Authenticated: user (uid 5000, gid 5000)
Home Directory: /var/vmail/user
Maildir: user
Quota: (none)
Encrypted Password: (none)
Cleartext Password: (none)
Options: (none)
*
Thanks,
Marco Túlio Oliveira de Moraes
2008/5/20 Gordon Messmer <[EMAIL PROTECTED]>:
> Marco Túlio wrote:
> >
> > LDAP_HOMEDIR '/var/vmail'
> > LDAP_MAILDIR CONCAT("/var/vmail/",mail)
>
> Neither of those are valid settings. You need to set LDAP_HOMEDIR to
> the name of an attribute that appears in your directory. That attribute
> must have the path to the account's home directory in it. You can't
> take examples from the SQL configuration files and expect them to work
> for LDAP. They won't.
>
> Since you're using AD, you may need to install Services For Unix if
> you're using anything prior to Windows 2003 R2. That version already
> has schema extensions for Unix clients.
>
> Once you've added SFU, or filled in the required LDAP attributes in AD,
> you need to make sure that all of the home directories exist on your
> Courier system, and that they contain a Maildir. Don't bother setting
> LDAP_MAILDIR unless you know what it does, and you must do that.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
-
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users