diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_hnd.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index a8341e677b..78b891e071 100644 --- a/source3/rpc_server/srv_lsa_hnd.c +++ b/source3/rpc_server/srv_lsa_hnd.c @@ -268,7 +268,7 @@ bool pipe_access_check(pipes_struct *p) return False; } - if (user->guest) { + if (user->server_info->guest) { return False; } } diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 20c910e46d..8bc377b97e 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1468,7 +1468,7 @@ NTSTATUS _lsa_GetUserName(pipes_struct *p, if (vuser == NULL) return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; - if (vuser->guest) { + if (vuser->server_info->guest) { /* * I'm 99% sure this is not the right place to do this, * global_sid_Anonymous should probably be put into the token |