r1562: Make winbind for -S (sid->uid) and -Y (sid->gid) check whether the sid
commitd810ffe58e9c6b3b71336f59b899012af9137fe7
authorVolker Lendecke <vlendec@samba.org>
Thu, 22 Jul 2004 13:08:13 +0000 (22 13:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:15 +0000 (10 10:52 -0500)
tree8cb791e2b7b6e5603345ac08eef6d85dc07e2ce6
parent77e12fe6cb492b6622bee9fdd1d170f12d3d90b6
r1562: Make winbind for -S (sid->uid) and -Y (sid->gid) check whether the sid
requested actually is of type asked for. I've come across more than one
installation where a group sid had ended up as a uid in idmap and vice
versa. This just closes one possible for this misconfiguration, people
are actually using wbinfo.

Volker
(This used to be commit acfbd34025c2fde3d6a3e582c120c2b9de8ed39b)
source3/nsswitch/wbinfo.c