[sysadmin-bin] Really make use of the switch above



commit 96ac0e474378490b85dcec8c051fd11b4b170792
Author: Andrea Veri <av gnome org>
Date:   Tue Nov 5 08:39:00 2013 +0100

    Really make use of the switch above

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index f1ce2f2..140848c 100755
--- a/create-auth
+++ b/create-auth
@@ -38,7 +38,7 @@ else:
 
 ## first you must open a connection to the server
 try:
-    l = ldap.open("ldap.gnome.org")
+    l = ldap.open(ldap_server)
     l.simple_bind("cn=Manager,dc=gnome,dc=org")
 except ldap.LDAPError, e:
     print >>sys.stderr, e


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]