summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-11-17 13:04:41 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:21 +0100
commit7637c93472492f1bfd7bf46b8f855ef4818c75a9 (patch)
treebb70f690fc9ad7c369b2676b7a9dd95bd6ec07d0 /source3/libsmb
parent8e5ce1e2d53f36fd35eb8efad7da680dcf0b1ce1 (diff)
downloadsamba-7637c93472492f1bfd7bf46b8f855ef4818c75a9.tar.gz
samba-7637c93472492f1bfd7bf46b8f855ef4818c75a9.tar.bz2
samba-7637c93472492f1bfd7bf46b8f855ef4818c75a9.zip
s3:winbindd: use wb_sids2xids instead of wb_sid2uid in winbindd_sid_to_uid
The main purpose of the change is to hand the sid into the idmap backend and handle responsiblity for handling the sid-type correctly to the idmap backend instead of failing directly when the sid is not of type user. Hence backends like rid who are sid-type agnostic, can return uids also for sids of other types. This is an important fix to make sid_to_uid behave the consistently with and without the presence of cache entries. We need to additionally filter the result for id type UID or more general (BOTH) to keep the behaviour. This is a step towards using only one codepath to id_mapping. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
0 files changed, 0 insertions, 0 deletions