summaryrefslogtreecommitdiff
path: root/server/providers/ldap_be.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-03-06 10:13:44 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-03-06 06:32:55 -0500
commit49271571930ee976aac332f21230b245bbde39d0 (patch)
tree7dfb457197be8daa66e8a9d04c1e3daf86959ad4 /server/providers/ldap_be.c
parent0ae3745711f4c856cf36f4aca07310586f930e1d (diff)
downloadsssd-49271571930ee976aac332f21230b245bbde39d0.tar.gz
sssd-49271571930ee976aac332f21230b245bbde39d0.tar.bz2
sssd-49271571930ee976aac332f21230b245bbde39d0.zip
minor fixes for the build process
enable --without-tests
Diffstat (limited to 'server/providers/ldap_be.c')
-rw-r--r--server/providers/ldap_be.c7
1 files changed, 7 insertions, 0 deletions
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>