Revert ldap

bug/bundler_fix
Meatballs 2014-01-24 16:25:48 +00:00
parent 9fce617462
commit 23ba52641b
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ module LDAP
bind_default_ldap_server(1) do |session_handle|
print_status("Querying default naming context")
query_result = query_ldap(session_handle, "", 0, "(objectClass=*)", ["defaultNamingContext"])
query_result = query_ldap(session_handle, "", 0, "(objectClass=computer)", ["defaultNamingContext"])
first_entry_fields = query_result[:results].first
# Value from First Attribute of First Entry
default_naming_context = first_entry_fields.first