summaryrefslogtreecommitdiff
path: root/source4/utils/net/net_machinepw.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-23 12:13:48 +0100
committerVolker Lendecke <vl@samba.org>2008-11-23 12:13:48 +0100
commit34fc529d95c3e45e7c4b81246864b3de5ca73fd8 (patch)
tree640166a3a733e2f2fa8686dd1b137bc8a70dcf55 /source4/utils/net/net_machinepw.c
parent3080fd66243f8f0c4b34be845a7dfd922242b685 (diff)
downloadsamba-34fc529d95c3e45e7c4b81246864b3de5ca73fd8.tar.gz
samba-34fc529d95c3e45e7c4b81246864b3de5ca73fd8.tar.bz2
samba-34fc529d95c3e45e7c4b81246864b3de5ca73fd8.zip
fix the build
Diffstat (limited to 'source4/utils/net/net_machinepw.c')
-rw-r--r--source4/utils/net/net_machinepw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net_machinepw.c b/source4/utils/net/net_machinepw.c
index 8c2fac9557..710d889c19 100644
--- a/source4/utils/net/net_machinepw.c
+++ b/source4/utils/net/net_machinepw.c
@@ -25,6 +25,7 @@
#include "param/secrets.h"
#include "param/param.h"
#include "lib/events/events.h"
+#include "lib/util/util_ldb.h"
int net_machinepw_usage(struct net_context *ctx, int argc, const char **argv)
{
@@ -38,7 +39,6 @@ int net_machinepw(struct net_context *ctx, int argc, const char **argv)
TALLOC_CTX *mem_ctx;
struct event_context *ev;
struct ldb_message **msgs;
- int res;
int num_records;
const char *attrs[] = { "secret", NULL };
const char *secret;