summaryrefslogtreecommitdiffstats
path: root/source/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-29 13:45:58 +0200
committerVolker Lendecke <vl@samba.org>2008-05-05 18:28:59 +0200
commit570a6b80feb5b0dc23213ba936c721e766cd4818 (patch)
tree97146aa3e35ab3860a873079d08d8e2e0614d020 /source/rpc_server
parentaa2299d42adf4d27e707ac755e07be70d0af1bb4 (diff)
downloadsamba-570a6b80feb5b0dc23213ba936c721e766cd4818.tar.gz
samba-570a6b80feb5b0dc23213ba936c721e766cd4818.tar.xz
samba-570a6b80feb5b0dc23213ba936c721e766cd4818.zip
Remove "guest" from "struct user_struct"
Diffstat (limited to 'source/rpc_server')
-rw-r--r--source/rpc_server/srv_lsa_hnd.c2
-rw-r--r--source/rpc_server/srv_lsa_nt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_server/srv_lsa_hnd.c b/source/rpc_server/srv_lsa_hnd.c
index a8341e677bb..78b891e071e 100644
--- a/source/rpc_server/srv_lsa_hnd.c
+++ b/source/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/source/rpc_server/srv_lsa_nt.c b/source/rpc_server/srv_lsa_nt.c
index 20c910e46d0..8bc377b97ea 100644
--- a/source/rpc_server/srv_lsa_nt.c
+++ b/source/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