Use of acl on smb related filesystems

2012-01-23 Thread Andrew DeFaria
OK I'm starting a new thread here for this different problem. Here's a problem statement: Ltsdo-adefaria:pwd /home/adefaria Ltsdo-adefaria:mount | grep adefaria //fs-irva-82/adefaria on /home/adefaria type netapp (binary,user) Ltsdo-adefaria:touch foo Ltsdo-adefaria:ls -l foo -rw-r--r-- 1 adefar

Re: isprint core dump

2012-01-23 Thread Ryan Johnson
On 23/01/2012 4:39 PM, Eric Blake wrote: On 01/23/2012 02:34 PM, Nellis, Kenneth wrote: From: Eric Blake No, but it DOES come from POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html And cygwin's behavior matches POSIX on this point; the bug is in your program, not c

RE: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Buchbinder, Barry (NIH/NIAID) [E]
Keith Christian sent the following at Monday, January 23, 2012 2:00 PM > >> cygwin sent the following at Sunday, January 22, 2012 3:39 PM > >On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E] > wrote: >> /c> cal 9 1752 >> September 1752 >> Su Mo Tu We Th Fr Sa >>1 2 14 1

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Larry Hall (Cygwin)
On 1/23/2012 5:41 PM, Andrew DeFaria wrote: On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote: When I've seen this before on this list, it's because you are in a domain and your user is a domain user. If that's the case, you want to create a domain account to run your sshd server or use a local us

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote: When I've seen this before on this list, it's because you are in a domain and your user is a domain user. If that's the case, you want to create a domain account to run your sshd server or use a local user to ssh in with. If this doesn't describ

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Larry Hall (Cygwin)
On 1/21/2012 5:10 AM, Hans-Georg Scherneck wrote: My cygwin runs on a Windows 7. My problem is similar to a previous one * /From/: Christophe Sauthier * /To/: Cygwin List * /Date/: Wed, 13 Apr 2005 10:39:14 +0200 * /Subject/: Re: Strange behaviour of Openssh however it's really different. My p

Re: isprint core dump

2012-01-23 Thread Eric Blake
On 01/23/2012 02:34 PM, Nellis, Kenneth wrote: > From: Eric Blake > >> No, but it DOES come from POSIX: >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html >> >> And cygwin's behavior matches POSIX on this point; the bug is in your >> program, not cygwin. > > Call me blown a

RE: isprint core dump

2012-01-23 Thread Nellis, Kenneth
From: Eric Blake > No, but it DOES come from POSIX: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html > > And cygwin's behavior matches POSIX on this point; the bug is in your > program, not cygwin. Call me blown away by the level of support this function that dumps core is

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

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 12:45 PM, Len Giambrone wrote: 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. Good approach. Tried it. It worked! More evidence that this

Re: isprint core dump

2012-01-23 Thread Eric Blake
On 01/23/2012 01:44 PM, Nellis, Kenneth wrote: > From: Ryan Johnson > From the isprint() man page: >> /c/ ... must have the value of an /unsigned char/ or *EOF* > > FWIW, that didn't come from the cygwin man page. No, but it DOES come from POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/f

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

2012-01-23 Thread Len Giambrone
msZZjKD4T2HihhNhDDlVYgNSGrSw1rX/8ZfzjgIhzYSZGHswZ+AMxcWn+6k1E7i7xgvjcEqldyF/6O6ofq3TRPliONE3euQSA6SRbH7YKIKmb1+HqxTOy+A= >> dsa-key-20120123 >> >> THIS is what your OpenSSH public key should look like. > I agree 100%. And I did that - to start with, and did it again many times to > ve

RE: isprint core dump

2012-01-23 Thread Nellis, Kenneth
From: Ryan Johnson From the isprint() man page: > /c/ ... must have the value of an /unsigned char/ or *EOF* FWIW, that didn't come from the cygwin man page. --Ken Nellis -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

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

2012-01-23 Thread Andrew DeFaria
/6O6ofq3TRPliONE3euQSA6SRbH7YKIKmb1+HqxTOy+A= dsa-key-20120123 THIS is what your OpenSSH public key should look like. I agree 100%. And I did that - to start with, and did it again many times to verify it, etc. Problem is it constantly fails. I think the problem is really one of permissions, not the

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

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 11:38 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! What "feature" does putty have that I need? A GUI dialog box that I need to fill out to connect to a system? No, you don't need a GUI dialog box to connect to your system with PuTTY. Just invoke it with putty.exe -ssh userna

Re: isprint core dump

2012-01-23 Thread Jon Clugston
On Mon, Jan 23, 2012 at 3:16 PM, Nellis, Kenneth wrote: > I haven't had the chance to try under Linux, but >  isprint(3055872) > is core-dumping on me. Here's a STC: > > == > #include > #include > > int main (void) > { >    int a = 3055872; >    int b = isprin

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

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 11:38 AM, Corinna Vinschen wrote: On Jan 23 11:01, Andrew DeFaria wrote: On 1/23/2012 1:57 AM, Corinna Vinschen wrote: -BEGIN DSA PRIVATE KEY- MIIBuwIBAAKBgQDI+RkFLTib52+4+OzI+035r8fIConadaJuXNd+ZRSOvoLJar44 1m7jgSnp2A52LJ8LJeC99c7NQ1BBoHueRkgBWReH7orWH2T/vlFrPRgIU48vvgPH 4

Re: isprint core dump

2012-01-23 Thread Ryan Johnson
On 23/01/2012 3:16 PM, Nellis, Kenneth wrote: I haven't had the chance to try under Linux, but isprint(3055872) is core-dumping on me. From the isprint() man page: /c/ ... must have the value of an /unsigned char/ or *EOF* The test case probably overruns some internal table by 3MB or so.

isprint core dump

2012-01-23 Thread Nellis, Kenneth
I haven't had the chance to try under Linux, but isprint(3055872) is core-dumping on me. Here's a STC: == #include #include int main (void) { int a = 3055872; int b = isprint(a); printf ("%d %d\n", a, b); return 0; }

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

2012-01-23 Thread Len Giambrone
-key-20120123 THIS is what your OpenSSH public key should look like. -Len On Jan 23, 2012, at 2:01 PM, Andrew DeFaria wrote: > You're right. I made a mistake. Corrected it: > > Ltsdo-adefaria:cat /tmp/sshkey_public > BEGIN SSH2 PUBLIC KEY > Commen

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

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! I believe that PuTTy is SSH2, while Cygwin is OpenSSH. >> PuTTY using it's own format for SSH2 keys. As explained in help file. > That's another thing about these one offs - they invent there own ways > of doing things making them different and not compatible with

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

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! > What "feature" does putty have that I need? A GUI dialog box that I need to > fill out to connect to a system? No, you don't need a GUI dialog box to connect to your system with PuTTY. Just invoke it with putty.exe -ssh username@address It'll use default session conf

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 23:23, Yuri Gribov wrote: > > I have some problems with gethostid functions. > > I have checked the implementation of gethostid in syscalls.cc - it > seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I > checked GUIDs of my machines and they are clearly different so th

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

2012-01-23 Thread Corinna Vinschen
On Jan 23 11:01, Andrew DeFaria wrote: > On 1/23/2012 1:57 AM, Corinna Vinschen wrote: > >>-BEGIN DSA PRIVATE KEY- > >>MIIBuwIBAAKBgQDI+RkFLTib52+4+OzI+035r8fIConadaJuXNd+ZRSOvoLJar44 > >>1m7jgSnp2A52LJ8LJeC99c7NQ1BBoHueRkgBWReH7orWH2T/vlFrPRgIU48vvgPH > >>4OrLFRtmN/uYj/BTbWFilN2jFZiiESSr4p

Re: Problem with gethostid

2012-01-23 Thread Yuri Gribov
> I have some problems with gethostid functions. I have checked the implementation of gethostid in syscalls.cc - it seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I checked GUIDs of my machines and they are clearly different so this is not the reason for error. No idea what's

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

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 1:57 AM, Corinna Vinschen wrote: On Jan 22 16:30, Andrew DeFaria wrote: On 1/22/2012 10:21 AM, Len Giambrone wrote: 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 I tried this. It didn't wo

Re: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Keith Christian
On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > cygwin sent the following at Sunday, January 22, 2012 3:39 PM > /c> cal 9 1752 >   September 1752 > Su Mo Tu We Th Fr Sa >       1  2 14 15 16 > 17 18 19 20 21 22 23 > 24 25 26 27 28 29 30 > > Is this a bug? Not a bug,

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

2012-01-23 Thread Andrew DeFaria
On 01/23/2012 03:02 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! On 1/22/2012 10:21 AM, Len Giambrone wrote: I believe that PuTTy is SSH2, while Cygwin is OpenSSH. PuTTY using it's own format for SSH2 keys. As explained in help file. That's another thing about these one offs - they inve

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

2012-01-23 Thread Andrew DeFaria
On 01/23/2012 02:56 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! I try to explain to people how getting Putty to do ssh, Reflection X to do X11, FireFTP or whatever to do ftp, ActiveState Perl to do Perl, etc. is the wrong way to go about putting together a good set of tools when you can

Re: pure-ftpd access to cygdrive

2012-01-23 Thread Larry Hall (Cygwin)
On 1/22/2012 5:03 AM, Gyurmo wrote: Hello; How can I get access for cygdrive folder from pure-ftpd? If I browse I cant see that. Why? I don't know. Can you see it from bash (or your favorite shell)? Keep in mind that 'cygdrive' is a virtual directory. I'd recommend filing a full problem rep

Re: Elevated prompt under ssh on Windows 7

2012-01-23 Thread Timothy Madden
On 18.01.2012 16:16, Corinna Vinschen wrote: On Jan 18 07:58, Ryan Johnson wrote: On 18/01/2012 7:12 AM, Timothy Madden wrote: Is there a way to get the remote shell not to run elevated under sshd, even if the user could otherwise run programs elevated in the native Windows OS ? I suspect you

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 10:53, Corinna Vinschen wrote: > While gethostid is not guaranteed to return a globally unique ID, I > think I see the potential flaws in the algorithm. It shouldn't be too > hard to make it a bit more intelligent. > > Or, we just replace it with a simple algorithm as it's described in

Re: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Andrey Repin
Greetings, cygwin! > Thanks for corroborating my finding. Does anybody else think it is odd > that this has not been pointed out before? My Ubuntu Hardy box exhibiting the same behavior. > Why would date use signed long integers to hold numbers of seconds? Because, you know, UNIX time is a nu

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

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! > On 1/22/2012 10:21 AM, Len Giambrone wrote: >> I believe that PuTTy is SSH2, while Cygwin is OpenSSH. PuTTY using it's own format for SSH2 keys. As explained in help file. >> You can convert them using ssh-keygen: >> >> ssh-keygen -f putty_key -i> openssh_key > I tr

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

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! > I try to explain to people how getting Putty to do ssh, Reflection X to > do X11, FireFTP or whatever to do ftp, ActiveState Perl to do Perl, etc. > is the wrong way to go about putting together a good set of tools when > you can more simply just get Cygwin to do all

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

2012-01-23 Thread Corinna Vinschen
On Jan 22 16:30, Andrew DeFaria wrote: > On 1/22/2012 10:21 AM, Len Giambrone wrote: > >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 > I tried this. It didn't work. Same error as before. > > Re

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 22 17:52, Yuri Gribov wrote: > Hi all, > > I have some problems with gethostid functions. When I run it on some > nodes of my cluster I get the same return value although hostnames and > IP addresses are different. Here are the logs for 2 nodes (test > program is in the attach, as well as c