summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-18 13:06:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-20 09:17:13 +1000
commit9fcc617ff5a216cc4ff1a587786522d28d84c7f2 (patch)
tree7d8589355c0ae8f9a13e48238879706bd58d70c6 /source3/smbd/service.c
parent128ae06a619b2c50cc9379053abb18277e814747 (diff)
downloadsamba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.tar.gz
samba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.tar.bz2
samba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.zip
s3-auth Use the common auth_session_info
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 2ac462f930..71681aeca2 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -373,14 +373,14 @@ static NTSTATUS find_forced_group(bool force_user,
}
/****************************************************************************
- Create an auth3_session_info structure for a connection_struct
+ Create an auth_session_info structure for a connection_struct
****************************************************************************/
static NTSTATUS create_connection_session_info(struct smbd_server_connection *sconn,
TALLOC_CTX *mem_ctx, int snum,
- struct auth3_session_info *vuid_serverinfo,
+ struct auth_session_info *vuid_serverinfo,
DATA_BLOB password,
- struct auth3_session_info **presult)
+ struct auth_session_info **presult)
{
if (lp_guest_only(snum)) {
return make_session_info_guest(mem_ctx, presult);
@@ -388,7 +388,7 @@ static NTSTATUS create_connection_session_info(struct smbd_server_connection *sc
if (vuid_serverinfo != NULL) {
- struct auth3_session_info *result;
+ struct auth_session_info *result;
/*
* This is the normal security != share case where we have a
@@ -466,7 +466,7 @@ NTSTATUS set_conn_force_user_group(connection_struct *conn, int snum)
*/
char *fuser;
- struct auth3_session_info *forced_serverinfo;
+ struct auth_session_info *forced_serverinfo;
fuser = talloc_string_sub(conn, lp_force_user(snum), "%S",
lp_const_servicename(snum));