From: <CZa...@wi...> - 2002-03-27 18:20:33
|
I'm trying to do a search for based on the filter below, for all entries in the ldap service, but I am not getting output back. Can anyone tell me what is incorrect here? $mesg = $ldap->search( base => "o=Wiley", scope => "subtree", filter => "(&(sn=*) (givename=*) (mail=*))" ); foreach $entry ($mesg->entries) { $SN = $entry->get_value('sn'); $GN = $entry->get_value('givenname'); $M = $entry->get_value('mail'); print "$GN $SN $M\m"; |