[SSSD] [PATCH] Optimize gorup enumerations

2009-11-17 Thread Simo Sorce
I've been thinking about optimizing group enumerations for a while as they were way too slow for my taste. I did that by relying on the way we store users in the database and by parsing the member attribute of the groups counting on the fact we build the user dn as name=,cn=users, This patch

[SSSD] [Transifex] File submitted via email to SSSD | master

2009-11-17 Thread admin
Hello sssd, this is Transifex at http://www.transifex.net. The following attached files were submitted to SSSD | master by Bouska Please, visit Transifex at http://www.transifex.net/projects/p/sssd/c/master/ in order to see the component page. Thank you, Transifex # French translation of SSS

[SSSD] [Transifex] File submitted via email to SSSD | master

2009-11-17 Thread admin
Hello sssd, this is Transifex at http://www.transifex.net. The following attached files were submitted to SSSD | master by Bouska Please, visit Transifex at http://www.transifex.net/projects/p/sssd/c/master/ in order to see the component page. Thank you, Transifex # French translation of SSS

[SSSD] [Transifex] File submitted via email to SSSD | master

2009-11-17 Thread admin
Hello sssd, this is Transifex at http://www.transifex.net. The following attached files were submitted to SSSD | master by Bouska Please, visit Transifex at http://www.transifex.net/projects/p/sssd/c/master/ in order to see the component page. Thank you, Transifex # French translation of SSS

[SSSD] [PATCH] fix uninitialized timeout vriable leading to segfault

2009-11-17 Thread Simo Sorce
subj says it all. Simo. -- Simo Sorce * Red Hat, Inc * New York >From 0fd049f4b62e92d275561e073b7f32ba6e5d43fe Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 17 Nov 2009 14:55:41 -0500 Subject: [PATCH] Fix crash due to uninitialized timeout variable This slipped through in previous patch

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Simo Sorce
On Tue, 2009-11-17 at 14:02 -0500, Stephen Gallagher wrote: > On 11/17/2009 11:15 AM, Simo Sorce wrote: > > On Tue, 2009-11-17 at 09:58 -0500, Stephen Gallagher wrote: > >> + > >> +*ver = "0.4"; > >> +return ret; > >> +} > > > > Shouldn't you use SYSDB_VERSION_0_4 here ? :-) > > > > Simo.

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2009 11:22 AM, Simo Sorce wrote: >> +} Simo and I discussed this offline. I didn't realize all that UTF-8 support entails regarding lowercasing. We've agreed to defer this functionality to a future release. The case-sensitivity (patches 00

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Stephen Gallagher
On 11/17/2009 11:15 AM, Simo Sorce wrote: > On Tue, 2009-11-17 at 09:58 -0500, Stephen Gallagher wrote: >> + >> +*ver = "0.4"; >> +return ret; >> +} > > Shouldn't you use SYSDB_VERSION_0_4 here ? :-) > > Simo. > Absolutely correct! I've also fixed the same in another place. -- Stephen

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Simo Sorce
On Tue, 2009-11-17 at 09:58 -0500, Stephen Gallagher wrote: > + > +const char *make_lowercase(TALLOC_CTX *mem_ctx, const char *str) > +{ > +int len, i; > +char *retval; > + > +len = strlen(str); > +retval = talloc_array(mem_ctx, char, len+1); > +if (!retval) { > +return

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Simo Sorce
On Tue, 2009-11-17 at 09:58 -0500, Stephen Gallagher wrote: > + > +*ver = "0.4"; > +return ret; > +} Shouldn't you use SYSDB_VERSION_0_4 here ? :-) Simo. -- Simo Sorce * Red Hat, Inc * New York ___ sssd-devel mailing list sssd-devel@lists.fed

Re: [SSSD] [PATCHES] Use ipachangeconf in the upgrade script

2009-11-17 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2009 12:16 PM, Jakub Hrozek wrote: > On 11/17/2009 01:06 AM, Jakub Hrozek wrote: >> [PATCH 1/2] Add Simo's ipachangeconf >> This patch adds the ipachangeconf class from FreeIPA and packages it in >> makefile and with python setuptools > >> [P

Re: [SSSD] [PATCHES] Handle case-sensitivity issues

2009-11-17 Thread Stephen Gallagher
New patches attached. 0001: Make the sysdb case-sensitive 0002: Upgrade existing databases for case-sensitivity. 0003: Add force_lowercase_names option 0004: Add tests for force_lowercase_names On 11/16/2009 03:41 PM, Simo Sorce wrote: > On Mon, 2009-11-16 at 11:42 -0500, Stephen Gallagher wr

Re: [SSSD] [PATCH] Make the password field configurable in NSS

2009-11-17 Thread Simo Sorce
On Mon, 2009-11-16 at 20:21 -0500, Brian J. Murrell wrote: > On Tue, 2009-11-17 at 01:01 +0100, Jakub Hrozek wrote: > > Per the discussion on sssd-devel list, nss_sss should not return a > > hardcoded value but this should rather be configurable to allow whatever > > the OS or distribution thinks

Re: [SSSD] [PATCHES] Use ipachangeconf in the upgrade script

2009-11-17 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2009 01:06 AM, Jakub Hrozek wrote: > [PATCH 1/2] Add Simo's ipachangeconf > This patch adds the ipachangeconf class from FreeIPA and packages it in > makefile and with python setuptools > > [PATCH 2/2] Change the upgrade script to use ipachan