From 04f5ef83b9c3f6fbe484ceda8376982904b35065 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 11 Feb 2011 18:49:15 +1100 Subject: s3-auth struct security_unix_token replaces UNIX_USER_TOKEN --- source3/smbd/posix_acls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/posix_acls.c') diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 8707ff799c..5faf26f8b0 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1306,7 +1306,7 @@ static bool uid_entry_in_group(connection_struct *conn, canon_ace *uid_ace, cano * and don't need to do the complex user_in_group_sid() call */ if (uid_ace->unix_ug.uid == get_current_uid(conn)) { - const UNIX_USER_TOKEN *curr_utok = NULL; + const struct security_unix_token *curr_utok = NULL; size_t i; if (group_ace->unix_ug.gid == get_current_gid(conn)) { @@ -2652,7 +2652,7 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn, static bool current_user_in_group(connection_struct *conn, gid_t gid) { int i; - const UNIX_USER_TOKEN *utok = get_current_utok(conn); + const struct security_unix_token *utok = get_current_utok(conn); for (i = 0; i < utok->ngroups; i++) { if (utok->groups[i] == gid) { -- cgit