Re: LDAP search scope

Sam Varshavchik <[email protected]> Thu, 18 Oct 2012 18:10:29 -0400
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
nicolas.canceill writes:

> Hello every one,
>
> I am trying to add an LDAP address book my cone mail client. However, it  
> seems that the LDAP search request sent by cone uses a "base" scope instead  
> of the default "subtree" scope, which causes the LDAP server to return only  
> the base node which does not contain any e-mail address. As a result, my  
> newly created address book is empty.

That's just a test ping "objectClass=*" that you've logged, which gets  
executed when trying to add an addressbook, to verify that the LDAP scope is  
valid.

You need to set the LDAP search base to some record that exists, and a real  
search will use a subtree scope.


>
> Should this behavior be expected? How can I have a thinner control on the  
> LDAP search parameters used by cone?
>
> Here is the log:
>
> slapd[7852]: conn=1044 op=0 SRCH base="dc=my_domain,dc=my_tld" scope=0  
> deref=0 filter="(objectClass=*)"
> slapd[7852]: conn=1044 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
>
> (I have erased my domain name.) Notice the "scope=0" which means "base"  
> scope, instead of the default "scope=2" for "subtree". There is one entry  
> returned, which is my LDAP domain node, and does not contain any e-mail  
> address.
>
> Kind regards,
>
> Nicolas Canceill
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Courier-cone mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEABECAAYFAlCAflUACgkQx9p3GYHlUOJ4hQCfZRwxGmLbN3ryc3cCnicvhbMH
6c0An3DhWjwv/tDZQvSW6Ed4/7WuLpjQ
=J5BA
-----END PGP SIGNATURE-----