tech:svn_synchronisation_groupes_ldap
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:svn_synchronisation_groupes_ldap [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:svn_synchronisation_groupes_ldap [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # SVN synchronisation groupes LDAP | ||
| + | |||
| + | Voir | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | sudo apt-get install python-ldap | ||
| + | git clone https:// | ||
| + | cd sync-ldap-groups-to-svn-authz | ||
| + | ./ | ||
| + | ~~~ | ||
| + | |||
| + | `/ | ||
| + | ~~~ini | ||
| + | [groups] | ||
| + | goupe1 = jean, user1 | ||
| + | |||
| + | [DEPOT1:/] | ||
| + | @groupe1 = r | ||
| + | |||
| + | [DEPOT1:/ | ||
| + | @groupe1 = rw | ||
| + | ~~~ | ||
| + | |||
| + | `/ | ||
| + | ~~~apache | ||
| + | listen *:3695 | ||
| + | < | ||
| + | ServerAdmin postmaster@acme.com | ||
| + | # | ||
| + | ServerName | ||
| + | # | ||
| + | |||
| + | < | ||
| + | DAV svn | ||
| + | #SVNPath / | ||
| + | SVNParentPath / | ||
| + | SVNListParentPath on | ||
| + | # | ||
| + | AuthBasicProvider ldap | ||
| + | AuthType Basic | ||
| + | AuthName " | ||
| + | AuthLDAPURL " | ||
| + | AuthLDAPBindDN " | ||
| + | AuthLDAPBindPassword P@ssw0rd | ||
| + | AuthzSVNAccessFile / | ||
| + | |||
| + | require ldap-group CN=" | ||
| + | require ldap-user user1 | ||
| + | < | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | LogLevel warn | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | </ | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
