Re: [SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-04-16 Thread Stephen Gallagher
On 04/15/2010 09:32 AM, Stephen Gallagher wrote: On 04/15/2010 09:06 AM, Sumit Bose wrote: ah, sorry, looks like it is time to upgrade :-) New version attached. bye, Sumit Ack. Pushed to master and sssd-1-2. -- Stephen Gallagher RHCE 804006346421761 Delivering value year after

Re: [SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-04-15 Thread Sumit Bose
On Wed, Mar 31, 2010 at 03:29:58PM -0400, Stephen Gallagher wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/29/2010 05:23 AM, Sumit Bose wrote: Hi, please find attached my second attempt to exchange uid, gid and pid between PAM client and responder. This new apporoach does

Re: [SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-04-15 Thread Stephen Gallagher
On 04/15/2010 07:49 AM, Sumit Bose wrote: New version attached. bye, Sumit Nack. Warnings seen while compiling on Fedora 13: ../../src/responder/common/responder_common.c: In function ‘get_client_cred’: ../../src/responder/common/responder_common.c:80: warning: passing argument 5 of

Re: [SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-04-15 Thread Sumit Bose
On Thu, Apr 15, 2010 at 08:24:59AM -0400, Stephen Gallagher wrote: On 04/15/2010 07:49 AM, Sumit Bose wrote: New version attached. bye, Sumit Nack. Warnings seen while compiling on Fedora 13: ../../src/responder/common/responder_common.c: In function ‘get_client_cred’:

Re: [SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-04-15 Thread Stephen Gallagher
On 04/15/2010 09:06 AM, Sumit Bose wrote: ah, sorry, looks like it is time to upgrade :-) 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] Use SO_PEERCRED on the PAM socket

2010-03-31 Thread Stephen Gallagher
This goes to syslog, not debug logs. On Mar 31, 2010, at 4:38 PM, Simo Sorce sso...@redhat.com wrote: On Wed, 31 Mar 2010 15:29:58 -0400 Stephen Gallagher sgall...@redhat.com wrote: Nack. Please make the strings in ssscli_err2string() translatable. strerror() is already internationalized,

[SSSD] [PATCH] Use SO_PEERCRED on the PAM socket

2010-03-29 Thread Sumit Bose
Hi, please find attached my second attempt to exchange uid, gid and pid between PAM client and responder. This new apporoach does not require any communication between the client and the responder and should behave much better than the previous one based on SO_PASSCRED and SCM_CREDENTIALS. To