I am trying to use the full DN of an entry as search filter not just the RDN. I can't
seem
to get the syntax correct.
I have tried the following:
$entry = $conn->search($BASE, "subtree", "(owner=uid=foo7,ou=Re
gional Offices,ou=People,o=foo.org)");
or
$entry = $conn->search($CHIMCHIMBASE, "subtree", "(dn=$olddn)");
where $olddn is
either:
$uid=foo7;
$olddn="(uid=$uid,ou=Regional Offices,ou=People,o=foo.org)";
#$olddn="uid=$uid,ou=Regional Offices,ou=People,o=foo.org";
What is the correct syntax for a search filter using the full DN?
Thanks,
Ken
Sorry if this is a newbie RTFM question....