forked from openfrontier/nexus-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathldap.xml.template
24 lines (24 loc) · 909 Bytes
/
ldap.xml.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<ldapConfiguration>
<version>2.8.0</version>
<connectionInfo>
<searchBase>{SLAPD_DN}</searchBase>
<authScheme>none</authScheme>
<protocol>ldap</protocol>
<host>{LDAP_HOST}</host>
<port>389</port>
</connectionInfo>
<userAndGroupConfig>
<emailAddressAttribute>mail</emailAddressAttribute>
<ldapGroupsAsRoles>true</ldapGroupsAsRoles>
<groupBaseDn>ou=groups</groupBaseDn>
<groupIdAttribute>cn</groupIdAttribute>
<groupMemberAttribute>memberUid</groupMemberAttribute>
<groupMemberFormat>${username}</groupMemberFormat>
<groupObjectClass>posixGroup</groupObjectClass>
<userIdAttribute>uid</userIdAttribute>
<userObjectClass>inetOrgPerson</userObjectClass>
<userBaseDn>{LDAP_ACCOUNTBASE}</userBaseDn>
<userRealNameAttribute>displayName</userRealNameAttribute>
</userAndGroupConfig>
</ldapConfiguration>