Update ovpn-ad-sync.sh
This commit is contained in:
parent
7f68c3e2df
commit
c673ae5f92
@ -2,7 +2,7 @@
|
|||||||
# 2014-12-01
|
# 2014-12-01
|
||||||
# Josh North - josh.north@point808.com
|
# 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
|
# 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
|
# 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
|
# THE FOLLOWING VARIABLES MUST BE MODIFIED TO MATCH YOUR ENVIRONMENT OR BAD
|
||||||
# THINGS WILL HAPPEN!!!
|
# THINGS WILL HAPPEN!!!
|
||||||
OAS_ADUSR="SYS_OpenVPN@SUPPLIES.LOCAL" # user@domain.tld or full DN
|
OAS_ADUSR="oas_user@EXAMPLE.COM" # user@domain.tld or full DN
|
||||||
OAS_ADPWD="whatthefreak!" # we will change this later
|
OAS_ADPWD="oas_user" # we will change this later
|
||||||
OAS_ADBASE="dc=supplies,dc=local" # search base
|
OAS_ADBASE="dc=supplies,dc=local" # search base
|
||||||
OAS_ADURI="ldap://192.168.1.21" # full URI required
|
OAS_ADURI="ldap://192.168.1.21" # full URI required
|
||||||
OAS_VPNGRP="cn=OpenVPNUsers,cn=Users,dc=supplies,dc=local" # full group DN
|
OAS_VPNGRP="cn=OpenVPNUsers,cn=Users,dc=supplies,dc=local" # full group DN
|
||||||
|
Loading…
Reference in New Issue
Block a user