Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-14 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2009 10:04 PM, Stephen Gallagher wrote: >> Can someone please add the usage of this new provider to the SSSD HowTo >> > page ... ? I would like to test it!! > > SSSD HOWTO updated at https://fedorahosted.org/sssd/wiki/HOWTO_Configure > I wa

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2009 02:23 PM, Jenny Galipeau wrote: > Martin Nagy wrote: >> On Thu, 2009-08-13 at 13:12 +0200, Jakub Hrozek wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On 08/13/2009 10:02 AM, Martin Nagy wrote: >>> Sh

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Jenny Galipeau
Martin Nagy wrote: > On Thu, 2009-08-13 at 13:12 +0200, Jakub Hrozek wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 08/13/2009 10:02 AM, Martin Nagy wrote: >> >>> Shouldn't you also check here if ctx->name is not "proxy" and the confdb >>> parameter "libName" isn't se

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2009 07:22 AM, Martin Nagy wrote: > On Thu, 2009-08-13 at 13:12 +0200, Jakub Hrozek wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 08/13/2009 10:02 AM, Martin Nagy wrote: >>> Shouldn't you also check here if ctx->name is n

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Martin Nagy
On Thu, 2009-08-13 at 13:12 +0200, Jakub Hrozek wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/13/2009 10:02 AM, Martin Nagy wrote: > > Shouldn't you also check here if ctx->name is not "proxy" and the confdb > > parameter "libName" isn't set to "files"? I'm not 100% sure, but

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2009 10:02 AM, Martin Nagy wrote: > Shouldn't you also check here if ctx->name is not "proxy" and the confdb > parameter "libName" isn't set to "files"? I'm not 100% sure, but it > seems to me, that if you have this in your sssd.conf: > > pro

Re: [SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-13 Thread Martin Nagy
On Wed, 2009-08-12 at 19:27 +0200, Jakub Hrozek wrote: > +if (strcasecmp(ctx->name, "files") == 0) { > +DEBUG(5, ("Rewriting provider %s\n", ctx->name)); > + > +val[0] = "proxy"; > +ret = confdb_add_param(ctx->cdb, true, > + ctx->conf_path,

[SSSD] [PATCH] Make "files" a reserved word for legacy local domain

2009-08-12 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This patch introduces provider=files as a valid provider. Upon loading the backend, its properties in confdb are overwritten to those that represent legacy local domain. Also get rid of old hackish way of detecting legacy local domain in tools