[sudo-workers] sudo sss bugfix

Stéphane Graber stgraber at ubuntu.com
Fri Oct 26 05:24:53 EDT 2012


Hello,

I'm currently working on getting the sss plugin working in Debian/Ubuntu.

While doing that I noticed a few problems that I addressed in a patch
and that may be of interest to sudo upstream.

The two issues I've encountered are:
 - libsss_sudo.so is typically provided by the -dev package which isn't
installed on standard installation. Instead, sudo should be using
libsss_sudo.so.1 which is provided by the standard libsss-sudo1 package.
 - sudo_nss.c seems to assume that someone building with sss support
will also build with ldap. That's not the case for Debian and Ubuntu,
adding a few ifdefs seems to fix the solution.

Full patch attached, let me know if you have any question.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_sssd_build.patch
Type: text/x-diff
Size: 1667 bytes
Desc: not available
URL: </pipermail/sudo-workers/attachments/20121026/48864a71/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: </pipermail/sudo-workers/attachments/20121026/48864a71/attachment-0001.bin>


More information about the sudo-workers mailing list