patch to clean name with ldap auth

Detrak detrak at caere.fr
Fri May 11 15:36:30 CEST 2007


Hi,

I use Nagios with LDAP authentification via mod_authz_ldap on RHEL3. But
with this module, the username is format like this :
CN=detrak,DC=MY,DC=ORGANISATION,DC=ORG

I have patch the find_contact function, to match this string with the
username, I have put in my contacts.cfg : detrak in this example.


Best regards,
Det.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070511/7d1e27df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.ldap
Type: application/octet-stream
Size: 738 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070511/7d1e27df/attachment.obj>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list