diff options
author | Sumit Bose <sbose@redhat.com> | 2009-03-06 10:13:44 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-03-06 06:32:55 -0500 |
commit | 49271571930ee976aac332f21230b245bbde39d0 (patch) | |
tree | 7dfb457197be8daa66e8a9d04c1e3daf86959ad4 /server | |
parent | 0ae3745711f4c856cf36f4aca07310586f930e1d (diff) | |
download | sssd-49271571930ee976aac332f21230b245bbde39d0.tar.gz sssd-49271571930ee976aac332f21230b245bbde39d0.tar.bz2 sssd-49271571930ee976aac332f21230b245bbde39d0.zip |
minor fixes for the build process
enable --without-tests
Diffstat (limited to 'server')
-rw-r--r-- | server/configure.ac | 3 | ||||
-rw-r--r-- | server/providers/ldap_be.c | 7 | ||||
-rw-r--r-- | server/server.mk | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/server/configure.ac b/server/configure.ac index 1a40e2be..0c1036a9 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -43,6 +43,7 @@ WITH_PID_PATH WITH_PIPE_PATH WITH_INFOPIPE WITH_POLICYKIT +WITH_TESTS m4_include(pkg.m4) m4_include(libpopt.m4) @@ -55,7 +56,7 @@ m4_include(ldap.m4) m4_include(util/signal.m4) PKG_CHECK_MODULES([DBUS],[dbus-1]) -if test xHAVE_TESTS != x; then +if test x$HAVE_TESTS != x; then PKG_CHECK_MODULES([CHECK],[check]) fi PKG_CHECK_MODULES([NSS],[nss]) diff --git a/server/providers/ldap_be.c b/server/providers/ldap_be.c index e5c31730..8967732f 100644 --- a/server/providers/ldap_be.c +++ b/server/providers/ldap_be.c @@ -22,6 +22,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef WITH_MOZLDAP +#define LDAP_OPT_SUCCESS LDAP_SUCCESS +#define LDAP_TAG_EXOP_MODIFY_PASSWD_ID ((ber_tag_t) 0x80U) +#define LDAP_TAG_EXOP_MODIFY_PASSWD_OLD ((ber_tag_t) 0x81U) +#define LDAP_TAG_EXOP_MODIFY_PASSWD_NEW ((ber_tag_t) 0x82U) +#endif + #include <errno.h> #include <ldap.h> #include <sys/time.h> diff --git a/server/server.mk b/server/server.mk index 0bf82a8b..cd3b19ad 100644 --- a/server/server.mk +++ b/server/server.mk @@ -71,6 +71,7 @@ PAMSRV_OBJ = \ PAMSRV_UTIL_OBJ = responder/pam/pamsrv_util.o +$(LDAP_BE_OBJ): CFLAGS += $(LDAP_CFLAGS) $(CRYPT_OBJ): CFLAGS += $(NSS_CFLAGS) |