head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.8 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.6 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.4 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.2 pkgsrc-2010Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2011.11.29.22.24.25; author pettai; state dead; branches; next 1.1; 1.1 date 2011.01.03.02.39.33; author obache; state Exp; branches; next ; desc @@ 1.2 log @1.3.5 * This version will be dedicated to Darren Besler, thank you for your major contribution! * libtac version is now 1.7.1 * magic.c: magic_inited is only used for linux * Finally got rid of all goto illness! * Changed tabsize to 4 * Fixed missing xalloc.h in authen_s.c * Get PAM_RHOST from PAM stack and use it as rem_addr * Added _pam_get_rhost() and _pam_get_user() * A long list of things done by Darren Besler... * A list of bugs fixed by Darren Besler... * And other things done by Darren Besler... 1.3.4 * removed encrypt option just check if there is a secret (key). * removed first_hit option because you can get the same behaviour by using only one server. * added multiple secret support. * connect.c: improved connection error handling by using getpeername() to check if connection is still valid. * properly handle multiple servers when authenticating. 1.3.3 * pam_tacplus.h: changed bitflags to hex. * Added gitignore for build stuff. * connect.c: removed ifdef for sys/socket.h, it will be included anyway for other platforms. * connect.c: improved connection error handling. 1.3.2 * Added autotool configuration files. * Added pam_tacplus.spec file. * Added license information to all files and the license itself. * All AV pairs are now available to the PAM environment. * Rewritten attribute loop in function pam_sm_acct_mgmt() for debug and future use of AV pairs. * Fixed attribute buffer in author_r.c. 1.3.1 * Added custom password prompt option. * Removed password logging when in debug mode. 1.3.0 * Released version 1.3.0 based on 1.2.13. This release finally includes support for TACACS+ chap and login authentication. The default is still pap for backward compatibility. 1.2.13 * Changed spaces into tabs for pam_tacplus.c so make it more readable. * Did some minor cleanup. * Added login option so you can choose which TACACS+ authentication you want to use. You can use pap, chap or login (ascii) at the moment. The default login option is pap. * Added cont_s.c needed for TACACS+ login authentication. 1.2.12 * Missing network byte order convertion to host byte order in function's tac_account_read, tac_authen_pap_read and tac_author_read. * Fixed potential memory leak. @ text @$NetBSD: patch-aa,v 1.1 2011/01/03 02:39:33 obache Exp $ * no reason to include sys/socket.h conditionally. https://sourceforge.net/tracker/?func=detail&aid=3150034&group_id=228898&atid=1075707 --- libtac/lib/connect.c.orig 2009-03-30 17:50:05.000000000 +0000 +++ libtac/lib/connect.c @@@@ -18,9 +18,7 @@@@ #include #include -#ifdef _AIX #include -#endif #ifndef __linux__ #include @ 1.1 log @Some patches for DragonFly. * need to include sys/socket.h, PR#44313. * same signature as Linux and NetBSD for PAM related functions. @ text @d1 1 a1 1 $NetBSD$ @