summaryrefslogtreecommitdiff
path: root/lib/zlib/win32
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-10-01 08:30:15 +0200
committerMichael Adam <obnox@samba.org>2008-12-25 12:14:02 +0100
commit9a9b64dbdfce4414ada22d4f882c8c757b5813e1 (patch)
treec6e2d4a91bb0f34e4f2a2295d121dcd6105af3fc /lib/zlib/win32
parent83bcc4e0273d1b58d1692910a6bc8e2c1f785497 (diff)
downloadsamba-9a9b64dbdfce4414ada22d4f882c8c757b5813e1.tar.gz
samba-9a9b64dbdfce4414ada22d4f882c8c757b5813e1.tar.bz2
samba-9a9b64dbdfce4414ada22d4f882c8c757b5813e1.zip
s:Fix uid_to_sid mapping when the idmap cache is empty.
This failed for backends other than passed, since idmap_backends_unixid_to_sid() always asked passdb first, which returned Success no matter whether a mapping was found or not. One effect wast that getpwuid failed after "net cache flush". Only after filling the cache with a getpwnam call it succeeded. This fix makes the behaviour of idmap_backends_unixid_to_sid() exactly the same as that of idmap_backends_sid_to_unixid() Michael Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/zlib/win32')
0 files changed, 0 insertions, 0 deletions