summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-01 18:52:13 +0200
committerGünther Deschner <gd@samba.org>2009-04-01 19:12:19 +0200
commitd0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3 (patch)
tree6e888b8a458a012bba5faa181942985ca63552ba /source3/include
parente4802bfcad0402fce1e942e22d5533b3c14ada80 (diff)
downloadsamba-d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3.tar.gz
samba-d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3.tar.bz2
samba-d0e1ff4aff24ef2f3b3f535ad25ad0573382e1a3.zip
s3-passdb: add smb_create_user().
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2e76764e01..0a2a8de4a9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4465,6 +4465,10 @@ bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16],
const char **account_name, uint32 *channel);
struct samr_LogonHours get_logon_hours_from_pdb(TALLOC_CTX *mem_ctx,
struct samu *pw);
+NTSTATUS smb_create_user(TALLOC_CTX *mem_ctx,
+ uint32_t acct_flags,
+ const char *account,
+ struct passwd **passwd_p);
/* The following definitions come from passdb/pdb_compat.c */