[pubcookie-dev] CVS update: jteaton;
webiso/pubcookie/src flavor_basic.c,1.74,1.75
jeaton at cmu.edu
jeaton at cmu.edu
Wed Apr 20 11:02:10 PDT 2005
Update of /usr/local/cvsroot/webiso/pubcookie/src
In directory webiso-cvs.cac.washington.edu:/var/tmp/cvs-serv10776
Modified Files:
flavor_basic.c
Log Message:
added optional realm logging in auth success message
Index: webiso/pubcookie/src/flavor_basic.c
diff -c webiso/pubcookie/src/flavor_basic.c:1.74 webiso/pubcookie/src/flavor_basic.c:1.75
*** webiso/pubcookie/src/flavor_basic.c:1.74 Wed Apr 20 07:19:11 2005
--- webiso/pubcookie/src/flavor_basic.c Wed Apr 20 11:02:08 2005
***************
*** 25,31 ****
* will pass l->realm to the verifier and append it to the username when
* 'append_realm' is set
*
! * $Id: flavor_basic.c,v 1.74 2005/04/20 14:19:11 jteaton Exp $
*/
--- 25,31 ----
* will pass l->realm to the verifier and append it to the username when
* 'append_realm' is set
*
! * $Id: flavor_basic.c,v 1.75 2005/04/20 18:02:08 jteaton Exp $
*/
***************
*** 708,715 ****
l->realm, credsp, errstr) == 0) {
/* xxx log realm */
pbc_log_activity (p, PBC_LOG_AUDIT,
! "Authentication success: %s IP: %s type: %c\n",
l->user,
(cgiRemoteAddr ==
NULL ? "(null)" : cgiRemoteAddr), l->creds);
--- 708,717 ----
l->realm, credsp, errstr) == 0) {
/* xxx log realm */
pbc_log_activity (p, PBC_LOG_AUDIT,
! "Authentication success: %s%s%s IP: %s type: %c\n",
l->user,
+ (l->realm == NULL ? "" : "@"),
+ (l->realm == NULL ? "" : l->realm),
(cgiRemoteAddr ==
NULL ? "(null)" : cgiRemoteAddr), l->creds);
end of message
More information about the pubcookie-dev
mailing list