[SSSD] [PATCH] Save dummy groups to cache during initgroups (sssd-1.2)

Jakub Hrozek jhrozek at redhat.com
Wed Oct 6 09:28:35 UTC 2010


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

On 10/05/2010 10:50 PM, Simo Sorce wrote:
> It makes me a bit nervous to create "fake groups" which are not really
> fake and have a gidnumber = 0
> But we always treat 0 as something we can't return, so it should be
> good enough.
> 

Yes and also when I inspected the code for places where we use
SYSDB_UIDNUM and SYSDB_GIDNUM we always use 0 as the default value, for
example:

ldb_msg_find_attr_as_uint64(msg, SYSDB_UIDNUM, 0);

So even if the LDB objects did not have any UID/GID set we would get 0
back anyway.

	Jakub
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkysQUMACgkQHsardTLnvCWvtgCggnW9hv3dazYedPn8Z8ziJ5sY
58MAoK4hln4qEH+bE1S9T/j0w89MGXiW
=3I1A
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list