summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-03-11 16:14:02 -0700
committerChristof Schmitt <cs@samba.org>2019-04-18 17:21:18 +0000
commitaec9bda25f10ca2710d91fb680cca7904e92f9de (patch)
tree42ffc5157c1da753670c26d99aa45d78fe9db535 /nsswitch
parent640e0ef4fd338ddf03b813a8d45cce67c7ec7a01 (diff)
downloadsamba-aec9bda25f10ca2710d91fb680cca7904e92f9de.tar.gz
winbind: Use domain name from lsa query for sid_to_name cache entry
When winbindd is asked to map a name like realm.com\name to a SID ,that is sucessfully resolved through the lsa lookup name call. The same call also returns the short domain name (netbios name of the domain). Use that short domain name for the sid_to_name cache entry, so that subsequent sid_to_name queries return the expected netbiosname\name result and not realm.com\name. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13831 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'nsswitch')
0 files changed, 0 insertions, 0 deletions