diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-18 12:23:04 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:13 +1000 |
commit | 8d72e612ac2845cd873c4fd614456fe8749db130 (patch) | |
tree | c0f6d0774b59bf72045c5e35d0d25d09515f6727 /source3/lib/util_sock.c | |
parent | 594597eb65a9abc0f6190f887ab0fd79caa58085 (diff) | |
download | samba-8d72e612ac2845cd873c4fd614456fe8749db130.tar.gz samba-8d72e612ac2845cd873c4fd614456fe8749db130.tar.bz2 samba-8d72e612ac2845cd873c4fd614456fe8749db130.zip |
s3-rpc_server read and write the unix_token and unix_info across named_pipe_auth
This ensures that the exact same token is used on both sides of the
pipe, when a full token is passed (ie, source3 to source3, but not yet
source4 to to source3 as the unix info isn't calculated there yet).
If we do not have unix_token, we fall back to the old behaviour and go
via create_local_token(). (However, in this case the security_token
is now overwritten, as it is better to have it match the rest of the
session_info create_local_token() builds).
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib/util_sock.c')
0 files changed, 0 insertions, 0 deletions