1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-17 15:33:16 +03:00

s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info

These variables, of type struct auth_serversupplied_info were poorly
named when added into 2001, and in good consistant practice, this has
extended all over the codebase in the years since.

The structure is also not ideal for it's current purpose.  Originally
intended to convey the results of the authentication modules, it
really describes all the essential attributes of a session.  This
rename will reduce the volume of a future patch to replaced these with
a struct auth_session_info, with auth_serversupplied_info confined to
the lower levels of the auth subsystem, and then eliminated.

(The new structure will be the output of create_local_token(), and the
change in struct definition will ensure that this is always run, populating
local groups and privileges).

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett
2011-02-21 10:25:52 +01:00
parent 985c7da604
commit 2e69e89456
70 changed files with 892 additions and 892 deletions

View File

@@ -326,7 +326,7 @@ bool pipe_access_check(struct pipes_struct *p)
return True;
}
if (p->server_info->guest) {
if (p->session_info->guest) {
return False;
}
}