summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 12:04:15 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:39 +0200
commitf52e5738a26e12787ec8a4c8d73ff14122d202c6 (patch)
tree61a860936d78b0d89b30af1ac0c32005f7ea9518 /source3/smbd/service.c
parent9e2e3708aa4e10aef561b1a9cc1f89688d65445f (diff)
downloadsamba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.tar.gz
samba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.tar.bz2
samba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.zip
s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct'
metze
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d0fd215dc7..517d96127d 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -536,7 +536,7 @@ static void create_share_access_mask(connection_struct *conn, int snum)
static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
connection_struct *conn,
- int snum, user_struct *vuser,
+ int snum, struct user_struct *vuser,
const char *pdev)
{
struct smb_filename *smb_fname_cpath = NULL;
@@ -913,7 +913,7 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
****************************************************************************/
static connection_struct *make_connection_smb1(struct smbd_server_connection *sconn,
- int snum, user_struct *vuser,
+ int snum, struct user_struct *vuser,
const char *pdev,
NTSTATUS *pstatus)
{
@@ -942,7 +942,7 @@ static connection_struct *make_connection_smb1(struct smbd_server_connection *sc
connection_struct *make_connection_smb2(struct smbd_server_connection *sconn,
struct smbd_smb2_tcon *tcon,
- user_struct *vuser,
+ struct user_struct *vuser,
const char *pdev,
NTSTATUS *pstatus)
{
@@ -977,7 +977,7 @@ connection_struct *make_connection(struct smbd_server_connection *sconn,
NTSTATUS *status)
{
uid_t euid;
- user_struct *vuser = NULL;
+ struct user_struct *vuser = NULL;
char *service = NULL;
fstring dev;
int snum = -1;