diff --git a/Readme.md b/Readme.md index 6897f94..295dab1 100644 --- a/Readme.md +++ b/Readme.md @@ -4,6 +4,7 @@ Voir le fichier _protected.conf_ +⚠️ pensez à relancer le service httpd après modification de ce fichier ## Dokuwiki diff --git a/local.protected.php b/local.protected.php index 90afc29..7fde6aa 100644 --- a/local.protected.php +++ b/local.protected.php @@ -3,7 +3,7 @@ $conf['useacl'] = 1; //enable ACL $conf['authtype'] = 'authldap'; //enable this Auth plugin $conf['superuser'] = '@test' ; $conf['plugin']['authldap']['version'] = 3 ; -$conf['plugin']['authldap']['server'] = 'ldaps://plop1.formation.opendoor.fr' ; +$conf['plugin']['authldap']['server'] = 'ldaps://ldx1.formation.opendoor.fr' ; $conf['plugin']['authldap']['usertree'] = 'ou=users,dc=example,dc=fr'; $conf['plugin']['authldap']['grouptree'] = 'ou=groups;dc=example,dc=fr'; $conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAccount))'; diff --git a/protected.conf b/protected.conf index 70d7eca..ec820b3 100644 --- a/protected.conf +++ b/protected.conf @@ -1,8 +1,8 @@ - + AuthName "acces restreint" AuthType Basic AuthBasicProvider ldap - AuthLdapUrl ldaps://plop1.formation.opendoor.fr/dc=example,dc=fr?uid?sub?objectclass=posixaccount + AuthLdapUrl ldaps://ldx1.formation.opendoor.fr/dc=example,dc=fr?uid?sub?objectclass=posixaccount AuthLDAPBindDN uid=apache,ou=services,dc=example,dc=fr AuthLDAPBindPassword 123Soleil require valid-user