We implemented a SSL connection to the Windows AD. Qlik Sense Feb 21 Patch2
After doing some work with ceritficates it is now working essentially.
Connection String: LDAPS://hostname:636 is working properly.
In the script we load several attributes of usergroups from the Windows AD. This done via a loop and concatenate load of each group and users to a table. Curently 86 groups with a total of 300 users.
LIB CONNECT TO 'AD-Connector'
...
Load * ,'ACTIVE' as UserFlag ,cn as name ,sAMAccountName as "userid" ,'group' as "type" ,'$(vGroupName)' as "value"; SQL SELECT distinguishedName,cn,displayName,sAMAccountName,objectCategory,objectClass,mail,department FROM 'LDAP://hostname:636' WHERE memberOf='cn=$(vGroupName),ou=xxx_yy,ou=vvv_ww,dc=campus,dc=xxx,dc=de' and 'userAccountControl:1.2.840.113556.1.4.803:'<>2;
The script is starting to load the data from the AD. After some groups (different each time) it gets an error and stops the load. If you do a fast retry it usually works at the second or third time.