From: Chris B. <buc...@us...> - 2012-03-10 05:03:53
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 9f7a510022cb5291179a4f678bf3d1a41c46295f (commit) from a2c74bc3e03bf961ef2c8dd26c3d977ef99a4b03 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9f7a510022cb5291179a4f678bf3d1a41c46295f Author: buccella <buc...@li...> Date: Sat Mar 10 00:03:44 2012 -0500 [ 3457460 ] PAM_RHOST set wrong ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 9d166ea..ea43e22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-03-10 Chris Buccella <buc...@li...> + * httpAdapter.c: + [ 3457460 ] PAM_RHOST set wrong + * httpAdapter.c, sfcBasicPAMAuthentication.c: [ 3367332 ] RHOST Support for PAM diff --git a/NEWS b/NEWS index f9815bf..f83ec4e 100644 --- a/NEWS +++ b/NEWS @@ -117,6 +117,7 @@ Bugs Fixed: - 3426027 cimAccountPassThrough does not set return code - 3492362 Problem with whitespace trimming if local connect only - 3499930 Check file repository writes +- 3457460 PAM_RHOST set wrong Changes in 1.3.13 ================= diff --git a/httpAdapter.c b/httpAdapter.c index 3df82b4..7ec86ce 100644 --- a/httpAdapter.c +++ b/httpAdapter.c @@ -1070,7 +1070,7 @@ doHttpRequest(CommHndl conn_fd) /* for PAM, client's IP address is used for host-based authentication */ struct sockaddr_storage from; socklen_t from_len = sizeof(from); - getsockname(conn_fd.socket, (struct sockaddr *)&from, &from_len); + getpeername(conn_fd.socket, (struct sockaddr *)&from, &from_len); #ifdef USE_INET6 char ipstr[INET6_ADDRSTRLEN] = {0}; #else hooks/post-receive -- SFCB - Small Footprint CIM Broker |