summaryrefslogtreecommitdiff
path: root/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2023-05-10 15:58:06 +0200
committerrebortg <github@ghlr.de>2023-05-10 15:58:44 +0200
commit6c0917208c59d11e0e00ec247756734a80321e67 (patch)
tree250d9307e76b7811ec27e6c93052e9216230d53e /docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config
parent54b34091f439c57f666ec17ab8b5a8f430634ecb (diff)
downloadvyos-documentation-6c0917208c59d11e0e00ec247756734a80321e67.tar.gz
vyos-documentation-6c0917208c59d11e0e00ec247756734a80321e67.zip
Configexample: migrate openvpn-ldap to autotest
Diffstat (limited to 'docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config')
-rw-r--r--docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config b/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config
new file mode 100644
index 00000000..0ae3dbc0
--- /dev/null
+++ b/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config
@@ -0,0 +1,13 @@
+<LDAP>
+URL ldap://192.168.1.10
+BindDN bind_user@vyos.local
+Password P4ssw0rd123
+Timeout 15
+TLSEnable no
+FollowReferrals no
+</LDAP>
+<Authorization>
+BaseDN "DC=vyos,DC=local"
+SearchFilter "sAMAccountName=%u"
+RequireGroup false
+</Authorization> \ No newline at end of file