[PHP] ldap_read() and 'No such object'

2003-03-29 Thread Turbo Fredriksson
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);

[PHP] ldap_read() and 'No such object'

2003-03-26 Thread Turbo Fredriksson
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);