Your dn is wrongly set.
You also need to configure /etc/pam-ldap.conf
Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com

-----Original Message-----
From: Anil Mare <[EMAIL PROTECTED]>
To: mukund <[EMAIL PROTECTED]>
Date: Monday, December 24, 2001 5:57 PM
Subject: Re: [LIH] Re: LDAP


>helo shanu,
>if u r using pam_ldap authentication, then can u tell me the eason
>for the following error to me....
>-------
>Dec 24 18:03:16 pune login: pam_ldap: ldap_search_s No such object
>-------
>
>bye
>
>Anil
>
> --- mukund <[EMAIL PROTECTED]> wrote: > In fact I was
>trying out courier imap login via ldap, and since
>> that was not
>> working, testing ftpd.
>> Now courier login via ldap succeeded, still stuck up at ftp.
>>
>> >
>> >Does the user entry have posixAccount and posixGroup object
>> classes?
>>
>>
>> Yes both are there. In fact i have used migration scripts from
>> www.padl.com
>> which convert /etc/passwd to ldif file.
>>
>> >
>> >> 2. I have loaded pam-ldap library and installed in
>> /lib/security/
>> >
>> >Is /etc/pam_ldap.conf and libnss_ldap.conf set up correctly?  Does
>> >"getent passwd" return the LDAP Unix accounts?
>>
>>
>> yes both are correctly set
>> getent passwd - I will try.
>>
>> >
>> >> 3. I have modified ftp entry in /etc/pam.d/ for ldap library.
>> >
>> >$ shanu@godzilla:~$ cat /etc/pam.d/wu-ftpd
>> >auth    required pam_listfile.so item=user sense=deny
>> >file=/etc/wu-ftpd/ftpusers onerr=succeed
>> >auth    sufficient pam_ldap.so
>> >auth    required pam_unix.so
>> >auth    required pam_shells.so
>> >account sufficient pam_ldap.so
>> >account required pam_unix.so
>> >session sufficient pam_ldap.so
>> >session required pam_unix.so
>>
>>
>> Since i do not authentication from/etc/passwd, i made required
>> pam_ldap.so
>> for auth and account.
>>
>>
>> >
>> >> When I try to login to ftp, the authentication failure message
>> comes
>> before
>> >> password prompt.
>> >
>> >Check /var/log/auth.log for any pam related errors!
>>
>>
>> Surprisingly i am not getting any pam error.
>>
>> >> Any idea what is left out?
>> >
>> >Lots. :)
>> >
>> >-- Shanu
>> >
>>
>>
>>
>>
>> _______________________________________________
>> linux-india-help mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>=====
>Anil Mare
>
>________________________________________________________________________
>For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
>                Visit http://in.finance.yahoo.com/
>



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to