with the help of my colleagues, we found the problem.
The problem is related with the error "LDAP Domain not found"
In the LDAPUtils.cs class from the ASC.ActiveDirectory library, you assume that the LDAP Domain contain necessarily DC attribute (line 43) :
Code: Select all
private static readonly Regex DcRegex = new Regex("dc=([^,]+)", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
Code: Select all
uid=toto,ou=people,ou=example,ou=lorem,o=ipsum, c=fr
Code: Select all
private static readonly Regex DcRegex = new Regex("(dc|ou)=([^,]+)", RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
Could you, please, fix this rapidly ?
Thanks a lot,
Yoann.