This define does not always seem to be present, so define it if need be.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 11:03:08 +0000 (11:03 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 11:03:08 +0000 (11:03 +0000)
Andrew Bartlett
(This used to be commit 007143e2435904d941a62934986ac54e343f4936)

source3/passdb/pdb_ldap.c

index 6112a65a76c1fe63398890cd697331019fc65afc..1302fd81ebb2eb1f686606acefb87fb2e6fe495f 100644 (file)
 #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