summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index c7c216b66f..d7ede293c1 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -325,14 +325,14 @@ bool change_to_user(connection_struct *conn, uint16 vuid)
conn->force_group_gid;
gid = conn->force_group_gid;
gid_to_sid(&conn->server_info->ptok
- ->user_sids[1], gid);
+ ->sids[1], gid);
break;
}
}
} else {
conn->server_info->utok.gid = conn->force_group_gid;
gid = conn->force_group_gid;
- gid_to_sid(&conn->server_info->ptok->user_sids[1],
+ gid_to_sid(&conn->server_info->ptok->sids[1],
gid);
}
}