Skip to content

Instantly share code, notes, and snippets.

@bkmeneguello
Created September 3, 2015 14:16
Show Gist options
  • Save bkmeneguello/b69c677e94ace2030c2c to your computer and use it in GitHub Desktop.
Save bkmeneguello/b69c677e94ace2030c2c to your computer and use it in GitHub Desktop.
SVN LDAP auth with SASL
apt install sasl2-bin
sudo usermod -aG sasl svn
/etc/default/saslauthd
-START=no
+START=yes
-MECHANISMS="pam"
+MECHANISMS="ldap"
/etc/saslauthd.conf
ldap_servers: ldap://10.42.12.31
ldap_auth_method: fastbind
ldap_filter: uid=%U,ou=Users,dc=objective,dc=com,dc=br
/usr/lib/sasl2/svn.conf
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment