Permalink
Browse files

Use the LDAP uid string consistently through the messages.

  • Loading branch information...
1 parent f6dcc85 commit 91938c24ee8e7d5484c190e8340072872d1c959e @craigw committed Apr 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 check_xen_shell_ldap_entry
@@ -46,7 +46,7 @@ groups = ldap.search(:base => ldap_base,
:filter => gid_filter)
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
end

0 comments on commit 91938c2

Please sign in to comment.