summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-18 18:58:37 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:07 +0200
commit2f36ef72256cf3c2e36ed759427af07effda1069 (patch)
treef34afcf351a6d1e35127c90319a0a4202bb269b5 /source3/utils
parentb0773aa61a1fdecfd80f09454ff85c7bb4b7896b (diff)
downloadsamba-2f36ef72256cf3c2e36ed759427af07effda1069.tar.gz
samba-2f36ef72256cf3c2e36ed759427af07effda1069.tar.bz2
samba-2f36ef72256cf3c2e36ed759427af07effda1069.zip
s3-passdb: add passdb.h where needed.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c1
-rw-r--r--source3/utils/net_groupmap.c1
-rw-r--r--source3/utils/net_sam.c1
-rw-r--r--source3/utils/pdbedit.c1
-rw-r--r--source3/utils/smbpasswd.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 965cd443f3..9eace76661 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -46,6 +46,7 @@
#include "secrets.h"
#include "lib/netapi/netapi.h"
#include "../libcli/security/security.h"
+#include "passdb.h"
#ifdef WITH_FAKE_KASERVER
#include "utils/net_afs.h"
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 6f9a6ce802..818905e122 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -25,6 +25,7 @@
#include "system/passwd.h"
#include "utils/net.h"
#include "../libcli/security/security.h"
+#include "passdb.h"
/*********************************************************
Figure out if the input was an NT group or a SID string.
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c
index 0156660e86..dfd9a78cc3 100644
--- a/source3/utils/net_sam.c
+++ b/source3/utils/net_sam.c
@@ -25,6 +25,7 @@
#include "smbldap.h"
#include "../libcli/security/security.h"
#include "lib/winbind_util.h"
+#include "passdb.h"
/*
* Set a user's data
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index ec324cd5e8..cea3e3b295 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -24,6 +24,7 @@
#include "popt_common.h"
#include "../librpc/gen_ndr/samr.h"
#include "../libcli/security/security.h"
+#include "passdb.h"
#define BIT_BACKEND 0x00000004
#define BIT_VERBOSE 0x00000008
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 487f7a68d9..ada057c247 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -21,6 +21,7 @@
#include "secrets.h"
#include "../librpc/gen_ndr/samr.h"
#include "../lib/util/util_pw.h"
+#include "passdb.h"
/*
* Next two lines needed for SunOS and don't