Changes between Version 1 and Version 2 of campuswifiandeduroam2023Agenda/pwdca


Ignore:
Timestamp:
Jul 23, 2024, 12:03:34 PM (2 months ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • campuswifiandeduroam2023Agenda/pwdca

    v1 v2  
    188188}}}
    189189
    190 
     190'''LDAP Parameters'''
     191
     192Use an LDAP URI to configure the location of your LDAP server in $ldap_url:
     193
     194{{{
     195$ldap_url = "ldap://localhost:389";
     196}}}
     197
     198You can set several URI, so that next server will be tried if the previous is down:
     199
     200{{{
     201$ldap_url = "ldap://server1 ldap://server2";
     202}}}
     203
     204To use SSL, set ldaps in the URI:
     205
     206{{{
     207$ldap_url = "ldaps://localhost";
     208}}}
     209
     210To use StartTLS, set true in $ldap_starttls:
     211
     212{{{
     213$ldap_starttls = true;
     214}}}
     215
     216'''Credentials'''
     217
     218Configure DN and password in $ldap_bindn and $ldap_bindpw:
     219
     220{{{
     221$ldap_binddn = "cn=manager,dc=example,dc=com";
     222$ldap_bindpw = "secret";
     223}}}
     224
     225'''LDAP Base'''
     226
     227You can set global base in $ldap_base:
     228
     229{{{
     230$ldap_base = "dc=example,dc=com";
     231}}}
     232
     233'''User search parameters'''
     234
     235You can set base of the search in $ldap_user_base:
     236
     237{{{
     238$ldap_user_base = "ou=users,".$ldap_base;
     239}}}
     240
     241The filter can be set in $ldap_user_filter:
     242{{{
     243$ldap_user_filter = "(objectClass=inetOrgPerson)";
     244}}}
     245
     246'''Size limit'''
     247
     248It is advised to set a search limit on client side if no limit is set by the server:
     249
     250{{{
     251$ldap_size_limit = 100;
     252}}}
     253
     254'''Default password policy'''
     255
     256Set $ldap_default_ppolicy value if a default policy is configured in your LDAP directory.
     257
     258{{{
     259$ldap_default_ppolicy = "cn=default,ou=ppolicy,dc=example,dc=com";
     260}}}
     261