Update ovpn-ad-sync.sh

This commit is contained in:
Josh North 2014-12-03 14:38:32 -05:00
parent 7f68c3e2df
commit c673ae5f92

View File

@ -2,7 +2,7 @@
# 2014-12-01
# Josh North - josh.north@point808.com
#
# ovpn-ad-sync
# ovpn-ad-sync.sh
#
# This script is a very rudimentary hack to fill my purpose. It may or may not
# work for you. It could also be put to use with LDAP with minimal
@ -21,8 +21,8 @@
# THE FOLLOWING VARIABLES MUST BE MODIFIED TO MATCH YOUR ENVIRONMENT OR BAD
# THINGS WILL HAPPEN!!!
OAS_ADUSR="SYS_OpenVPN@SUPPLIES.LOCAL" # user@domain.tld or full DN
OAS_ADPWD="whatthefreak!" # we will change this later
OAS_ADUSR="oas_user@EXAMPLE.COM" # user@domain.tld or full DN
OAS_ADPWD="oas_user" # we will change this later
OAS_ADBASE="dc=supplies,dc=local" # search base
OAS_ADURI="ldap://192.168.1.21" # full URI required
OAS_VPNGRP="cn=OpenVPNUsers,cn=Users,dc=supplies,dc=local" # full group DN