From f6d86cd55666568b6923f48690aae6def9efccfc Mon Sep 17 00:00:00 2001
From: Zack Wong <coffee@ucc.asn.au>
Date: Wed, 6 Feb 2019 15:26:48 +0800
Subject: [PATCH] updated sample config

---
 src/gms/settings_local.example.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gms/settings_local.example.py b/src/gms/settings_local.example.py
index 89de59e..e5de56e 100644
--- a/src/gms/settings_local.example.py
+++ b/src/gms/settings_local.example.py
@@ -44,6 +44,11 @@ LOG_FILENAME = os.path.join(ROOT_DIR, "django.log")
 import ldap
 from django_auth_ldap.config import LDAPSearch, ActiveDirectoryGroupType, LDAPGroupQuery
 
+# LDAP admin settings
+LDAP_USER_SEARCH_DN = 'CN=Users,DC=ad,DC=ucc,DC=gu,DC=uwa,DC=edu,DC=au'
+LDAP_BIND_DN = ""
+LDAP_BIND_SECRET = ""
+
 # this could be ad.ucc.gu.uwa.edu.au but that doesn't resolve externally -
 # useful for testing, but should be changed in production so failover works
 AUTH_LDAP_SERVER_URI = 'ldaps://samson.ucc.gu.uwa.edu.au/'
-- 
GitLab