summaryrefslogtreecommitdiff
path: root/source3/passdb/proto.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-10 17:32:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 12:30:48 +1000
commitae9a3274bc511a302ab52ec94b43b7a0abd84fe9 (patch)
tree5be7c341473c709813ed480f47dfd33efe149dad /source3/passdb/proto.h
parent2e0ccc47723e5117180a4ece8a260920fc66b2b8 (diff)
downloadsamba-ae9a3274bc511a302ab52ec94b43b7a0abd84fe9.tar.gz
samba-ae9a3274bc511a302ab52ec94b43b7a0abd84fe9.tar.bz2
samba-ae9a3274bc511a302ab52ec94b43b7a0abd84fe9.zip
passdb: Call with correct backend methods instead of default methods
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/passdb/proto.h')
-rw-r--r--source3/passdb/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h
index e84ece7497..ee945ac452 100644
--- a/source3/passdb/proto.h
+++ b/source3/passdb/proto.h
@@ -66,7 +66,8 @@ bool login_cache_delentry(const struct samu *sampass);
const char *my_sam_name(void);
struct samu *samu_new( TALLOC_CTX *ctx );
NTSTATUS samu_set_unix(struct samu *user, const struct passwd *pwd);
-NTSTATUS samu_alloc_rid_unix(struct samu *user, const struct passwd *pwd);
+NTSTATUS samu_alloc_rid_unix(struct pdb_methods *methods,
+ struct samu *user, const struct passwd *pwd);
char *pdb_encode_acct_ctrl(uint32_t acct_ctrl, size_t length);
uint32_t pdb_decode_acct_ctrl(const char *p);
void pdb_sethexpwd(char p[33], const unsigned char *pwd, uint32_t acct_ctrl);