From: Brian S. <bri...@ed...> - 2001-05-22 22:55:18
|
The only way I've found I can retrieve an entry if the only thing I know = is the distinguished name is as follows: $dn =3D 'cn=3Dlast name,ou=3Dmessaging,o=3Deds,c=3Dus'; $result =3D $ldap->search( base =3D> $dn, scope =3D> 'base', filter =3D> '(objectclass=3D*)', callback =3D> \&Display, ); I can substitute other attributes for 'objectclass' provided a value = exists. Is there any other way? Seems like it should be easier than this, but = perhaps this isn't really that difficult... Regards, Brian Safford Consultant, Senior Perimeter Messaging EDS E.solutions Messaging Services |