winbindd name_to_sid cache bug

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 20 22:47:19 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Qiao Yang wrote:
| We found a bug in winbind. Winbind assumes Name to SID
| is 1-to-1 match, so when it is looking up a SID, it caches
| both SID-to-Name and Name-to-SID mapping. But actually a
| name may have old SIDs mapped to them (this happens when
| you migrate a user from one domain to another). A name
| should only be mapped to its primary SID. Attached is the patch.

Excellent timing with this.  Thanks.  I'll work on getting it
into the 3.0 tree




cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBJn92IR7qMdg1EfYRAlYCAJ9Y6fPBxFqvBgShodiSU3GNTfF0UACg5JRR
FHmtXmSS+Pmy7vRBcJowRq8=
=lsmZ
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list