Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Use the LDAP uid string consistently through the messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigw committed Apr 17, 2010
1 parent f6dcc85 commit 91938c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_xen_shell_ldap_entry
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ groups = ldap.search(:base => ldap_base,
:filter => gid_filter) :filter => gid_filter)


if !groups.any?{|group| group.cn.any?{|cn| cn == "xen"}} if !groups.any?{|group| group.cn.any?{|cn| cn == "xen"}}
puts "CRITICAL: #{uid} is not a member of #{ldap_gid}" puts "CRITICAL: #{ldap_uid} is not a member of #{ldap_gid}"
exit 2 exit 2
end end


Expand Down

0 comments on commit 91938c2

Please sign in to comment.