Displaying 20 results from an estimated 500 matches similar to: "[PATCH] Cygwin: Avoid implicit declaration warnings"
2002 Jul 31
0
[PATCH]: Match Cygwin version check to reality
Hi,
the following patch rearranges some checkings in bsd-cygwin-util.c to keep
in sync with Cygwin versions. I moved the uname() check into it's own
function so that it's easier to add further checks when necessary.
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
===================================================================
RCS file:
2002 Nov 09
1
[PATCH] Two Cygwin related patches
Hi,
the attached patch file contains two patches in one:
- contrib/cygwin/ssh-host-config: Create sshd_config according to latest
changes.
- openbsd-compat/bsd-cygwin_util.c: Rewrite a bit to allow easier retrieval
of Cygwin capabilities from version number (uname). For Cygwin versions
beginning with API minor version 56 assume ntsec being on by default.
Thanks in advance for applying
2001 Jul 11
2
[PATCH]: Cygwin: Allow sshd to switch user context without password
Hi,
the following patch checks if OpenSSH is running under a Cygwin
version >= 1.3.2 which allows switching user context without password.
Otherwise sshd allows changing the user context only if password
authentication is used as it was before.
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
===================================================================
RCS file:
2004 Apr 18
0
[PATCH] bsd-cygwin_util.c: Relax pubkey authentication prerequisites
Hi,
is it possible to apply the below patch before 3.8.1p1 comes out?
Due to a posting on the Cygwin mailing list it turned out, that the
prerequisites to allow public key authentication where to tight.
Since Cygwin version 1.5.x the so called `ntsec' setting isn't require
anymore to allow switching user context without password.
The below patch to bsd-cygwin_util.c fixes the test for
2001 Nov 20
1
[PATCH]: Allow SSHD to install as service under WIndows 9x/Me
Hi,
the following patch is a (hopefully least intrusive) extension
when sshd is started so that it daemonizes itself. In that case
Windows 9x/Me has a slight problem with sshd as soon as the current
user logs off. The sshd daemon will be killed as well. Since
installing services is very different between NT and 9x, the way
used for NT boxes isn't working well for 9x. For that reason
2001 May 23
1
[PATCH]: Drop the use of `check_nt_auth'.
Hi,
the following patch removes some of the Cygwin specific code from
OpenSSH.
Since Cygwin is able to change the user context on NT/W2K even without
a password since the new Cygwin version 1.3.2, there's no need anymore
to allow changing the user context only if the sshd user is the same
user as the one which logs in or when a password is given.
For that reason the whole function
2000 Aug 08
1
[PATCH] Updated patch to Cygwin port of 2.1.1p4
I had to update the Cygwin port for two reasons:
- scp could fail because of another textmode/binmode problem.
- Privileged ports are not privileged on Windows and there's
no coherence between privileged user and uid 0.
So I send the complete patch again with the above changes.
ChangeLog:
==========
- Makefile.in: Changed to support $EXEEXT transparently. Added
`cygwin_util.o' to
2000 Sep 02
2
[PATCH]: Cygwin port of 2.2.0p1
Attached is the patch for the Cygwin port of 2.2.0p1. As usual I didn't
attach the patch to `configure' but only the patch to `configure.in'.
BTW: I have attached a gzip'd version of the patch since it's size
is > 20K and I thought that it might be too big. The gzip'd diff is
< 8K.
What are "Small attachments (such as diff files) within the bounds
of common
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
Hi,
attached is a patch which solves the following problem:
Sometimes scp could hang in Cygwin when used as remote end using
the -t option. This is due to a binmode/textmode problem which
could be raised by the login shell which is used by the user and
it's setting of textmode on stdin. The patch solves that problem
by explicitly setting binmode on stdin.
Besides solving the hanging
2001 Dec 18
2
[PATCH]: Fix potential security hole in Cygwin version
Hi,
the following patch fixes a potential security hole in the Cygwin
version of sshd.
If you're logging in to a Cygwin sshd with version 2 protocol using an
arbitrary user name which is not in /etc/passwd, the forked sshd which
is handling this connection crashes with a segmentation violation. The
client side encounters an immediate disconnect ("Connection reset by
peer").
2019 Feb 22
2
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Feb 22 16:02, Darren Tucker wrote:
> On Fri, Feb 22, 2019 at 03:32:43PM +1100, Darren Tucker wrote:
> > On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote:
> > > The previous revert enabled case-insensitive user names again. This
> > > patch implements the case-insensitive user and group name matching.
> > > To allow Unicode
2011 Aug 14
10
Call for testing: OpenSSH-5.9
Hi,
OpenSSH 5.9 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release contains a
couple of new features and changes and bug fixes. Testing of the new
sandboxed privilege separation mode (see below) would be particularly
appreciated.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The
2010 Feb 19
1
[PATCH/cygwin] reduce number of propagated environment variables
Hi,
could somebody apply the below patch, please? It removes a couple of
environment variables which are propagated to the child process so far,
but which not really necessary to keep child processes running. What's
left now is the bare minimum which is requested by scripts, typically.
Thanks,
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
2012 Mar 16
1
[PATCH/cygwin]: Explicitely undefine _WIN32
Hi,
I've just trieed to build OpenSSH on Cygwin with Kerberos support enabled,
and while doing that I stumbled over a problem:
The openbsd-compat/bsd-cygwin_util.h header include a Windows header,
and depending on which Win32 header files are included (Mingw32/Mingw64)
that can result in a `#define _WIN32'. This in turn can break linking
against some packages. In my case it's
2015 Jun 02
2
Call for testing: OpenSSH 6.9
On Mon, Jun 01, 2015 at 03:30:38PM +0200, Corinna Vinschen wrote:
> Hi,
>
> On May 29 17:12, Damien Miller wrote:
> > Hi,
> >
> > OpenSSH 6.9 is almost ready for release, so we would appreciate testing
> > on as many platforms and systems as possible. This release contains
> > some substantial new features and a number of bugfixes.
>
> I tested git
2019 Feb 22
3
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote:
> The previous revert enabled case-insensitive user names again. This
> patch implements the case-insensitive user and group name matching.
> To allow Unicode chars, implement the matcher using wchar_t chars in
> Cygwin-specific code. Keep the generic code changes as small as possible.
> Cygwin:
2019 Mar 12
2
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Mar 12 11:32, Darren Tucker wrote:
> On Fri, Feb 22, 2019 at 10:29:46AM +0100, Corinna Vinschen wrote:
> > On Feb 22 16:02, Darren Tucker wrote:
> [...]
> > > How's this? If we push the match_usergroup_pattern_list() function up
> > > to OpenBSD it should mean most future diffs will apply cleanly.
> >
> > I like this a lot.
> >
> >
2002 Nov 14
0
Owner and permissions problems when syncing w2k<->w2k
Hi!
I'm having a bit of a problem setting up an rsync
operation between two Windows 2000 servers. On one of
the machines I have started an rsync Daemon (service,
started as administrator) using the lines below.
On the other machine I do a
rsync -Pzrtvpo /cygdrive/d/root/Folder
administrator@192.168.2.4::root
What happens is that all transferred files (no problem
with the actual transfer)
2004 Aug 22
0
[PATCH] openbsd-compat/mktemp.c: Compile time error with gcc 3.4
Hi,
the below patch avoids a compile time error on Cygwin, when using
gcc 3.4.x. The #ifdef is superfluous anyway.
Thanks,
Corinna
Index: openbsd-compat/mktemp.c
===================================================================
RCS file: /cvs/openssh_cvs/openbsd-compat/mktemp.c,v
retrieving revision 1.6
diff -p -u -r1.6 mktemp.c
--- openbsd-compat/mktemp.c 24 Nov 2003 02:33:34 -0000
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
Hi All.
While wandering in auth-pam.c I noticed that there's a few Portable-specific
escapees from the xmalloc(foo * bar) cleanup.
There's also a "probably can't happen" integer overflow in
ssh-rand-helper.c with the memset:
num_cmds = 64;
- entcmd = xmalloc(num_cmds * sizeof(entropy_cmd_t));
+ entcmd = xcalloc(num_cmds, sizeof(entropy_cmd_t));