git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327ad64
)
This define does not always seem to be present, so define it if need be.
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 23 Apr 2003 11:03:08 +0000
(11:03 +0000)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 6112a65a76c1fe63398890cd697331019fc65afc..1302fd81ebb2eb1f686606acefb87fb2e6fe495f 100644
(file)
--- 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