Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-23 Thread Wells, Roger K.
On 01/23/2017 02:50 PM, Achim Gratz wrote: Corinna Vinschen writes: COMPUTERNAME is the same as LOGONSERVER on non-domain machines as well as on domain controllers. So this `if' test if the machine is a domain member machine. I can supply another cornercase where LOGONSERVER is not set: if you

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-23 Thread Achim Gratz
Corinna Vinschen writes: > COMPUTERNAME is the same as LOGONSERVER on non-domain machines as well > as on domain controllers. So this `if' test if the machine is a domain > member machine. I can supply another cornercase where LOGONSERVER is not set: if you run an sshd under the (only) user that

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-23 Thread Corinna Vinschen
On Jan 23 14:12, Shaddy Baddah wrote: > On 21/01/17 09:40, szgyg wrote: > > On 1/19/2017 7:16 PM, Corinna Vinschen wrote: > >> The idea is that if LOGONSERVER == COMPUTERNAME your > >> machine is not in a domain. Actually, I *never* encountered an > >> environment > >> in which LOGONSERVER isn't s

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-22 Thread Shaddy Baddah
Hi, On 20/01/17 05:16, Corinna Vinschen wrote: On Jan 19 22:26, Shaddy Baddah wrote: Hi, On 19/01/17 21:38, Corinna Vinschen wrote: On Jan 18 14:34, Shaddy Baddah wrote: ... And I'm sure the problem is that this well-intended change to the script fails on the assumption that LOGONSERVER

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-20 Thread szgyg
On 1/19/2017 7:16 PM, Corinna Vinschen wrote: The idea is that if LOGONSERVER == COMPUTERNAME your machine is not in a domain. Actually, I *never* encountered an environment in which LOGONSERVER isn't set. It's empty if you're using RunAs. szgyg -- Problem reports: http://cygwin.com/p

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-19 Thread Corinna Vinschen
On Jan 19 22:26, Shaddy Baddah wrote: > > Hi, > > On 19/01/17 21:38, Corinna Vinschen wrote: > > On Jan 18 14:34, Shaddy Baddah wrote: > ... > > > > And I'm sure the problem is that this well-intended change to the script > > > fails on the assumption that LOGONSERVER is always populated. It isn

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-19 Thread Shaddy Baddah
Hi, On 19/01/17 21:38, Corinna Vinschen wrote: On Jan 18 14:34, Shaddy Baddah wrote: ... And I'm sure the problem is that this well-intended change to the script fails on the assumption that LOGONSERVER is always populated. It isn't for me on Vista. cygwin-service-installation-helper.sh:288

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-19 Thread Corinna Vinschen
On Jan 18 14:34, Shaddy Baddah wrote: > Hi, > > First please find attached a simple patch that fixes a problem I > encountered running ssh-host-config with the --debug option. Thanks, applied. > And I'm sure the problem is that this well-intended change to the script > fails on the assumption th

Re: ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-17 Thread Shaddy Baddah
Hi, On 18/01/17 14:34, Shaddy Baddah wrote: First please find attached a simple patch that fixes a problem I encountered running ssh-host-config with the --debug option. Also, it'd be nice if an enhancement was made to protect the privacy of silly people. -- Regards, Silly person -- Probl

ssh-host-config: patch fix debug option + broken for me on Vista (non-domain)

2017-01-17 Thread Shaddy Baddah
Hi, First please find attached a simple patch that fixes a problem I encountered running ssh-host-config with the --debug option. Pretty simple. Without redirecting the output of csih_stacktrace() to stderr, then (3.5.4) Command Substitution of functions that call it will run into problems. And

Re: ssh-host-config patch

2007-01-13 Thread Corinna Vinschen
On Jan 12 17:54, Miguel A. Figueroa-Villanueva wrote: > Hello Everyone, > > When configuring sshd host with the ssh-host-config script I got > errors from the chown commands at the end of the script. The reason is > that my /etc/group file sets S-1-5-32-544 to 0 not 544 (my > passwd/group files ar

ssh-host-config patch

2007-01-12 Thread Miguel A. Figueroa-Villanueva
Hello Everyone, When configuring sshd host with the ssh-host-config script I got errors from the chown commands at the end of the script. The reason is that my /etc/group file sets S-1-5-32-544 to 0 not 544 (my passwd/group files are printed below). I think the following patch is appropriate so t

Re: ssh-host-config patch

2005-03-13 Thread Pierre A. Humblet
At 04:04 PM 3/13/2005 -0500, Igor Pechtchanski wrote: >On Sat, 12 Mar 2005, Pierre A. Humblet wrote: > >> This patch makes ssh-host-config handle the case where the user >> has renamed the Administrators group in /etc/group or has several >> entries with the same SID (e.g. also root). > >Pierre, >

Re: ssh-host-config patch

2005-03-13 Thread Igor Pechtchanski
On Sat, 12 Mar 2005, Pierre A. Humblet wrote: > This patch makes ssh-host-config handle the case where the user > has renamed the Administrators group in /etc/group or has several > entries with the same SID (e.g. also root). Pierre, Do you ming explaining how this patch makes it any better if t

Re: ssh-host-config patch

2005-03-13 Thread Corinna Vinschen
On Mar 12 09:32, Pierre A. Humblet wrote: > This patch makes ssh-host-config handle the case where the user > has renamed the Administrators group in /etc/group or has several > entries with the same SID (e.g. also root). > > Pierre Cool, thanks. I'll apply it to the upcoming 4.0p1-1 release.

ssh-host-config patch

2005-03-12 Thread Pierre A. Humblet
This patch makes ssh-host-config handle the case where the user has renamed the Administrators group in /etc/group or has several entries with the same SID (e.g. also root). Pierre --- ssh-host-config.orig2005-03-12 09:11:57.196148000 -0500 +++ ssh-host-config 2005-03-12 09:15:41.868