On Sun, 2012-01-08 at 17:40 -0500, Stephen Gallagher wrote:
On Jan 8, 2012, at 5:09 PM, Jakub Hrozek <jhrozek(a)redhat.com> wrote:
> Hi,
>
> starting with sssd 1.8 we are going to support two third party applications -
> sudo and autofs. In both cases we are going to provide a library these
> applications would use to communicate with SSSD.
>
> My question is what is the best place to put these libraries to? I
> would suggest /usr/lib{,64}/sssd/apps or /usr/lib{,64}/sssd/modules and
> name the libraries something like libsss_$appname.so (libsss_sudo.so,
> libsss_autofs.so, etc.)
>
This is probably the best choice. I can't think of a more appropriate location.
Is it our call ?
> I don't think we should install the libraries into the
hierarchy owned
> by the applications themselves (i.e. /usr/lib{,64}/autofs for example),
> I think it should be inside SSSD directories.
>
> Comments are appreciated.
We do place our memberof.so plugin in /usr/lib/ldb because that's where
ldb looks for. So you should ask sudo and autofs projects where they
plan to look for plugins or if they will provide configuration options
to point at arbitrary locations in the file system within their config
files that we can then set.
Simo.
--
Simo Sorce * Red Hat, Inc * New York