s4-auth: allow to create unix token from system session info
authorBjörn Baumbach <bb@sernet.de>
Tue, 25 Sep 2018 11:11:09 +0000 (13:11 +0200)
committerBjörn Baumbach <bb@sernet.de>
Thu, 11 Oct 2018 08:28:18 +0000 (10:28 +0200)
commitf3b7ba1746a33d058901dd8274953e6c5379e2b1
tree636ded6452da5b2c798548b82e5fdb5da281630b
parent29e757aca23933c52f9420d2cffbe5be17cf585d
s4-auth: allow to create unix token from system session info

Without this patch security_token_to_unix_token() fails with
NT_STATUS_ACCESS_DENIED, because the system session does only
have one SID.
For a typical token are at least two or more SIDs expected.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/auth/unix_token.c