Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: pmiranda on November 11, 2004, 07:53:52 PM

Title: LDAP search weird behaviour?
Post by: pmiranda on November 11, 2004, 07:53:52 PM
I have a strange problem with the SME 6.0.1-01 LDAP Server: it does not retrieves group records.

In other words, if I issue the command
Code: [Select]
ldapsearch -h localhost -x I get a listing of both users and group records;

if I issue the command
Code: [Select]
ldapsearch -h localhost -x objectClass=person the listing contains usernames only;

But if I issue the command
Code: [Select]
ldapsearch -h localhost -x objectClass=group the listing is empty: the groups that were listed in the unfiltered query are not present.

This behaviour brokes a PHP script I used to generate a page with all the email addresses available on the system.

What I am missing? Can anyone help me?

Thanks in advance...