======================================== QMAIL-LDAP + AD INTEGRATE ======================================== * Objective Authenticate Windows AD Server with qmail-ldap. * System tested Windows 2003 Server with SP2 OpenSuse Linux-10.2 and Ubuntu 6.10 qmail-ldap-1.03-20060201.patch * Install process First install Windows 2003 Server, and after finish installation, install SFU (MS Services for Unix) with NIS support. After this add new user in AD and in new tab "Unix Attributtes" choose the domain and click in OK. Change again the user password. FINISH :-) Now in you linux system, see the steps of site http://www.qmail-ldap.org/wiki/Full_Installation_Guide. In step "Basic Qmail Installation" After apply qmail-ldap patch. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cd /usr/local/src wget http://200.4.48.8/pub/mail-tools/qmail/dist/qmail-1.03.tar.gz wget http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz tar xvfz qmail-1.03.tar.gz cd qmail-1.03 zcat ../qmail-ldap-1.03-20060201.patch.gz | patch -p1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Apply my patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cd /usr/local/src/qmail-1.03 patch -p1 < /var/src/qmail-ad.patch patching file Makefile patching file qmail-ldap.h patching file qmail-ldaplookup.c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ And continue the steps from site. Finish :D ----------------------------------------------------------- My control files (my domain is test.com) ldapbasednldapdefaultdotmode cn=Users,dc=test,dc=com ldapdefaultdotmode both ldaplogin cn=Administrador,cn=Users,dc=test,dc=com ldapmessagestore /home/vmail ldapobjectclass User ldappassword mypass ldapserver (Ip address of AD) 192.168.2.11 ldapuid 11184 ldapgid 2110 --------------------------------------------------------- good luck Carlos Cesario carloscesario@gmail.com