-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
After asking the cache for the list of member DNs for groups during an initgroups request, we were passing it through the sanitization function. Since this had already been done before they were saved to the cache, this meant that it was corrupting the results. It is safe to pass the returned DN directly into the sysdb_group_dn_name() function.
It also fixes the tevent_req_error() function to return the correct value. I discovered this bug because the logs were reporting ENOMEM.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
On Tue, Jan 18, 2011 at 12:20:44PM -0500, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
After asking the cache for the list of member DNs for groups during an initgroups request, we were passing it through the sanitization function. Since this had already been done before they were saved to the cache, this meant that it was corrupting the results. It is safe to pass the returned DN directly into the sysdb_group_dn_name() function.
It also fixes the tevent_req_error() function to return the correct value. I discovered this bug because the logs were reporting ENOMEM.
ACK
bye, Sumit
Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk01y+sACgkQeiVVYja6o6PhvgCfbxMsaogFLHLo3VsRgXKQ/vqK 2BcAn3cIuS2UMEvJodNOuC+WzqQ4FTQI =dO8h -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/19/2011 09:02 AM, Sumit Bose wrote:
On Tue, Jan 18, 2011 at 12:20:44PM -0500, Stephen Gallagher wrote: After asking the cache for the list of member DNs for groups during an initgroups request, we were passing it through the sanitization function. Since this had already been done before they were saved to the cache, this meant that it was corrupting the results. It is safe to pass the returned DN directly into the sysdb_group_dn_name() function.
It also fixes the tevent_req_error() function to return the correct value. I discovered this bug because the logs were reporting ENOMEM.
ACK
Pushed to master.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
sssd-devel@lists.fedorahosted.org