Hi.
only as information.
after cloning the repository get this error

CC       src/providers/ipa/libsss_ipa_la-ipa_hbac_users.lo
  CC       src/providers/ipa/libsss_ipa_la-ipa_hbac_common.lo
  CC       src/providers/ipa/libsss_ipa_la-ipa_selinux.lo
../src/providers/ipa/ipa_selinux.c: In function 'write_selinux_login_file':
../src/providers/ipa/ipa_selinux.c:693:5: error: implicit declaration of function 'selinux_policy_root' [-Werror=implicit-function-declaration]
../src/providers/ipa/ipa_selinux.c:693:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat]
../src/providers/ipa/ipa_selinux.c:713:13: error: implicit declaration of function 'selinux_getenforcemode' [-Werror=implicit-function-declaration]
../src/providers/ipa/ipa_selinux.c: In function 'remove_selinux_login_file':
../src/providers/ipa/ipa_selinux.c:778:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat]
cc1: some warnings being treated as errors
make[2]: *** [src/providers/ipa/libsss_ipa_la-ipa_selinux.lo] Error 1

I add #include <selinux/selinux.h>

and remove the error


> Date: Mon, 13 May 2013 17:55:30 +0200
> From: jhrozek@redhat.com
> To: sssd-devel@lists.fedorahosted.org
> Subject: Re: [SSSD] [PATCH] Fixes compilation without selinux.
>
> On Mon, May 13, 2013 at 05:16:43PM +0200, Ondrej Kos wrote:
> > On 05/09/2013 03:29 PM, Lukas Slebodnik wrote:
> > >ehlo,
> > >
> > >Compilation fail if ./configure is called with arguments
> > >--with-selinux --with-semanage and selinux header files are not
> > >installed. We didn't not catch this in fedora, because krb5-devel depends on
> > >libselinux-devel, but other distribution can package it differently.
> > >And API from selinux.h is not used in file ipa_selinux.c
> > >
> > >LS
> > >
> > >
> > >
> > >_______________________________________________
> > >sssd-devel mailing list
> > >sssd-devel@lists.fedorahosted.org
> > >https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
> > >
> >
> > Ack
> >
> > Ondra
>
> Pushed to master.
> _______________________________________________
> sssd-devel mailing list
> sssd-devel@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel