You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/25 16:53:07 UTC

[whimsy.git] [1/1] Commit 2ed6b19: reset ldap connection

Commit 2ed6b19868bda8987647393f89b027033c0cf0e2:
    reset ldap connection


Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/secretary/workbench/file.cgi                             | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/secretary/workbench/file.cgi b/www/secretary/workbench/file.cgi
index a3a7885..0edb901 100755
--- a/www/secretary/workbench/file.cgi
+++ b/www/secretary/workbench/file.cgi
@@ -395,7 +395,7 @@ _json do
     cmd, group, availid = @cmd, @group, @availid
     _html html_fragment {
       _pre cmd, class: '_stdin'
-      ldap = ASF.init_ldap
+      ldap = ASF.init_ldap(true)
       ldap.bind("uid=#{$USER},ou=people,dc=apache,dc=org", $PASSWORD)
 
       ldap.modify "cn=#{group},ou=groups,dc=apache,dc=org",