Damien Miller
2eb4236d86
- (djm) [openbsd-compat/bsd-cygwin_util.c] Recent versions of Cygwin allow
...
change of user context without a password, so relax auth method
restrictions; from vinschen AT redhat.com; ok dtucker@
2004-04-18 21:15:43 +10:00
Darren Tucker
7c991ab1e1
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812 : #undef getaddrinfo
...
before redefining it, silences warnings on Tru64.
2004-03-10 21:06:32 +11:00
Darren Tucker
86c093d289
- (dtucker) [configure.ac sshd.c openbsd-compat/bsd-misc.h
...
openbsd-compat/setenv.c] Unset KRB5CCNAME on AIX to prevent it from being
inherited by the child. ok djm@
2004-03-08 22:59:03 +11:00
Darren Tucker
91bf45c597
- (dtucker) [auth-passwd.c auth-sia.c auth-sia.h defines.h
...
openbsd-compat/xcrypt.c] Bug #802 : Fix build error on Tru64 when
configured --with-osfsia. ok djm@
2004-03-04 22:59:36 +11:00
Tim Rice
18959006c0
[openbsd-compat/getrrsetbyname.c] Make gcc 2.7.2.3 happy. ok djm@
2004-02-23 20:51:06 -08:00
Damien Miller
2e45cb0fb4
- (djm) [openbsd-compat/setproctitle.c] fix comments; from grange@
2004-02-20 20:37:44 +11:00
Damien Miller
98225c2950
- (djm) Simplify the license on code I have written. No code changes.
2004-02-17 16:49:41 +11:00
Darren Tucker
cfea2063e5
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move
...
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.
2004-02-10 15:27:34 +11:00
Darren Tucker
ffae532076
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #563 : Prepend ssh_ to compat
...
functions to avoid conflicts with Heimdal's libroken. ok djm@
2004-02-10 13:05:40 +11:00
Darren Tucker
e3dba82dd4
- (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c
...
openbsd-compat/port-aix.h] Bug #14 : Use do_pwchange to support AIX's
native password expiry.
2004-02-10 12:50:19 +11:00
Darren Tucker
e45674ae80
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Restore
...
previous authdb setting after auth calls. Fixes problems with setpcred
failing on accounts that use AFS or NIS password registries.
2004-02-06 16:17:51 +11:00
Darren Tucker
2df334380b
- (dtucker) [configure.ac openbsd-compat/bsd-cray.c openbsd-compat/bsd-cray.h]
...
Bug #775 : Cray fixes from wendy at cray.com
2004-01-30 14:34:21 +11:00
Tim Rice
01326ebada
[defines.h openbsd-compat/getrrsetbyname.h] Move defines for HFIXEDSZ
...
and T_SIG to getrrsetbyname.h
2004-01-26 21:40:35 -08:00
Damien Miller
6814411b3e
- (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com
2004-01-24 13:50:39 +11:00
Damien Miller
f4da3bb6ca
- deraadt@cvs.openbsd.org 2004/01/11 21:55:06
...
[sshpty.c]
for pty opening, only use the openpty() path. the other stuff only needs
to be in openssh-p; markus ok
- (djm) [openbsd-compat/bsd-openpty.c] Rework old sshpty.c code into an
openpty() replacement
2004-01-21 17:07:16 +11:00
Ben Lindstrom
563eb99711
- (bal) [openbsd-compat/bsd-misc.c] unset 'signal' defined if we are
...
using a real 'signal()' (Noticed by a NeXT Compile)
2003-12-18 00:34:06 +00:00
Damien Miller
3db2e4daf7
- (djm) Annotate OpenBSD-derived files in openbsd-compat/ with original
...
source file path (in OpenBSD tree).
2003-11-24 13:33:34 +11:00
Darren Tucker
d76341616d
- (dtucker) [auth-passwd.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]
...
Move AIX specific password authentication code to port-aix.c, call
authenticate() until reenter flag is clear.
2003-11-22 14:16:56 +11:00
Darren Tucker
b8b4d0bbbe
Fix comments to reflect recent change.
2003-10-15 17:22:37 +10:00
Darren Tucker
5f88d3440e
- (dtucker) [acconfig.h configure.ac dns.c openbsd-compat/getrrsetbyname.c
...
openbsd-compat/getrrsetbyname.h] DNS fingerprint support is now always
compiled in but disabled in config.
2003-10-15 16:57:57 +10:00
Darren Tucker
2e8c0cc752
- (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoul.c]
...
Bug #670 : add strtoul() to openbsd-compat for platforms lacking it. ok djm@
2003-10-07 17:49:56 +10:00
Ben Lindstrom
b210aa2cfa
- (bal) Fix issues in openbsd-compat/realpath.c
2003-09-30 23:49:06 +00:00
Darren Tucker
b88fcc755d
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] Bug #633 : Remove
...
DISABLE_SHADOW for HP-UX, use getspnam instead of getprpwnam. Patch from
michael_steffens at hp.com, ok djm@
2003-09-25 20:18:33 +10:00
Darren Tucker
051c270f88
- (dtucker) [openbsd-compat/port-aix.c] Use correct include for xmalloc.h,
...
add canohost.h to stop warning. Based on patch from openssh-unix-dev at
thewrittenword.com
2003-09-22 13:05:26 +10:00
Darren Tucker
d5e082f0d5
- (dtucker) [configure.ac openbsd-compat/fake-rfc2553.c
...
openbsd-compat/fake-rfc2553.h] Bug #659 : Test for and handle systems with
where gai_strerror is defined as "const char *". Part of patch supplied
by bugzilla-openssh at thewrittenword.com
2003-09-22 12:08:23 +10:00
Darren Tucker
91acbf211c
- (dtucker) [openbsd-compat/port-aix.h] Bug #640 : Don't include audit.h
...
unless required. Reorder to reduce warnings.
2003-09-19 20:43:38 +10:00
Tim Rice
628c873230
[openbsd-compat/inet_ntoa.c] 20030917 "Sync with V_3_7 branch" undid
...
20030916 "Missed dead header in inet_ntoa.c"
2003-09-17 13:20:33 -07:00
Damien Miller
f2728099ba
- (djm) Sync with V_3_7 branch
2003-09-17 07:24:25 +10:00
Ben Lindstrom
e121048392
- (bal) Missed dead header in inet_ntoa.
2003-09-16 17:23:29 +00:00
Tim Rice
b284e16c10
[configure.ac acconfig.h openbsd-compat/getrrsetbyname.c] test for
...
HEADER.ad in arpa/nameser.h
2003-09-08 14:35:16 -07:00
Tim Rice
0ac16a4492
[configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and
...
_getlong in #ifndef
2003-09-08 06:33:33 -07:00
Darren Tucker
3393c5c36e
- (dtucker) openbsd-compat/xcrypt.c] #elsif -> #elif
2003-09-07 09:43:42 +10:00
Damien Miller
39638b6aeb
- (djm) Fix openbsd-compat/ again - remove references to strl(cpy|cat).h
2003-09-02 23:33:42 +10:00
Ben Lindstrom
515d0f9a1e
- (bal) openbsd-compat/ clean up. Considate headers, add in $Id$ on our
...
files, and added missing license to header.
2003-08-29 16:59:52 +00:00
Ben Lindstrom
5ade9abc37
- (bal) redo how we handle 'mysignal()'. Move it to
...
openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to
be our 'mysignal' by default. OK djm@
2003-08-25 01:16:21 +00:00
Ben Lindstrom
af4a6c3a56
- (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications
...
and minor fixes.
2003-08-25 01:10:51 +00:00
Damien Miller
59d3d5b8b4
- (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal
...
-lbroken; ok dtucker
2003-08-22 09:34:41 +10:00
Darren Tucker
f38ea77c03
- (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
...
Add a tcsendbreak function for platforms that don't have one, based on the
one from OpenBSD.
Any more of these and I'll split them out into bsd-termio.[ch].
2003-08-13 20:48:07 +10:00
Darren Tucker
bc8c8f36fb
- (dtucker) [openbsd-compat/xcrypt.c] Remove Cygwin #ifdef block (duplicate
...
in bsd-cygwin_util.h).
2003-08-11 23:00:33 +10:00
Darren Tucker
65914f1eb3
- (dtucker) [openbsd-compat/fake-rfc2553.h] Older Linuxes have AI_PASSIVE and
...
AI_CANONNAME in netdb.h but not AI_NUMERICHOST, so check each definition
separately before defining them.
2003-08-08 12:15:11 +10:00
Darren Tucker
80649c5fa6
- (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin
...
specific defines and includes to bsd-cygwin_util.h. Fixes build error too.
2003-08-07 16:28:16 +10:00
Darren Tucker
854d7fd439
- (dtucker) [openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h]
...
Remove incorrect filenames from comments (file names are in Id tags).
2003-08-07 16:23:43 +10:00
Darren Tucker
bdf571b0dc
- (dtucker) [openbsd-compat/bsd-misc.c] Fix cut-and-paste bug in tcgetpgrp.
2003-08-03 00:36:16 +10:00
Darren Tucker
048737c9bc
Remove unused variable.
2003-08-02 23:33:48 +10:00
Darren Tucker
2e9c9cf702
- (dtucker) [openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
...
Add a tcgetpgrp function.
2003-08-02 23:31:42 +10:00
Darren Tucker
fbba5a0501
- (dtucker) [openbsd-compat/xcrypt.c] Fix typo: DISABLED_SHADOW ->
...
DISABLE_SHADOW. Fixes HP-UX compile error.
2003-07-26 19:38:30 +10:00
Ben Lindstrom
0410e32f47
- (bal) [auth-passwd.c openbsd-compat/Makefile.in openbsd-compat/xcrypt.c
...
openbsd-compat/xcrypt.h] Split off encryption into xcrypt() interface,
and isolate shadow password functions. Tested in Solaris, but should
not break other platforms too badly (except maybe HP =). Also brings
auth-passwd.c into full sync with OpenBSD tree.
2003-07-24 06:52:13 +00:00
Darren Tucker
0abf13bb50
- (dtucker) [port-aix.h] Fix prototypes.
2003-07-14 16:43:42 +10:00
Darren Tucker
fc3454ee67
- (dtucker) Bug #543 : [configure.ac port-aix.c port-aix.h]
...
Call setauthdb() before loginfailed(), which may load password registry-
specific functions. Based on patch by cawlfiel@us.ibm.com .
2003-07-14 16:41:55 +10:00
Darren Tucker
30317e37e4
- (dtucker) [port-aix.h] Work around name collision on AIX for r_type by
...
undef'ing it.
2003-07-14 16:26:51 +10:00