1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

Improve LDAP tests and preview process

This commit is contained in:
sauls8t 2018-09-05 15:54:00 +01:00
parent 6e0958b3c3
commit ae084ae0bb
4 changed files with 702 additions and 697 deletions

View file

@ -29,8 +29,8 @@ var testConfigPublicAD = lm.LDAPConfig{
ServerPort: 389,
EncryptionType: lm.EncryptionTypeNone,
BaseDN: "DC=mycompany,DC=local",
BindDN: "CN=ad-admin,CN=Users,DC=mycompany,DC=local",
BindPassword: "8B5tNRLvbk8K",
BindDN: "CN=Mr Manager,CN=Users,DC=mycompany,DC=local",
BindPassword: "Pass@word1!",
UserFilter: "(|(objectCategory=person)(objectClass=user)(objectClass=inetOrgPerson))",
GroupFilter: "(|(cn=Accounting)(cn=IT))",
AttributeUserRDN: "sAMAccountName",