[SSSD] [PATCH] Add better checks on PAM socket

Sumit Bose sbose at redhat.com
Mon Mar 15 12:55:27 UTC 2010


On Fri, Mar 12, 2010 at 04:50:19PM -0600, George McCollister wrote:
> I think char buf[CMSG_SPACE(sizeof(struct ucred))]; on
> src/sss_client/common.c:66 needs to be aligned. I'll look at it more on
> Monday.
> 

While trying to find out where the alignment might go wrong I realized
that there might be a much simpler way to get the creds of the peer.
Please wait for a new patch.

bye,
Sumit

> George McCollister
> 
> On 03/08/2010 07:55 AM, Sumit Bose wrote:
> > Hi,
> >
> > this patch adds a check the public PAM socket it a socket that belongs
> > to root for all plattforms and uses a SCM_CREDENTIALS ancillary
> > message to identify the uid/gid/pid of the peer if these messages are
> > available.
> >
> > bye,
> > Sumit
> >   
> >
> >
> > _______________________________________________
> > sssd-devel mailing list
> > sssd-devel at lists.fedorahosted.org
> > https://fedorahosted.org/mailman/listinfo/sssd-devel
> >   

> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/sssd-devel




More information about the sssd-devel mailing list