s3: Fix initgroups return check
authorPeter Watkins <treestem@gmail.com>
Sun, 14 Feb 2010 11:43:13 +0000 (12:43 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 14 Feb 2010 11:45:04 +0000 (12:45 +0100)
commitd3a42946cc7d98070e90122341d234119ed94089
tree67970534122abfd54dec1b0261b2267665eb26ed
parent05b6e3f4f43ef5dacbc69b59c6373c536ae2a1c6
s3: Fix initgroups return check

A return code of 1 from initgroups() is OK since apparently it means
the gid has already been set. The man page doesn't mention this.
source3/lib/system_smbd.c