-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/30/2010 03:08 PM, Stephen Gallagher wrote: > On 07/30/2010 07:35 AM, Jakub Hrozek wrote: >> Nack, testing revealed crash when calling "id" on user who is not a >> member of any groups. > > > Thanks for catching this. It turned out that > sysdb_search_user_by_name_send() did not copy the passed-in value of > attrs, so when it went out of scope (being defined on the stack in > sdap_initgr_rfc2307_get_sysdb_groups()) > > I've added a new patch > 0005-Copy-the-attrs-attribute-in-sysdb_search_user_by_nam.patch that > fixes this. >
Ack > I also updated patch 0004-Add-dup_string_list-utility-function.patch to > make it take a const char ** and modified patch > 0006-Add-sysdb_update_members-function.patch accordingly to avoid > compiler warnings. > Ack, too. The initgroups time went considerably down (my testing shows 30-50%) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkxS1yEACgkQHsardTLnvCU/swCg0BDaq90zl8Zit2TLcIidGTDh J7oAoKTDoM3gcSLWOZcbqP+lxKVskTWP =EiCv -----END PGP SIGNATURE----- _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel