Add LDAP manager bind DN and password
Benjamin Renard

Benjamin Renard commited on 2014-12-29 17:49:04
Showing 3 changed files, with 9 additions and 3 deletions.

... ...
@@ -1,7 +1,9 @@
1 1
 # Ldap properties
2
-ldap.host.1=ldap://ldap1.fr:389
3
-ldap.host.2=ldap://ldap2.fr:389
4
-ldap.basedn=uid=%u,ou=people,dc=univ,dc=fr
2
+ldap.basedn=ou=people,ou=people,dc=univ,dc=fr
3
+ldap.host.1=ldap://ldap1.univ.fr:389
4
+ldap.host.1=ldap://ldap2.univ.fr:389
5
+ldap.manager.dn=uid=cas,ou=sysaccounts,dc=univ,dc=fr
6
+ldap.manager.password=secret
5 7
 
6 8
 # file authenticate layer
7 9
 passfile.encode-algo=MD5
... ...
@@ -30,6 +30,8 @@
30 30
 				<value>${ldap.host.2}</value>
31 31
 			</list>
32 32
 		</property>
33
+		<property name="userDn" value="${ldap.manager.dn}"/>
34
+		<property name="password" value="${ldap.manager.password}"/>
33 35
 		<property name="baseEnvironmentProperties">
34 36
 			<map>
35 37
 				<!-- 
... ...
@@ -26,6 +26,8 @@ cas.authHandlers=@cas.authHandlers@
26 26
 ldap.host.1=@ldap.host.1@
27 27
 ldap.host.2=@ldap.host.2@
28 28
 ldap.basedn=@ldap.basedn@
29
+ldap.manager.dn=@ldap.manager.dn@
30
+ldap.manager.password=@ldap.manager.password@
29 31
 
30 32
 #FILE auth configuration
31 33
 passfile.encode-algo=@passfile.encode-algo@
32 34