[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: UW-IMAP auth via PAM & LDAP



On Mon, 19 Mar 2001, Mike Coughlan wrote:

> Still trying to authenticate UW-IMAP via PAM & LDAP...
>
> Further grep on the maillog shows this error w/ authentification:
>
> Command stream end of file, while reading line user=mcoughlan
> host=[192.168.200.27]
> Mar 19 20:52:25 spawn imapd[28407]: imap service init from 192.168.200.27
> Mar 19 20:52:25 spawn imapd[28407]: pam_ldap: ldap_search_s No such object
>
> This makes sense becuase running LDAP with full debugging shows that it is
> looking to authenticate against a search base="DC=PADL,DC=COM" and a
> filter="(uid=MCOUGHLAN)"!?
>
> Does anyone know where this base search info is being set? Is it best to
> keep this default? Do I even have a choice?  How can I find what files were
> supplied by the pam ldap rpm? I hope there is a conf file that I missed.
>

You can find what files were supplied by the pam_ldap rpm by issuing "rpm
-ql packagename". If you did use the RPMs for pam_ldap then you should
probably have an /etc/ldap.conf file that includes the default base that
you need to change.