[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Openldap Authentication
Am Thu, 23 Dec 2010 01:44:07 +0530
schrieb Sachin Bhugra <sachinbhugra@hotmail.com>:
>
> Hi All,
> I have configured a ldap server and trying to login to same ldap
> server using a ldap user. However, I am not able to login and getting
> the following in /var/log/secure:
[...]
> I can see that if I use the ldapsearch with same filter, I am not
> able to locate the user "ldapu1". However, if I change the filter to
> (|(objectClass=posixAccount)(uid=ldapu1))", it shows me the ldap user:
[...]
> [root@redhat5 ~]# ldapsearch -x -b "ou=Users,dc=homeldap,dc=com" -D
> "cn=Manager,dc=homeldap,dc=com" -W -H "ldap://127.0.0.1/"
> "(|(objectClass=posixAccount)(uid=ldapu1))"
[...]
> # ldapu1, Users, homeldap.com
>
> dn: cn=ldapu1,ou=Users,dc=homeldap,dc=com
>
> objectClass: inetOrgPerson
[...]
> Can someone please tell me where I have made a mistake?
objectclass: posixAccount is missing which you should add, but please
read on required attributes of this object class.
-Dieter
--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E