LDAP Tester
Logging in ...
o_NTAuth = createObject("java", "jrun.security.NTAuth");
o_NTAuth.init(FORM.domainName);
// authenticateUser throws an exception if it fails
o_NTAuth.authenticateUser(FORM.userName,FORM.password);
done
failed
User Groups...
NTgroups = o_NTAuth.GetUserGroups(FORM.userName);
groups = arrayToList(NTgroups);
failed
All Groups...
o_domain = createObject("COM", "NTAdmin.NTContainerManagement");
aGroups = arrayNew(1);
aGroups = o_domain.EnumerateContainer(FORM.domainName,"GlobalGroup");
failed