1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
Michael Adam 9a9b64dbdf 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>
2008-12-25 12:14:02 +01:00
..
2008-08-12 11:28:29 +02:00
2008-08-12 11:28:29 +02:00
2008-08-12 11:28:29 +02:00
2008-08-12 11:28:29 +02:00
2008-09-29 14:01:00 +02:00
2008-12-07 21:30:35 +01:00
2008-12-08 22:09:34 +01:00
2008-12-08 22:09:34 +01:00