From owner-freebsd-current@FreeBSD.ORG Sun Apr 25 01:46:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB94616A4CE for ; Sun, 25 Apr 2004 01:46:51 -0700 (PDT) Received: from vfemail.net (node-423a570c.mwc.onnet.us.uu.net [66.58.87.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 644CD43D5D for ; Sun, 25 Apr 2004 01:46:51 -0700 (PDT) (envelope-from freebsd@vfemail.net) Received: (qmail 10395 invoked by uid 85); 25 Apr 2004 08:46:50 -0000 Received: from freebsd@vfemail.net by mail.vfemail.net by uid 0 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 2.193056 secs); 25 Apr 2004 08:46:50 -0000 Received: from unknown (HELO vfemail.net) (freebsd@vfemail.net@193.220.9.125) by node-423a570c.mwc.onnet.us.uu.net with SMTP; 25 Apr 2004 08:46:48 -0000 Message-ID: <408B7B8C.2040108@vfemail.net> Date: Sun, 25 Apr 2004 14:49:16 +0600 From: Free BSD User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 5.2.1, SAMBA 2.2.8, OpenLDAP 2.2.5, Courier-IMAP 2.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 08:46:51 -0000 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 authldaprc.sh file, I don't seem to be able to connect to the server via Courier. supposing, one of my user user1@testdom.org is trying to authenticate. I am trying this through telnet localhost 110 command, and the session goes like FreeBSD# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. +OK Hello there. user user1@testdom.org +OK Password required. pass user1 -ERR Login failed. Since I am unable to find any log file (the file /var/log/slapd.log is not updated, even though I have local4.debug /var/log/slapd.log entry in my /etc/syslogd.conf file) -- I am quite uncertain as what to do next. Attempts to capture packets yielded the following result When logging in through SAMBA, I see a lot of packets being exchanged. But when I try to connect through POP-3, there is not a single packet being exchanged. Appearently the Courier POP is not trying to connect to the LDAP server for authentication ? ? ? Any suggestion on what to check next? Can someone please help? Pointers to documents (not the Postfix Courier LDAP one, please) that can help is highly appreciated. Thanks.