summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-04-14 15:15:32 +0200
committerGünther Deschner <gd@samba.org>2010-05-28 14:31:39 +0200
commit93ac516e15ab771b6ed4eeacc556a2ec916387bb (patch)
treea795aa18ad806ac26d79214551f2014d27ac5477 /source3/include
parent87037006bd27601b620d0d31f72261ba968d9567 (diff)
downloadsamba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.tar.gz
samba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.tar.bz2
samba-93ac516e15ab771b6ed4eeacc556a2ec916387bb.zip
s3-auth: Added a function to get the server_info from the system user.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index cc14658a03..f53c52c663 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -133,10 +133,13 @@ NTSTATUS make_serverinfo_from_username(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *copy_serverinfo(TALLOC_CTX *mem_ctx,
const struct auth_serversupplied_info *src);
bool init_guest_info(void);
+bool init_system_info(void);
bool server_info_set_session_key(struct auth_serversupplied_info *info,
DATA_BLOB session_key);
NTSTATUS make_server_info_guest(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info **server_info);
+NTSTATUS make_server_info_system(TALLOC_CTX *mem_ctx,
+ struct auth_serversupplied_info **server_info);
bool copy_current_user(struct current_user *dst, struct current_user *src);
struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, char *domuser,
fstring save_username, bool create );