Re: [SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-03-11 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/11/2010 07:02 AM, Sumit Bose wrote: New version attached. bye, Sumit Ack. - -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors.

Re: [SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-03-10 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/2010 12:30 PM, Sumit Bose wrote: I have disabled the '%P' sequence for the directory expansion and change setting of the permissions as described above. bye, Sumit Nack Using expand_ccache_dir as the boolean for disallowing %P is

Re: [SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-03-08 Thread Sumit Bose
On Fri, Feb 26, 2010 at 04:43:56PM +0100, Sumit Bose wrote: On Wed, Feb 24, 2010 at 09:56:47AM -0500, Simo Sorce wrote: On Wed, 24 Feb 2010 12:05:18 +0100 Sumit Bose sb...@redhat.com wrote: +old_umask = umask(); +ret = mkdir(dirname, 01777); +umask(old_umask); +

Re: [SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-03-08 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/08/2010 04:16 AM, Sumit Bose wrote: On Fri, Feb 26, 2010 at 04:43:56PM +0100, Sumit Bose wrote: On Wed, Feb 24, 2010 at 09:56:47AM -0500, Simo Sorce wrote: On Wed, 24 Feb 2010 12:05:18 +0100 Sumit Bose sb...@redhat.com wrote: +

Re: [SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-02-26 Thread Sumit Bose
On Wed, Feb 24, 2010 at 09:56:47AM -0500, Simo Sorce wrote: On Wed, 24 Feb 2010 12:05:18 +0100 Sumit Bose sb...@redhat.com wrote: +old_umask = umask(); +ret = mkdir(dirname, 01777); +umask(old_umask); +if (ret != EOK) { +DEBUG(1, (mkdir [%s] failed:

[SSSD] [PATCH] Add expandable sequences to krb5_ccachedir

2010-02-24 Thread Sumit Bose
Hi, this patch should fix #406. bye, Sumit From ac0a2de24a0400dc08acf375184d20673872415c Mon Sep 17 00:00:00 2001 From: Sumit Bose sb...@redhat.com Date: Tue, 23 Feb 2010 09:43:51 +0100 Subject: [PATCH] Add expandable sequences to krb5_ccachedir As with krb5_ccname_template sequences like %u