summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-23 11:03:08 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-23 11:03:08 +0000
commit2ee8590c4fbd43a8da28cf7d2acd3894351bdeed (patch)
tree5bc92576486a4d288652d25e710edb1a4cf9faf5 /source3
parent327ad645dd25109ceaa3fe754d9913b304473288 (diff)
downloadsamba-2ee8590c4fbd43a8da28cf7d2acd3894351bdeed.tar.gz
samba-2ee8590c4fbd43a8da28cf7d2acd3894351bdeed.tar.bz2
samba-2ee8590c4fbd43a8da28cf7d2acd3894351bdeed.zip
This define does not always seem to be present, so define it if need be.
Andrew Bartlett (This used to be commit 007143e2435904d941a62934986ac54e343f4936)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 6112a65a76..1302fd81eb 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -51,6 +51,10 @@
#include <lber.h>
#include <ldap.h>
+#ifndef LDAP_OPT_SUCCESS
+#define LDAP_OPT_SUCCESS 0
+#endif
+
#ifndef SAM_ACCOUNT
#define SAM_ACCOUNT struct sam_passwd
#endif