summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-aix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Put headers inside ifdef _AIX.Darren Tucker2019-11-131-2/+2
| | | | | Prevents compile errors due to missing definitions (eg va_list) on non-AIX platforms.
* Remove "struct ssh" from sys_auth_record_login.Darren Tucker2019-04-021-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.
* Adapt custom_failed_login to new prototype.Darren Tucker2019-04-021-1/+2
| | | | Spotted by Kevin Brott.
* remove vestiges of old packet API from loginrec.cDamien Miller2019-01-191-2/+2
|
* Some AIX fixes; report from Michael FeltDamien Miller2018-08-121-2/+3
|
* upstream: remove legacy key emulation layer; ok djm@markus@openbsd.org2018-07-121-1/+1
| | | | OpenBSD-Commit-ID: 2b1f9619259e222bbd4fe9a8d3a0973eafb9dd8d
* Adapt portable to legacy buffer API removalDamien Miller2018-07-101-7/+12
|
* Include ssh_api.h for struct ssh.Darren Tucker2018-03-261-0/+1
| | | | | | struct ssh is needed by implementations of sys_auth_passwd() that were converted in commit bba02a50. Needed to fix build on AIX, I assume for the other platforms too (although it should be harmless if not needed).
* modified: auth-sia.cTim Rice2018-03-251-1/+2
| | | | | | | | | modified: openbsd-compat/port-aix.c modified: openbsd-compat/port-uw.c propogate changes to auth-passwd.c in commit 7c856857607112a3dfe6414696bf4c7ab7fb0cb3 to other providers of sys_auth_passwd()
* Strip trailing whitespace.Darren Tucker2016-08-021-3/+3
| | | | | Mechanically strip trailing whitespace on files not synced with OpenBSD (or in the case of bsd-snprint.c, rsync).
* - (dtucker) [M auth-chall.c auth-krb5.c auth-pam.c cipher-aes.c cipher-ctr.cDarren Tucker2013-06-021-6/+4
| | | | | | | | groupaccess.c loginrec.c monitor.c monitor_wrap.c session.c sshd.c sshlogin.c uidswap.c openbsd-compat/bsd-cygwin_util.c openbsd-compat/getrrsetbyname-ldns.c openbsd-compat/port-aix.c openbsd-compat/port-linux.c] Replace portable-specific instances of xfree with the equivalent calls to free.
* - (dtucker) [auth-krb5.c platform.{c,h} openbsd-compat/port-aix.{c,h}]Darren Tucker2009-12-211-0/+25
| | | | | 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) [sshlogin.c openbsd-compat/port-aix.{c,h}] Bug #1595: makeDarren Tucker2009-08-171-5/+14
| | | | 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-11/+0
| | | | | 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-1/+55
| | | | | | 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] Comment typo.Darren Tucker2007-08-091-1/+1
|
* - (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.Darren Tucker2006-09-181-0/+10
| | | | Prevents macro redefinition warnings of "RDONLY".
* - (djm) [audit-bsm.c audit.c auth-bsdauth.c auth-chall.c auth-pam.c]Damien Miller2006-09-011-0/+1
| | | | | | | | | | | | | | | | | [auth-rsa.c auth-shadow.c auth-sia.c auth1.c auth2-chall.c] [auth2-gss.c auth2-kbdint.c auth2-none.c authfd.c authfile.c] [cipher-3des1.c cipher-aes.c cipher-bf1.c cipher-ctr.c clientloop.c] [dh.c dns.c entropy.c gss-serv-krb5.c gss-serv.c hostfile.c kex.c] [kexdhc.c kexdhs.c kexgexc.c kexgexs.c key.c loginrec.c mac.c] [md5crypt.c monitor.c monitor_wrap.c readconf.c rsa.c] [scard-opensc.c scard.c session.c ssh-add.c ssh-agent.c ssh-dss.c] [ssh-keygen.c ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c] [sshconnect1.c sshconnect2.c sshd.c rc4.diff] [openbsd-compat/bsd-cray.c openbsd-compat/port-aix.c] [openbsd-compat/port-linux.c openbsd-compat/port-solaris.c] [openbsd-compat/port-uw.c] Lots of headers for SCO OSR6, mainly adding stdarg.h for log.h; compile problems reported by rac AT tenzing.org
* - (dtucker) [auth.c openbsd-compat/port-aix.c] Bug #1207: always callDarren Tucker2006-08-301-1/+3
| | | | | | | | | | | loginsuccess on AIX immediately after authentication to clear the failed login count. Previously this would only happen when an interactive session starts (ie when a pty is allocated) but this means that accounts that have primarily non-interactive sessions (eg scp's) may gradually accumulate enough failures to lock out an account. This change may have a side effect of creating two audit records, one with a tty of "ssh" corresponding to the authentication and one with the allocated pty per interactive session.
* - deraadt@cvs.openbsd.org 2006/08/03 03:34:42Damien Miller2006-08-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [OVERVIEW atomicio.c atomicio.h auth-bsdauth.c auth-chall.c auth-krb5.c] [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c] [auth-rsa.c auth-skey.c auth.c auth.h auth1.c auth2-chall.c auth2-gss.c] [auth2-hostbased.c auth2-kbdint.c auth2-none.c auth2-passwd.c ] [auth2-pubkey.c auth2.c authfd.c authfd.h authfile.c bufaux.c bufbn.c] [buffer.c buffer.h canohost.c channels.c channels.h cipher-3des1.c] [cipher-bf1.c cipher-ctr.c cipher.c cleanup.c clientloop.c compat.c] [compress.c deattack.c dh.c dispatch.c dns.c dns.h fatal.c groupaccess.c] [groupaccess.h gss-genr.c gss-serv-krb5.c gss-serv.c hostfile.c kex.c] [kex.h kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c key.c] [key.h log.c log.h mac.c match.c md-sha256.c misc.c misc.h moduli.c] [monitor.c monitor_fdpass.c monitor_mm.c monitor_mm.h monitor_wrap.c] [monitor_wrap.h msg.c nchan.c packet.c progressmeter.c readconf.c] [readconf.h readpass.c rsa.c scard.c scard.h scp.c servconf.c servconf.h] [serverloop.c session.c session.h sftp-client.c sftp-common.c] [sftp-common.h sftp-glob.c sftp-server.c sftp.c ssh-add.c ssh-agent.c] [ssh-dss.c ssh-gss.h ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rsa.c] [ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c] [sshd.c sshlogin.c sshlogin.h sshpty.c sshpty.h sshtty.c ttymodes.c] [uidswap.c uidswap.h uuencode.c uuencode.h xmalloc.c xmalloc.h] [loginrec.c loginrec.h openbsd-compat/port-aix.c openbsd-compat/port-tun.h] almost entirely get rid of the culture of ".h files that include .h files" ok djm, sort of ok stevesk makes the pain stop in one easy step NB. portable commit contains everything *except* removing includes.h, as that will take a fair bit more work as we move headers that are required for portability workarounds to defines.h. (also, this step wasn't "easy")
* - (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]Damien Miller2006-07-241-0/+2
| | | | | | | | | [openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c] [openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c] [openbsd-compat/port-aix.c openbsd-compat/port-irix.c] [openbsd-compat/rresvport.c] These look to need string.h and/or unistd.h (based on a grep for function names)
* - stevesk@cvs.openbsd.org 2006/07/12 22:28:52Damien Miller2006-07-241-0/+3
| | | | | [auth-options.c canohost.c channels.c includes.h readconf.c servconf.c ssh-keyscan.c ssh.c sshconnect.c sshd.c] move #include <netdb.h> out of includes.h; ok djm@
* - (dtucker) [openbsd-compat/bsd-asprintf.c openbsd-compat/port-aix.cDarren Tucker2006-07-121-0/+1
| | | | openbsd-compat/rresvport.c] More errno.h.
* - (dtucker) [openbsd-compat/port-aix.c] Minor correction to debug message,Darren Tucker2005-05-291-1/+1
| | | | spotted by tim@.
* - (dtucker) [openbsd-compat/port-aix.c] Whitespace cleanups while there.Darren Tucker2005-05-291-5/+3
|
* 20050529Darren Tucker2005-05-291-3/+3
| | | | | | | - (dtucker) [openbsd-compat/port-aix.c] Bug #1046: AIX 5.3 expects the argument to passwdexpired to be initialized to NULL. Suggested by tim@ While at it, initialize the other arguments to auth functions in case they ever acquire this behaviour.
* - (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006: fix bug inDarren Tucker2005-03-311-2/+2
| | | | | handling of password expiry messages returned by AIX's authentication routines, originally reported by robvdwal at sara.nl.
* - (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some moreDarren Tucker2005-02-161-4/+0
| | | | compiler warnings on AIX.
* - (dtucker) [README.platform auth.c configure.ac loginrec.cDarren Tucker2005-02-151-8/+37
| | | | | | 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-passwd.c openbsd-compat/port-aix.c] Don't callDarren Tucker2005-02-091-1/+0
| | | | | disable_forwarding() from compat library. Prevent linker errrors trying to resolve it for binaries other than sshd. ok djm@
* - (dtucker) [openbsd-compat/port-aix.c] Silence compiler warnings.Darren Tucker2005-02-081-4/+11
|
* - (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]Darren Tucker2005-02-021-6/+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) [openbsd-compat/port-aix.c] Bug #712: Explicitly check forDarren Tucker2004-08-291-0/+57
| | | | | accounts with authentication configs that sshd can't support (ie SYSTEM=NONE and AUTH1=something).
* - (dtucker) [loginrec.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]Darren Tucker2004-08-141-10/+20
| | | | | Plug AIX login recording into login_write so logins will be recorded for all auth types.
* - (dtucker) [openbsd-compat/port-aix.c] Missing __func__.Darren Tucker2004-06-281-1/+1
|
* - (dtucker) [auth.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]Darren Tucker2004-06-231-1/+45
| | | | Move loginrestrictions test to port-aix.c, replace with a generic hook.
* - (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. NoDarren Tucker2004-06-161-6/+6
| | | | code changes.
* - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] MoveDarren Tucker2004-02-101-0/+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-4/+35
| | | | | 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-11/+33
| | | | | 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-10/+54
| | | | | Move AIX specific password authentication code to port-aix.c, call authenticate() until reenter flag is clear.
* - (dtucker) [openbsd-compat/port-aix.c] Use correct include for xmalloc.h,Darren Tucker2003-09-221-1/+2
| | | | | add canohost.h to stop warning. Based on patch from openssh-unix-dev at thewrittenword.com
* - (dtucker) Bug #543: [configure.ac port-aix.c port-aix.h]Darren Tucker2003-07-141-0/+38
| | | | | Call setauthdb() before loginfailed(), which may load password registry- specific functions. Based on patch by cawlfiel@us.ibm.com.
* - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declareDarren Tucker2003-07-141-3/+3
| | | | loginfailed at all, so assume 3-arg loginfailed if not declared.
* - (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h]Darren Tucker2003-07-081-0/+22
| | | | Convert aixloginmsg into platform-independant Buffer loginmsg.
* - (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]]Darren Tucker2003-07-081-1/+5
| | | | | Include AIX headers for authentication functions and make calls match prototypes. Test for and handle 3-args and 4-arg variants of loginfailed.
* - (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping.Darren Tucker2003-06-031-1/+1
|
* unfuckDamien Miller2003-05-191-2/+2
|
* - (djm) Big KNF on openbsd-compat/Damien Miller2003-05-181-5/+10
|
* - (dtucker) Move handling of bad password authentications into a platformDarren Tucker2003-05-021-0/+16
| | | | specific record_failed_login() function (affects AIX & Unicos).