適切に使用していない可能性がありますが、LDAP クエリ句 member-of を使用してグループのメンバーを検索しています。以下のコードは次のとおりです。
ldap_set_option($conn,LDAP_OPT_PROTOCOL_VERSION,3);
$searchText= "ou=Aston University,dc=blackboard,dc=com";
$regdn = "memberof=$searchText";
$regfilter = "cn=$searchText*";
$nodes = array("cn","street","mail","uidNumber");
$searchRead = ldap_search($conn,$regdn,$regfilter,$nodes);
$en = ldap_get_entries($conn,$searchRead);
多数のエントリがある場合、エントリがゼロになっているようです。私は何を間違っていますか?