[sudo-workers] sudo and ldap

Sergio Rua srua at plus.net
Tue Dec 12 04:07:02 EST 2006


As part of a project in which I'm working, I noticed that sudo using
ldap does not support failover in the same way as pam_ldap does where
basically you list in the config more than one server.

I'm not a good programmer but I managed to implement this so that I can
now have

uri ldap://server1 ldap://server2


host server1 server2

I send you attached the ldap.c file where all my modifications are. I
hope if you like it, you could review it for me and perhaps include into
mainstream. Thanks!

Sergio Rua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap.c.gz
Type: application/octet-stream
Size: 8302 bytes
Desc: not available
URL: </pipermail/sudo-workers/attachments/20061212/9848f742/attachment.obj>

More information about the sudo-workers mailing list