Mail Archives: cygwin/2000/06/13/17:23:07
------=_NextPart_000_0000_01BFD58E.E07D8CE0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
[snip]
>
> Are you trying to use password auth or RSA auth? I'm just
> asking since RSA is not able to change the user context.
>
I'm using password auth. I compiled everything on Win2k and I'm testing on
NT 4 SP6a.
I'll try to recompile on NT4 tonight and see if it makes any difference.
Also, if anyone is interested: I made a small patch to get tcp wrappers to
compile. The patch is attached to this message. It works great from inetd.
For some reason I couldn't get openssh to work '--with-tcp-wrappers' it
configures ok but it doesn't seem to be working. I built ssh-1.2.27 with
libwrap.a and that worked fine. If someone could take a quick look at the
patch and verify that I didn't screw up.
Stefan
------=_NextPart_000_0000_01BFD58E.E07D8CE0
Content-Type: application/octet-stream;
name="tcp_wrappers_7.6-cygwin.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="tcp_wrappers_7.6-cygwin.diff"
diff -ur tcp_wrappers_7.6-orig/Makefile tcp_wrappers_7.6/Makefile=0A=
--- tcp_wrappers_7.6-orig/Makefile Fri Mar 21 19:27:21 1997=0A=
+++ tcp_wrappers_7.6/Makefile Tue Jan 25 12:41:05 2000=0A=
@@ -352,6 +352,9 @@=0A=
@make REAL_DAEMON_DIR=3D$(REAL_DAEMON_DIR) STYLE=3D$(STYLE) \=0A=
LIBS=3D"-lsocket -lnsl" RANLIB=3Decho ARFLAGS=3Drv \=0A=
NETGROUP=3D-DNETGROUP AUX_OBJ=3D"setenv.o strcasecmp.o" TLI=3D-DTLI all=0A=
+cygwin:=0A=
+ @make REAL_DAEMON_DIR=3D/winnt/system32 STYLE=3D$(STYLE) \=0A=
+ LIBS=3D RANLIB=3Dranlib ARFLAGS=3Drv AUX_OBJ=3D NETGROUP=3D TLI=3D all=0A=
=0A=
# MachTen=0A=
machten:=0A=
diff -ur tcp_wrappers_7.6-orig/fix_options.c =
tcp_wrappers_7.6/fix_options.c=0A=
--- tcp_wrappers_7.6-orig/fix_options.c Tue Apr 08 02:29:19 1997=0A=
+++ tcp_wrappers_7.6/fix_options.c Sun Jan 23 23:06:00 2000=0A=
@@ -12,7 +12,9 @@=0A=
#include <sys/types.h>=0A=
#include <sys/param.h>=0A=
#include <netinet/in.h>=0A=
+#ifndef __CYGWIN32__=0A=
#include <netinet/in_systm.h>=0A=
+#endif=0A=
#include <netinet/ip.h>=0A=
#include <netdb.h>=0A=
#include <stdio.h>=0A=
diff -ur tcp_wrappers_7.6-orig/percent_m.c tcp_wrappers_7.6/percent_m.c=0A=
--- tcp_wrappers_7.6-orig/percent_m.c Wed Dec 28 17:42:37 1994=0A=
+++ tcp_wrappers_7.6/percent_m.c Tue Jan 25 19:59:27 2000=0A=
@@ -12,11 +12,13 @@=0A=
#include <errno.h>=0A=
#include <string.h>=0A=
=0A=
+#ifndef __CYGWIN32__=0A=
extern int errno;=0A=
#ifndef SYS_ERRLIST_DEFINED=0A=
extern char *sys_errlist[];=0A=
extern int sys_nerr;=0A=
#endif=0A=
+#endif /* cygwin */=0A=
=0A=
#include "mystdarg.h"=0A=
=0A=
@@ -29,11 +31,15 @@=0A=
=0A=
while (*bp =3D *cp)=0A=
if (*cp =3D=3D '%' && cp[1] =3D=3D 'm') {=0A=
+#ifndef __CYGWIN32__=0A=
if (errno < sys_nerr && errno > 0) {=0A=
strcpy(bp, sys_errlist[errno]);=0A=
} else {=0A=
+#endif=0A=
sprintf(bp, "Unknown error %d", errno);=0A=
+#ifndef __CYGWIN32__=0A=
}=0A=
+#endif=0A=
bp +=3D strlen(bp);=0A=
cp +=3D 2;=0A=
} else {=0A=
------=_NextPart_000_0000_01BFD58E.E07D8CE0
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_0000_01BFD58E.E07D8CE0--
- Raw text -