From 2ee8590c4fbd43a8da28cf7d2acd3894351bdeed Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 23 Apr 2003 11:03:08 +0000 Subject: This define does not always seem to be present, so define it if need be. Andrew Bartlett (This used to be commit 007143e2435904d941a62934986ac54e343f4936) --- source3/passdb/pdb_ldap.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef LDAP_OPT_SUCCESS +#define LDAP_OPT_SUCCESS 0 +#endif + #ifndef SAM_ACCOUNT #define SAM_ACCOUNT struct sam_passwd #endif -- cgit