summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-28 07:54:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:48 -0500
commit0aba9a2e3fc222625f31cc6fd12f1c7c7021c660 (patch)
tree5d0ed7258219fe0effd53b541d3f619c27e7cd43 /source4/smb_server
parentd4ae6ae74d712b74800e360590052d318d2fd101 (diff)
downloadsamba-0aba9a2e3fc222625f31cc6fd12f1c7c7021c660.tar.gz
samba-0aba9a2e3fc222625f31cc6fd12f1c7c7021c660.tar.bz2
samba-0aba9a2e3fc222625f31cc6fd12f1c7c7021c660.zip
r1278: rename struct user_context to smbsrv_user
metze (This used to be commit a9ba29e00fc818e798079c42888da3f20f3d1634)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index a89007d68d..823757ff3b 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -118,13 +118,13 @@ static struct request_context *receive_smb_request(struct smbsrv_context *smb_ct
*/
static void setup_user_context(struct request_context *req)
{
- struct user_context *ctx;
+ struct smbsrv_user *user_ctx;
- ctx = talloc(req->mem_ctx, sizeof(*ctx));
- ctx->vuid = SVAL(req->in.hdr, HDR_UID);
- ctx->vuser = get_valid_user_struct(req->smb_ctx, ctx->vuid);
+ user_ctx = talloc(req->mem_ctx, sizeof(*user_ctx));
+ user_ctx->vuid = SVAL(req->in.hdr, HDR_UID);
+ user_ctx->vuser = get_valid_user_struct(req->smb_ctx, user_ctx->vuid);
- req->user_ctx = ctx;
+ req->user_ctx = user_ctx;
}