[PC-BSD Commits] r18402 - pcbsd/current/src-sh/pc-adctl/scripts

svn at pcbsd.org svn at pcbsd.org
Fri Aug 10 22:12:42 PDT 2012


Author: johnh
Date: 2012-08-11 05:12:42 +0000 (Sat, 11 Aug 2012)
New Revision: 18402

Modified:
   pcbsd/current/src-sh/pc-adctl/scripts/pc-ldap
Log:
Bugfix. Add ldap_init to ldap_status() so things work as expected.



Modified: pcbsd/current/src-sh/pc-adctl/scripts/pc-ldap
===================================================================
--- pcbsd/current/src-sh/pc-adctl/scripts/pc-ldap	2012-08-11 05:08:28 UTC (rev 18401)
+++ pcbsd/current/src-sh/pc-adctl/scripts/pc-ldap	2012-08-11 05:12:42 UTC (rev 18402)
@@ -134,6 +134,7 @@
 	local ldapwhoami=/usr/local/bin/ldapwhoami
 	local options=
 
+	ldap_init
 	local anonbind=$(ldap_get anonbind)
 	local rootbasedn=$(ldap_get rootbasedn)
 	local rootbindpw=$(ldap_get rootbindpw)



More information about the Commits mailing list