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

Re: Defining search depth for mod_ldap.



Am Tue, 25 Jun 2013 15:56:25 +0530
schrieb Mangesh Sawant <m.v.sawant@gmail.com>:

> Hi,
> 
> when searching a user mod_ldap returns only parent node attributes.
> Is there any setting so that search will return parent node
> attributes as well.
> 
> LDAP URS is as follows:
> LdapUrl=ldap://
> 172.16.100.237/ou=radiusUserProfile,dc=mtnl,dc=com?uid,userPassword,cn,sn?
> 
> Here I could get back only uid,userPassword.
> cn and sn were blank, which are attributes of child nodes.

You should add a scope value, see RFC 4516


-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53Â37'09,95"N
10Â08'02,42"E