Courier Imap Working with Active Driectory .

 

LDAP_URI                                     ldap://<Address>:3268

LDAP_PROTOCOL_VERSION   3

LDAP_BASEDN                            cn=Users,dc=domain,dc=tld

LDAP_BINDDN                            <Email Address>

LDAP_BINDPW                            Secret

LDAP_TIMEOUT                         100

LDAP_AUTHBIND                      1

LDAP_MAIL                                 sAMAccountName

LDAP_GLOB_UID                       vmail

LDAP_GLOB_GID                       vmail

LDAP_HOMEDIR                        sAMAccountName

LDAP_MAILROOT                     /home/vmail

LDAP_MAILDIR                         mailbox

LDAP_DEFAULTDELIVERY    defaultDelivery

LDAP_FULLNAME                    cn

LDAP_CRYPTPW                       userPassword

LDAP_TLS                                   0

 

Make Sure to Generate Cert. Authority on AD System and set port to 3268 like
in the example above.

 

LDAP_BIND Must be set to the email of the user you want to authenticate
with.

 

LDAP_MAIL and LDAP_HOMEDIR must be set to sAMAccountName

 

AD uses userPassword for Password Field so use that for Crypt Password

 

In imapd-ssl 

 

These must be turned on

 

 

IMAPDSSLSTART=YES

IMAPDSTARTTLS=YES

 

 

Authdaemonrc,

 

authmodulelist="authldap"

authmodulelistorig="authldap"

 

these 2 lines must be set like this

 

Also may want to export the CA in windows and transfer to courier machine
and set its path in the imapd.config

 

 

 

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to