Commit 9fb5127113e61d01c114569ad70c4e02faa8ecca:
    Bug

Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>

------------------------------------------------------------
lib/whimsy/asf/ldap.rb                                       | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index c1cc777..5f42113 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -123,7 +123,7 @@ def self.search_one(base, filter, attrs=nil)
     init_ldap unless defined? @ldap
     return [] unless @ldap
 
-    target = @ldap.get_option(LDAP::LDAP_OPT_HOST_NAME) rescue '?'
+    target = @ldap.get_option(::LDAP::LDAP_OPT_HOST_NAME) rescue '?'
     cmd = "ldapsearch -x -LLL -b #{base} -s one #{filter} " +
       "#{[attrs].flatten.join(' ')}"
 

Reply via email to