git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8d55c
)
s3: print a nice warning when HAVE_ADS is not enabled but you still try to do net...
author
Matthieu Patou
<mat@matws.net>
Fri, 2 Mar 2012 00:29:15 +0000
(16:29 -0800)
committer
Matthieu Patou
<mat@samba.org>
Sun, 4 Mar 2012 06:55:46 +0000
(07:55 +0100)
source3/utils/net_rpc_samsync.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_samsync.c
b/source3/utils/net_rpc_samsync.c
index d6c0542bd644c0f591ff7d06e8adf98714352953..772651f8b2883e3404277f81551f93ad90ebd2a1 100644
(file)
--- a/
source3/utils/net_rpc_samsync.c
+++ b/
source3/utils/net_rpc_samsync.c
@@
-614,6
+614,11
@@
int rpc_vampire_keytab(struct net_context *c, int argc, const char **argv)
ret = run_rpc_command(c, cli, &ndr_table_netlogon,
0,
rpc_vampire_keytab_internals, argc, argv);
+ } else {
+#ifndef HAVE_ADS
+ printf(_("Vampire requested against AD DC but ADS"
+ " support not built in: HAVE_ADS is not defined\n"));
+#endif
}
}