FreeBSD 5.2.1, SAMBA 2.2.8, OpenLDAP 2.2.5, Courier-IMAP 2.2.1

Jon Noack noackjr at
Sun Apr 25 19:28:59 PDT 2004

Free BSD wrote:
> Dear All
> Hello. I had been trying to set up a centralized authentication system 
> in my box with the above softwares. Currently I am using LDAP backend to 
> authenticate Samba, and both users and WorkStations can identify 
> themselves and log in to the DOMAIN flawlessly. They can both log in 
> through the LDAP authentication via Samba and access their respective 
> shares. But I seem to be failing in trying to authenticate the 
> Courier-IMAP via the LDAP.
> Samba is authenticating through OpenLDAP backend (with roaming profile, 
> etc.). No problem at that end. But even though I am modifying the pop3, 
> pop3.cnf and file, I don't seem to be able to connect to 
> the server via Courier.
> <snip>

Did you build Courier-IMAP with LDAP support?

 From ports/mail/courier-imap/Makefile:
# options available:
# WITHOUT_OPENSSL:              Don't build in TLS support
# WITHOUT_PAM:                  Don't build in PAM support
# WITHOUT_AUTHDAEMON            Don't build the authdaemon
# WITH_CRAM:                    Build in CRAM-MD5 authentication support
# WITH_VPOPMAIL:                Build in vpopmail support
# WITH_MYSQL:                   Build in mysql support
# WITH_POSTGRESQL:              Build in postgresql support
# WITH_LDAP:                    Build in ldap support with openldap
# WITH_FAM:                     Build in fam support for IDLE command
# WITH_DRAC:                    Build in DRAC support
# WITH_TRASHQUOTA:              Include deleted mails in the quota
# WITH_GDBM:                    Use gdbm files instead of bdb

Jon Noack

More information about the freebsd-current mailing list