I am trying to use e.g. the search_s
function to search for an object based on its full distinguished name, but am not finding this to be convenient. For example,
search_s('DC=example, DC=com', ldap.SCOPE_SUBTREE,
'(CN=Somebody, OU=Department, DC=example, DC=com)')
How do I just retrieve one object based on its full LDAP distinguished name?