Re: cygrunsrv no longer allows domain user

2015-03-31 Thread Len Giambrone
On 03/31/2015 06:04 AM, Corinna Vinschen wrote: On Mar 30 14:07, Len Giambrone wrote: This used to work (before Corinna's db work): $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme -p /cygdrive/f/tut/install.sh cygrunsrv: Error installing a service: CreateService

Re: cygrunsrv no longer allows domain user

2015-03-31 Thread Len Giambrone
On 03/31/2015 02:00 PM, Len Giambrone wrote: On 03/31/2015 06:04 AM, Corinna Vinschen wrote: On Mar 30 14:07, Len Giambrone wrote: This used to work (before Corinna's db work): $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme -p /cygdrive/f/tut/install.sh

cygrunsrv no longer allows domain user

2015-03-30 Thread Len Giambrone
This used to work (before Corinna's db work): $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme -p /cygdrive/f/tut/install.sh cygrunsrv: Error installing a service: CreateService: Win32 error 1057: The account name is invalid or does not exist, or the password is

gid doesn't display correctly on SAMBA share using AD

2015-02-25 Thread Len Giambrone
Using the latest cygwin: $ cygcheck -c cygwin Cygwin Package Information Package VersionStatus cygwin 1.7.34-6 OK I've asked my admin to update the uidNumber and gidNumber in AD. He has done so: DistinguishedName :

Re: gid doesn't display correctly on SAMBA share using AD

2015-02-25 Thread Len Giambrone
On 02/25/2015 11:18 AM, Corinna Vinschen wrote: On Feb 25 11:01, Len Giambrone wrote: Using the latest cygwin: $ cygcheck -c cygwin Cygwin Package Information Package VersionStatus cygwin 1.7.34-6 OK I've asked my admin to update the uidNumber

Re: gid doesn't display correctly on SAMBA share using AD

2015-02-25 Thread Len Giambrone
On 02/25/2015 12:20 PM, Corinna Vinschen wrote: On Feb 25 11:51, Len Giambrone wrote: On 02/25/2015 11:18 AM, Corinna Vinschen wrote: On Feb 25 11:01, Len Giambrone wrote: [...] The username displays correctly, but the group name does not: $ ls -la foo -rw-rw-r-- 1 build Unix_Group+999 0

Re: gid doesn't display correctly on SAMBA share using AD

2015-02-25 Thread Len Giambrone
On 02/25/2015 12:34 PM, Corinna Vinschen wrote: On Feb 25 12:26, Len Giambrone wrote: On 02/25/2015 12:20 PM, Corinna Vinschen wrote: On Feb 25 11:51, Len Giambrone wrote: On 02/25/2015 11:18 AM, Corinna Vinschen wrote: On Feb 25 11:01, Len Giambrone wrote: [...] The username displays

Re: bug in csih?

2015-02-23 Thread Len Giambrone
name is failing to become WX64LG+cyg_server and get back to you. On 02/23/2015 09:47 AM, Corinna Vinschen wrote: On Feb 23 13:05, Corinna Vinschen wrote: On Feb 20 18:32, Len Giambrone wrote: Running the latest version: $ cygcheck -c cygwin openssh csih Cygwin Package Information Package

Re: bug in csih?

2015-02-23 Thread Len Giambrone
,,*} != ${LOGONSERVER,,*} ] then # Lowercase of USERDOMAIN csih_PRIVILEGED_USERNAME=${COMPUTERNAME,,*}+${username} fi fi So I'm guessing you should remove the !. On 02/23/2015 11:15 AM, Len Giambrone wrote: Yes, WX64LG is the machine name. $ net user sshd /delete The command

Re: bug in csih?

2015-02-23 Thread Len Giambrone
: On Feb 23 11:48, Len Giambrone wrote: csih_use_file_etc returns 0 on my system (as it should with no passwd file, right?) Uhm, no. It should return 0 if you *use* the files (0 == true in the shell), That should be only the case if you're running Cygwin 1.7.33 or if your nsswitch.conf file says so

Re: bug in csih?

2015-02-23 Thread Len Giambrone
) and use_file is being set to 0. On 02/23/2015 12:55 PM, Len Giambrone wrote: If that is the case, then there is a bug in csih_old_cygwin: build@wx64lg /usr/share/csih $ uname -a CYGWIN_NT-6.1 wx64lg 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin build@wx64lg /usr/share/csih $ less cygwin-service

Re: bug in csih?

2015-02-23 Thread Len Giambrone
, Len Giambrone wrote: My bad, csih_old_cygwin works as documented. But there is a bug in csih_use_file_etc: $ cat /etc/nsswitch.conf # /etc/nsswitch.conf # #This file is read once by the first process in a Cygwin process tree. #To pick up changes, restart all Cygwin processes

bug in csih?

2015-02-20 Thread Len Giambrone
Running the latest version: $ cygcheck -c cygwin openssh csih Cygwin Package Information Package VersionStatus csih 0.9.8-5OK cygwin 1.7.34-6 OK openssh 6.7p1-2OK When I run ssh-host-config -y -w X I

Re: cygwin 1.7.13-1: can't execute shell scripts on samba share

2012-04-20 Thread Len Giambrone
/kits $ sh -x ./len.sh + echo it works it works HaND, -Original Message- No. That works. presumably because it's executing bash and not the script itself. -Len On Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote: On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone len.giambr

cygwin 1.7.13-1: can't execute shell scripts on samba share

2012-04-18 Thread Len Giambrone
I'm can't execute shell scripts on a samba share served by our linux boxes. lgiambro@lorien //kitserver/kits $ ls -la len.sh -rwx-- 1 lgiambro releng 24 Apr 18 10:48 len.sh lgiambro@lorien //kitserver/kits $ cat len.sh #!/bin/sh echo it works lgiambro@lorien //kitserver/kits $ ./len.sh

Re: cygwin 1.7.13-1: can't execute shell scripts on samba share

2012-04-18 Thread Len Giambrone
No. That works. presumably because it's executing bash and not the script itself. -Len On Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote: On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone len.giambr...@intersystems.com wrote: I'm can't execute shell scripts on a samba share served by our

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Len Giambrone
That looks like an SSH2 key, not an OpenSSH key. I downloaded puttygen to see exactly what you see. And after you load a key (generate one) right at the top it says: Public key for pasting into OpenSSH authorized_keys file: _key here_ For example, here is what it says for the key I just

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Len Giambrone
Well, try adding the key to authorized_keys on a box where you have ssh working and see if it works. If not, you know you have a key problem. If so, you know you have a permissions problem. -Len On Jan 23, 2012, at 3:40 PM, Andrew DeFaria wrote: On 1/23/2012 11:59 AM, Len Giambrone wrote

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-22 Thread Len Giambrone
I believe that PuTTy is SSH2, while Cygwin is OpenSSH. You can convert them using ssh-keygen: ssh-keygen -f putty_key -i openssh_key -Len On Jan 22, 2012, at 1:47 AM, Andrew DeFaria wrote: On 01/21/2012 07:28 PM, Andrey Repin wrote: Well, *I* am using Cygwin SSH and PuTTY. And I've had

Re: Who's using CYGWIN=tty and why?

2011-05-10 Thread Len Giambrone
This time with a subject; apologies if the first one gets through. We use windows native jam which spawns any number of cmd, cygwin, or studio processes. If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we get: The handle is invalid. Every time output goes to the screen.

determining what user mounted a drive

2011-05-10 Thread Len Giambrone
Is there a way of determining with what user credentials a share was mounted? I suppose I could touch a file on the drive and then find out who the owner is, but that's not ideal. mount will tell me that it's a user mount, but won't tell me WHICH user. Is there some way (windows native or

combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty

2011-04-25 Thread Len Giambrone
Greetings. If I set CYGWIN=tty, then cygwin programs die with *** fatal error - couldn't initialize fd 0 for /dev/ttyN Example: C:\cygwin\home\lgiambrobash -c cmd /c 'ls'   0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initiali ze fd 0 for /dev/tty7   0 [main] ls

bash 4.1.10: SHELLOPTS questions -- different behavior between sh and bash

2011-04-22 Thread Len Giambrone
Greetings. I'm running the latest (as of a few days ago) Cygwin and bash. Cygwin Package Information Package VersionStatus bash 4.1.10-4 OK cygwin 1.7.9-1OK If I set -o igncr, and then export SHELLOPTS as stated in

Re: ssh-add cannot connect to authentication agent

2007-05-17 Thread Len Giambrone
with McAfee on WXP though. Tim Len Giambrone wrote: The agent starts correctly, but I can't get ssh-add to give me anything other than: Could not open a connection to your authentication agent. I'm running the latest Cygwin/packages. The socket is where it's supposed to be, the env

ssh-add cannot connect to authentication agent

2007-05-16 Thread Len Giambrone
Service : sshd Display name: CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D -Len Giambrone -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: sshd problems

2002-10-10 Thread Len Giambrone
This will help getting you running from the command line: If your files are owned and only readable by SYSTEM, it's harder to run sshd from the command line. Try either: Changing /etc/ssh*key* to be owned by the user you are starting sshd as OR Specifying a new host key with -h:

Re: sshd problems

2002-10-10 Thread Len Giambrone
: $ ls -ld /var/empty drwxr-xr-x2 SYSTEM SYSTEM 0 Jul 24 11:39 /var/empty -Original Message- From: David Monk [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:31 PM To: Len Giambrone Cc: [EMAIL PROTECTED] Subject: Re: sshd problems Generating

1.3.12-4: editing /etc/passwd causes ssh to fail

2002-10-08 Thread Len Giambrone
This is on an installation using setup today with the latest packages on archive.progeny.net. It's running Win2k Server. I think I've also verified this on my XP HE box at home. I can happily ssh into my box. $ ssh Administrator@foo Warning: Remote host denied X11 forwarding. Last login: Tue

Re: 1.3.12-4: editing /etc/passwd causes ssh to fail

2002-10-08 Thread Len Giambrone
had time to investigate what is causing the problem but it starting occurring in one of the recent releases of ssh in which privilege separation was added. -Original Message- From: Len Giambrone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:18 PM To: [EMAIL

Re: 1.3.12-4: editing /etc/passwd causes ssh to fail

2002-10-08 Thread Len Giambrone
Message- From: Len Giambrone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: 1.3.12-4: editing /etc/passwd causes ssh to fail This is on an installation using setup today with the latest packages on archive.progeny.net

Re: 1.3.12-4: editing /etc/passwd causes ssh to fail

2002-10-08 Thread Len Giambrone
haven't had time to investigate what is causing the problem but it starting occurring in one of the recent releases of ssh in which privilege separation was added. -Original Message- From: Len Giambrone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:18 PM

setup patch: local directory on command line

2002-10-03 Thread Len Giambrone
Len Giambrone [EMAIL PROTECTED] * source.cc (SourcePage::OnActivate): Support specification of Local install directory from command line. * localdir.cc (LocalDirPage::OnInit): Initialize local_dir from command line if available. * state.cc: add

Re: setup.exe and 'default/skip/install/reinstall' question

2002-09-29 Thread Len Giambrone
Ah, I didn't realize that you were suggesting changing the categories of the desired packages to be base. That makes a whole lot of sense. Thanks. -Len Robert Collins [EMAIL PROTECTED] writes: On Sat, 2002-09-28 at 03:21, Len Giambrone wrote: This will cause

Re: setup.exe and 'default/skip/install/reinstall' question

2002-09-27 Thread Len Giambrone
Robert Collins [EMAIL PROTECTED] writes: On Fri, 2002-09-27 at 21:08, Leon KUKOVEC wrote: Hi, I read the documents about setup.hint and setup.ini but I could not find the answer to my question. I want to change the 'default' install behaviour of setup.exe so that it will include

setup HEAD (2.278) defaults to older packages

2002-09-19 Thread Len Giambrone
On the dialogs I choose: Download Source: Download from Internet OR Install from Internet Local package dir: C:\cygdist Internet Connection: Direct Connection Download Site: ftp://archive.progeny.com Now when the Chooser window comes up, I click on Base, and I see ash:

Re: unattended mode/command switches to setup

2002-08-11 Thread Len Giambrone
and StringOption? Given the existence of all possible extra args to these functions, I would expect some function to seamlessly put it all together, but I can't find it. -Len Robert Collins [EMAIL PROTECTED] writes: On Mon, 2002-08-12 at 09:02, Len Giambrone wrote: I would

Re: unattended mode/command switches to setup

2002-08-11 Thread Len Giambrone
Ooops. Sorry about that. -Len Harry Johnston [EMAIL PROTECTED] writes: Len Giambrone [EMAIL PROTECTED] wrote: Great. It seems he also forgot to mention another option he added: -r --no-replaceonreboot Prevent the replacement of an in-use file on reboot

Re: unattended mode/command switches to setup

2002-08-11 Thread Len Giambrone
Are you referring to OptionSet::ParameterUsage? -Len Robert Collins [EMAIL PROTECTED] writes: On Mon, 2002-08-12 at 11:26, Len Giambrone wrote: Great. It seems he also forgot to mention another option he added: -r --no-replaceonreboot Prevent

1.3.10: cygrunsrv dumps core when passwd not present (.NET Server)

2002-04-26 Thread Len Giambrone
) 0022FF60 61004275 (, , , 77F6) 0022FF90 0040740B (00404028, F6461CA0, 80065330, ) 0022FFC0 0040103D (E3E2E1E0, E7E6E5E4, 7FFDF000, ) End of stack trace (more stack frames may be present) -Len -- Len Giambrone, Akamai