diff options
author | Sumit Bose <sbose@redhat.com> | 2010-03-29 10:13:55 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-16 15:15:34 -0400 |
commit | ea0173fe8ba915960621454168651c62301833cb (patch) | |
tree | 433f6ecbd937d5fc4d7f9b03b98d03fb3ea47fcb /contrib/suse | |
parent | b9923919909cb976ddf42002c56a42b1893e3547 (diff) | |
download | sssd-ea0173fe8ba915960621454168651c62301833cb.tar.gz sssd-ea0173fe8ba915960621454168651c62301833cb.tar.xz sssd-ea0173fe8ba915960621454168651c62301833cb.zip |
Use SO_PEERCRED on the PAM socket
This is the second attempt to let the PAM client and the PAM responder
exchange their credentials, i.e. uid, gid and pid. Because this approach
does not require any message interchange between the client and the
server the protocol version number is not changed.
On the client side the connection is terminated it the responder is not
run by root. On the server side the effective uid and gid and the pid of
the client are available for future use.
The following additional changes are made by this patch:
- the checks of the ownership and the permissions on the PAM sockets are
enhanced
- internal error codes are introduced on the client side to generate
more specific log messages if an error occurs
Diffstat (limited to 'contrib/suse')
0 files changed, 0 insertions, 0 deletions