summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-04-13 18:24:43 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-04-14 10:28:35 +1000
commit4e2384e2426745023553afb21270165872c61b02 (patch)
tree36f6a753aaa54ad9236111b8c9285c56ca1518ed /source4
parent577bceb19bed18db053456b2b686ba04df1d7456 (diff)
downloadsamba-4e2384e2426745023553afb21270165872c61b02.tar.gz
samba-4e2384e2426745023553afb21270165872c61b02.tar.bz2
samba-4e2384e2426745023553afb21270165872c61b02.zip
s4:auth Allow the simple 'struct auth_session_info' generator for all users
This code isn't ideal, but it is better than needing to consult the main SamDB in things like a torture test. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/system_session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c
index 9b9268de95..4df96884ca 100644
--- a/source4/auth/system_session.c
+++ b/source4/auth/system_session.c
@@ -109,9 +109,9 @@ static NTSTATUS create_token(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
- DEBUG(0, ("Created token was not system or anonymous token!"));
- *token = NULL;
- return NT_STATUS_INTERNAL_ERROR;
+ /* All other 'users' get a empty priv set so far */
+ ptoken->privilege_mask = 0;
+ return NT_STATUS_OK;
}
static NTSTATUS generate_simple_session_info(TALLOC_CTX *mem_ctx,