[Freeipa-devel] [PATCH] allow different protocol versions for PAM and NSS

Simo Sorce ssorce at redhat.com
Fri May 8 12:19:57 UTC 2009


On Fri, 2009-05-08 at 10:03 +0200, Sumit Bose wrote:
> Hi,
> 
> this patch adds support for different version numbers of the PAM and
> NSS
> communication with the specific responder.
> 
> I have not changed the logic of the get_version request, i.e. the
> client
> (pam_sss or libnss_sss) sends a get_version request to the responder,
> the responder sends back his version number and the client proceeds if
> the version number meet his expectation. Maybe it would make sense to
> switch the logic here, i.e. the client send his version number and the
> responder says ACK if he can support the version and NACK otherwise.
> This way we can theoretically support more than one version for either
> PAM or NSS communication on the responder side, although I do not know
> if there ever will be a use case for this.

I like the approach.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list