summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
Commit message (Collapse)AuthorAgeFilesLines
* Constify aix_krb5_get_principal_name.Darren Tucker2020-02-171-1/+1
| | | | Prevents warning about discarding type qualifiers on AIX.
* Remove "struct ssh" from sys_auth_record_login.Darren Tucker2019-04-031-2/+2
| | | | | It's not needed, and is not available from the call site in loginrec.c Should only affect AIX, spotted by Kevin Brott.
* remove vestiges of old packet API from loginrec.cDamien Miller2019-01-201-1/+2
|
* Adapt portable to legacy buffer API removalDamien Miller2018-07-101-3/+4
|
* Remove obsolete CVS $Id from source files.Darren Tucker2016-08-171-2/+0
| | | | | Since -portable switched to git the CVS $Id tags are no longer being updated and are becoming increasingly misleading. Remove them.
* - (dtucker) [auth-krb5.c platform.{c,h} openbsd-compat/port-aix.{c,h}]Darren Tucker2009-12-211-1/+5
| | | | | Bug #1583: Use system's kerberos principal name on AIX if it's available. Based on a patch from and tested by Miguel Sanders.
* - (dtucker) [session.c openbsd-compat/port-aix.h] Bugs #1249 and #1567: moveDarren Tucker2009-08-201-1/+6
| | | | | | the setpcred call on AIX to immediately before the permanently_set_uid(). Ensures that we still have privileges when we call chroot and pam_open_sesson. Based on a patch from David Leonard.
* - (dtucker) [sshlogin.c openbsd-compat/port-aix.{c,h}] Bug #1595: makeDarren Tucker2009-08-171-1/+3
| | | | PrintLastLog work on AIX. Based in part on a patch from Miguel Sanders.
* - (dtucker) [openbsd-compat/port-aix.{c,h}] Remove AIX specific initgroupsDarren Tucker2008-03-091-3/+1
| | | | | implementation. It's not needed to fix bug #1081 and breaks the build on some AIX configurations.
* - (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Bug #1081: ImplementDarren Tucker2008-02-281-2/+14
| | | | | | getgrouplist via getgrset on AIX, rather than iterating over getgrent. This allows, eg, Match and AllowGroups directives to work with NIS and LDAP groups.
* - (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.Darren Tucker2006-09-181-13/+1
| | | | Prevents macro redefinition warnings of "RDONLY".
* - (dtucker) [openbsd-compat/port-aix.h] Use the HAVE_DECL_* definitions asDarren Tucker2005-05-281-7/+8
| | | | | per the autoconf man page. Configure should always define them but it doesn't hurt to check.
* - (dtucker) [configure.ac openbsd-compat/port-aix.h] Prevent redefinitionsDarren Tucker2005-03-211-1/+3
| | | | of setauthdb on AIX 5.3, reported by anders.liljegren at its.uu.se.
* - (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some moreDarren Tucker2005-02-161-1/+24
| | | | compiler warnings on AIX.
* - (dtucker) [README.platform auth.c configure.ac loginrec.cDarren Tucker2005-02-151-3/+19
| | | | | | openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #835: enable IPv6 on AIX where possible (see README.platform for details) and work around a misfeature of AIX's getnameinfo. ok djm@
* - (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]Darren Tucker2005-02-021-2/+1
| | | | | | Make record_failed_login() call provide hostname rather than having the implementations having to do lookups themselves. Only affects AIX and UNICOS (the latter only uses the "user" parameter anyway). ok djm@
* - (dtucker) [loginrec.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]Darren Tucker2004-08-151-1/+3
| | | | | Plug AIX login recording into login_write so logins will be recorded for all auth types.
* - (dtucker) [auth.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]Darren Tucker2004-06-231-1/+3
| | | | Move loginrestrictions test to port-aix.c, replace with a generic hook.
* - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] MoveDarren Tucker2004-02-101-5/+1
| | | | | | | | include from port-aix.h to port-aix.c and remove unnecessary function definition. Fixes build errors on AIX. #include'ing auth.h in port-aix.h causes conflicting definitions of Authctxt in sshconnect2.c. Sigh.
* - (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.cDarren Tucker2004-02-101-2/+6
| | | | | openbsd-compat/port-aix.h] Bug #14: Use do_pwchange to support AIX's native password expiry.
* - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] RestoreDarren Tucker2004-02-061-1/+10
| | | | | previous authdb setting after auth calls. Fixes problems with setpcred failing on accounts that use AFS or NIS password registries.
* - (dtucker) [auth-passwd.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]Darren Tucker2003-11-221-3/+5
| | | | | Move AIX specific password authentication code to port-aix.c, call authenticate() until reenter flag is clear.
* - (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.hDarren Tucker2003-09-191-3/+3
| | | | unless required. Reorder to reduce warnings.
* - (bal) openbsd-compat/ clean up. Considate headers, add in $Id$ on ourBen Lindstrom2003-08-291-1/+2
| | | | files, and added missing license to header.
* - (dtucker) [port-aix.h] Fix prototypes.Darren Tucker2003-07-141-2/+2
|
* - (dtucker) Bug #543: [configure.ac port-aix.c port-aix.h]Darren Tucker2003-07-141-0/+1
| | | | | Call setauthdb() before loginfailed(), which may load password registry- specific functions. Based on patch by cawlfiel@us.ibm.com.
* - (dtucker) [port-aix.h] Work around name collision on AIX for r_type byDarren Tucker2003-07-141-0/+5
| | | | undef'ing it.
* - (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h]Darren Tucker2003-07-081-0/+1
| | | | Convert aixloginmsg into platform-independant Buffer loginmsg.
* - (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]]Darren Tucker2003-07-081-0/+9
| | | | | Include AIX headers for authentication functions and make calls match prototypes. Test for and handle 3-args and 4-arg variants of loginfailed.
* - (dtucker) Move handling of bad password authentications into a platformDarren Tucker2003-05-021-0/+5
| | | | specific record_failed_login() function (affects AIX & Unicos).
* - (bal) AIX 4.2.1 lacks nanosleep(). Patch to use nsleep() provided byBen Lindstrom2003-02-011-0/+11
| | | | dtucker@zip.com.au
* Added author to ports-aix.[ch].Ben Lindstrom2002-07-071-0/+3
|
* - (bal) Clean up aix_usrinfo(). Ignore TTY= period I guess.Ben Lindstrom2002-07-041-3/+24
|
* - (bal) Fixed AIX environment handling, use setpcred() instead of existingBen Lindstrom2002-06-211-5/+0
| | | | code. (Bugzilla Bug 261)
* - (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()Ben Lindstrom2002-02-251-1/+1
| | | | since we need more session information than provided by that function.
* - (bal) Drop Session *s usage in ports-aix.[ch] and pass just what weBen Lindstrom2002-02-241-1/+1
| | | | | need to do the jobs (AIX still does not fully compile, but that is coming).
* - (bal) Migrated AIX getuserattr and usrinfo code toBen Lindstrom2002-02-191-0/+10
openbsd-compat/port-aix.[c] to improve readilbity of do_child() and simplify our diffs against upstream source.