Using: ScriptCase 9.2.008, Windows Server 2012R2
I’m trying to configure my application to use LDAP using an LDAP Group. I have LDAP working and authenticating. The issue is that when I point the DN to the group and synchronize users, I get nothing. When I use the DN dc=domainname,dc=local I get all the users in the entire domain. I found this old post but I still cannot get it to work. I think this refers to the sc_ldap_search() function.
https://forum.scriptcase.net/forum/applications/control/4368-ldap-dn-and-group-configuration
I see that the “sec_sync_users” security application uses the below to get the users.
$arr_ldap = sc_ldap_users(‘all’, array(‘mail’, ‘displayname’, ‘cn’, ‘givenname’, ‘samaccountname’, ‘userprincipalname’, ‘uid’));
Does anyone know what other options that can be used in place of ‘all’ or any information about how sc_ldap_users() work? I am assuming this can be a valid filter, but I never seen a filter with just ‘all’.
Any help will be appreciated.