I'm using ldap_read() to get the namingContexts from the LDAP
server.
- s n i p -
$sr = ldap_read($this-ldap_linkid, '', '(objectClass=*)', array('namingContexts'));
if(! $sr) die(Can't find base dn - .ldap_error($this-ldap_linkid));
$entry = ldap_get_entries($this-ldap_linkid, $sr);
I'm using ldap_read() to get the namingContexts from the LDAP
server.
- s n i p -
$sr = ldap_read($this-ldap_linkid, '', '(objectClass=*)', array('namingContexts'));
if(! $sr) die(Can't find base dn - .ldap_error($this-ldap_linkid));
$entry = ldap_get_entries($this-ldap_linkid, $sr);
2 matches
Mail list logo