[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-1643-g40daef4
Günther Deschner
gd at samba.org
Thu Jan 24 16:41:21 GMT 2008
The branch, v3-2-test has been updated
via 40daef4c3d822a28467ff521efca6a55a0370050 (commit)
from 902d1d6709e47fbc8b538f28cb4364b006c431f8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 40daef4c3d822a28467ff521efca6a55a0370050
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 24 17:39:29 2008 +0100
Fix winbindd build w/o ADS.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/winbindd_ndr.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/winbindd_ndr.c b/source/winbindd/winbindd_ndr.c
index 145d119..842c915 100644
--- a/source/winbindd/winbindd_ndr.c
+++ b/source/winbindd/winbindd_ndr.c
@@ -74,7 +74,9 @@ void ndr_print_winbindd_methods(struct ndr_print *ndr,
const char *name,
const struct winbindd_methods *r)
{
+#ifdef HAVE_ADS
extern struct winbindd_methods ads_methods;
+#endif
extern struct winbindd_methods msrpc_methods;
extern struct winbindd_methods passdb_methods;
extern struct winbindd_methods reconnect_methods;
@@ -89,10 +91,12 @@ void ndr_print_winbindd_methods(struct ndr_print *ndr,
return;
}
- if (r == &ads_methods) {
- ndr_print_string(ndr, name, "ads_methods");
- } else if (r == &msrpc_methods) {
+ if (r == &msrpc_methods) {
ndr_print_string(ndr, name, "msrpc_methods");
+#ifdef HAVE_ADS
+ } else if (r == &ads_methods) {
+ ndr_print_string(ndr, name, "ads_methods");
+#endif
} else if (r == &passdb_methods) {
ndr_print_string(ndr, name, "passdb_methods");
} else if (r == &reconnect_methods) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list