summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_afs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_afs.c b/source3/utils/net_afs.c
index 6049a5cae1..3668e3cbad 100644
--- a/source3/utils/net_afs.c
+++ b/source3/utils/net_afs.c
@@ -25,6 +25,8 @@
#include "lib/afs/afs_funcs.h"
#include "lib/afs/afs_settoken.h"
+#ifdef WITH_FAKE_KASERVER
+
int net_afs_usage(struct net_context *c, int argc, const char **argv)
{
d_printf(_(" net afs key filename\n"
@@ -120,3 +122,4 @@ int net_afs(struct net_context *c, int argc, const char **argv)
return net_run_function(c, argc, argv, "net afs", func);
}
+#endif /* WITH_FAKE_KASERVER */