[Nagiosplug-devel] Small check_ldap fix

Voon, Ton Ton.Voon at egg.com
Mon Sep 29 03:46:13 CEST 2003


Nicolas,

This sounds interesting. There doesn't appear to be a patch attached - can
you please resend?

Ton

> -----Original Message-----
> From: Nicolas Lopez [mailto:nlopez at espri.arizona.edu] 
> Sent: Friday, September 26, 2003 7:59 PM
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: [Nagiosplug-devel] Small check_ldap fix
> 
> 
>   Check_ldap currently assumes that it is supposed to bind to the tree
> with a username and password, even if you don't specify one.  
> This fails
> in the case of an anonymous(unbound) connection.  The ldap_bind_s part
> needs to be wrapped in an if (ld_binddn), then everything is 
> happy.  I'm
> attaching a patch that does just that.
> 
>   I'm not subscribed to the list so please reply directly to me.
> 
>   Thanks.
> 
>   - Nick Lopez
>     nlopez at espri.arizona.edu
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.





More information about the Devel mailing list