summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-02 16:11:00 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:06 +0200
commit96487959e90b1aeec071d94e7f2c744af17fb5d0 (patch)
treee819cf118d777e88dd8497d533df75ba673955e0 /source3/passdb
parent64421129b672d0ce55c5aa235e5038dd2ea1b32b (diff)
downloadsamba-96487959e90b1aeec071d94e7f2c744af17fb5d0.tar.gz
samba-96487959e90b1aeec071d94e7f2c744af17fb5d0.tar.bz2
samba-96487959e90b1aeec071d94e7f2c744af17fb5d0.zip
lib/util/util_pw: share more code between lib/util/util_pw.c and source3/lib/username.c
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c1
-rw-r--r--source3/passdb/pdb_ldap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index fdc4bdc486..ecf72786f0 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -26,6 +26,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "secrets.h"
#include "../libcli/security/security.h"
+#include "../lib/util/util_pw.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 07c56ebd43..0ac9a97411 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -48,6 +48,7 @@
#include "secrets.h"
#include "idmap_cache.h"
#include "../libcli/security/security.h"
+#include "../lib/util/util_pw.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB