Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Danilo Turina
The "problem" is that logging with ssh with your username you are not really logged as your user (that has the network drives mapped) but, instead, as SYSTEM (that has no network drive map (also because it is not a network user)). This also applies to telnet and to all the other mechanisms tha

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Corinna Vinschen
On Nov 24 10:00, Danilo Turina wrote: > The "problem" is that logging with ssh with your username you are not > really logged as your user (that has the network drives mapped) but, > instead, as SYSTEM (that has no network drive map (also because it is > not a network user)). > > This also appl

/dev/console : permission denied

2005-11-24 Thread Christopher McIntosh
Hello cygwinites! In my /var/log/messages file (from syslogd), I find the following message: init : open(/dev/console): Permission denied this message appears whenever init is started or stopped. I've searched and searched but find no mention of it in the newsgroups. Any insight will be much

Re: WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-24 Thread Corinna Vinschen
On Nov 23 11:56, Jeff Hardy wrote: > I understand that windows does not allow sending open file descriptors > over sockets and that is the reason that session multiplexing through > a control master doesn't work. The documentation for > WSADuplicateSocket states that the resulting WSAPROTOCOL_INFO

Re: Cygwin connection closing running on Server 2003

2005-11-24 Thread Corinna Vinschen
On Nov 23 22:21, Larry Hall (Cygwin) wrote: > On 11/23/2005, Jack Romano wrote: > >I am running Cygwin 1.5.18 on Windows Sever 2003 with all current updates. > >My problem pertains to OpenSSH 4.2p1-1. I ran the setup script for OpenSSH > >and used the tool to import my Windows users. I am able to

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Danilo Turina
Corinna Vinschen wrote: On Nov 24 10:00, Danilo Turina wrote: The "problem" is that logging with ssh with your username you are not really logged as your user (that has the network drives mapped) but, instead, as SYSTEM (that has no network drive map (also because it is not a network user)).

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Corinna Vinschen
On Nov 23 22:34, Christian Franke wrote: > Corinna Vinschen wrote: > > >[...] > > /* foo */ > > > > /* foo bla ... > >... blub */ > > > > > > ;-) > > > Sorry, I have no time now to answer in detail, let net new patch speak > for itself ;-) > > http://franke.dvrdns.org/cygwin/cygrunsrv-pi

Re: /dev/console : permission denied

2005-11-24 Thread Chris Taylor
Christopher McIntosh wrote: Hello cygwinites! In my /var/log/messages file (from syslogd), I find the following message: init : open(/dev/console): Permission denied this message appears whenever init is started or stopped. I've searched and searched but find no mention of it in the newsgroup

Re: WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-24 Thread Samuel Thibault
Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a écrit : > You're missing the infrastructure necessary to send file descriptor > data between processes. This is not trivial indeed, but it is _possible_, isn't it? Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

Fwd: cygwin tools in context menus

2005-11-24 Thread Rupert Brooks
Hello, What i would like to do, is be able to right click on a file in Windows explorer and have a cygwin tool be avaiable either for the open, or the open with command. I've tried quite a variety of things, and i've gotten close... but so far no cigar. Heres a description of what i tried and t

Re: /dev/console : permission denied

2005-11-24 Thread Christopher McIntosh
Chris: Thanks for your prompt response! Sorry for the lack of details... I've been running cygwin for about 5 years now and love it! However, I only recently began using syslogd (and therefore had not noticed the issue before). Running on WinXP Pro/SP2. 'cygcheck -c cygwin' reports 1.5.1

Re: /dev/console : permission denied

2005-11-24 Thread Chris Taylor
Christopher McIntosh wrote: Chris: Thanks for your prompt response! Sorry for the lack of details... I've been running cygwin for about 5 years now and love it! However, I only recently began using syslogd (and therefore had not noticed the issue before). Running on WinXP Pro/SP2. 'cygc

Re: Fwd: cygwin tools in context menus

2005-11-24 Thread Brian Dessent
Rupert Brooks wrote: > What i would like to do, is be able to right click on a file in > Windows explorer and have a cygwin tool be avaiable either for the > open, or the open with command. I've tried quite a variety of things, > and i've gotten close... but so far no cigar. Heres a description

Re: Persisting values of environment variables

2005-11-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Nate Meyer on 11/23/2005 11:27 AM: > I'm trying to change the value of $HOME. If I do something like "export > HOME="c:/whatever" $HOME is changed for that session. But after Cygwin is > closed and restarted $HOME is set back to the defaul

Re: P.S. cygheap base mismatch

2005-11-24 Thread Lester Ingber
I will try the new snapshot. I just noticed that my original posting on this thread has re-appeared 23 Nov 05 00:47 UTC? I didn't resend this? Perhaps someone could check the headers. Thanks. Lester On Thu, Nov 24, 2005 at 12:13:31AM -0500, Christopher Faylor wrote: : Date: Thu, 24 Nov 2005 0

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Christian Franke
Corinna Vinschen wrote: > [...] > > Open issue: signals are blocked in waitanypid(). > > I'll have a look into it, but I'm fairly busy at the moment. If the --pidfile option is used, signals sent to cygrunsrv will not be routed to service because cygrunsrv is blocked in WaitForSingleObject(). Thi

Re: Persisting values of environment variables

2005-11-24 Thread Thorsten Kampe
* Nate Meyer (2005-11-23 18:27 +0100) > I'm trying to change the value of $HOME. If I do something like "export > HOME="c:/whatever" $HOME is changed for that session. But after Cygwin is > closed and restarted You cannot start or close Cygwin... > $HOME is set back to the default /home/user. Su

RE: Persisting values of environment variables

2005-11-24 Thread Dave Korn
Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Nate Meyer on 11/23/2005 11:27 AM: >> I'm trying to change the value of $HOME. If I do something like "export >> HOME="c:/whatever" $HOME is changed for that session. But after Cygwin is >> closed and restarted $H

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Brian Dessent
Christian Franke wrote: > Unlike syslog, windows event log is intended to store only message > parameters, not complete messages. > The (probably localized) messages must be provided by such an "event > message file" (the misleading MS-term;-), which is essentially an .exe > or .dll containing (me

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Corinna Vinschen
On Nov 24 15:03, Christian Franke wrote: > Corinna Vinschen wrote: > > [...] > > > Open issue: signals are blocked in waitanypid(). > > > > I'll have a look into it, but I'm fairly busy at the moment. > > If the --pidfile option is used, signals sent to cygrunsrv will not be > routed to service b

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Corinna Vinschen
On Nov 24 06:28, Brian Dessent wrote: > This sucks because it means that to truly do this right, the code in > Cygwin's openlog() has got to add these keys every time it's called. > But it can't just blindly overwrite whatever event source might exist > already because otherwise a malicious applic

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Corinna Vinschen
On Nov 24 12:26, Danilo Turina wrote: > Corinna Vinschen wrote: > >On Nov 24 10:00, Danilo Turina wrote: > > > >>The "problem" is that logging with ssh with your username you are not > >>really logged as your user (that has the network drives mapped) but, > >>instead, as SYSTEM (that has no netwo

Re: WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-24 Thread Corinna Vinschen
On Nov 24 12:39, Samuel Thibault wrote: > Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a écrit : > > You're missing the infrastructure necessary to send file descriptor > > data between processes. > > This is not trivial indeed, but it is _possible_, isn't it? Well, sure, everything is po

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Brian Dessent
Corinna Vinschen wrote: > Is that worth the effort? I really love to use syslogd (and logging > to my remote Linux box ;-)) True. However there is something to be said for keeping all of the logging in one place, rather than having to look in the event log for windows apps and in a separate sys

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Corinna Vinschen
On Nov 24 08:02, Brian Dessent wrote: > I figure, when in Rome, log events as the Romans... LOL. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygw

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Corinna Vinschen
On Nov 24 16:40, Corinna Vinschen wrote: > On Nov 24 12:26, Danilo Turina wrote: > > Corinna Vinschen wrote: > > >On Nov 24 10:00, Danilo Turina wrote: > > > > > >>The "problem" is that logging with ssh with your username you are not > > >>really logged as your user (that has the network drives ma

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Danilo Turina
Corinna Vinschen wrote: [...] Earlier versions of NT (4.0, W2K(?)) have kept the established connections across logins. At least since XP the connections are local to the logon session. This means, you don't have the shares available automatically, but you can reestablish them in your new login

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Ramón Barrés
> Again, just to be clear about this, this only works for password > authentication, not for pubkey ssh or .rhosts based authentication. Will there be some modification about this fact? Or maybe it's impossible? Thanks. Ramón. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

[ANNOUNCEMENT] Updated: bzr 0.6.2 -- Next-generation distributed version control (like GNU arch)

2005-11-24 Thread Jari Aalto
PACKAGE DESCRIPTION === Home page: http://freshmeat.net/projects/bzr/ License : GPL Next-generation distributed version control similar to GNU Arch. Distributed version control system that is powerful, friendly, and scalable implemented in Python. - Just one .bzr directory at

Re: WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-24 Thread Samuel Thibault
Corinna Vinschen, le Thu 24 Nov 2005 16:41:38 +0100, a écrit : > On Nov 24 12:39, Samuel Thibault wrote: > > Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a écrit : > > > You're missing the infrastructure necessary to send file descriptor > > > data between processes. > > > > This is not tr

Re: WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-24 Thread Christopher Faylor
On Thu, Nov 24, 2005 at 05:41:39PM +0100, Samuel Thibault wrote: >Corinna Vinschen, le Thu 24 Nov 2005 16:41:38 +0100, a ?crit : >>On Nov 24 12:39, Samuel Thibault wrote: >>>Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a ?crit : You're missing the infrastructure necessary to send file d

Re: /dev/console : permission denied

2005-11-24 Thread Christopher McIntosh
Chris: Thanks for the tip about 'cygcheck -s -v -r' however, msvcrt.dll is reporting a problem while attempting to execute 'cygcheck -s'. Windows Event log shows: - snip - Faulting application cygcheck.exe, version 0.0.0.0, fault

Re: RES: Problem accessing samba shares via ssh in XP

2005-11-24 Thread Corinna Vinschen
On Nov 24 17:21, Ram?n Barr?s wrote: > > Again, just to be clear about this, this only works for password > > authentication, not for pubkey ssh or .rhosts based authentication. > > Will there be some modification about this fact? Or maybe it's impossible? It's probably not impossible, but it loo

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Christian Franke
Corinna Vinschen wrote: On Nov 24 08:02, Brian Dessent wrote: I figure, when in Rome, log events as the Romans... LOL. ;-) Beeing in Rome, you might want to reduce the traffic in Rome... In particular, if verbose apps output to event log via syslog(), this results in many si

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Corinna Vinschen
On Nov 24 18:14, Christian Franke wrote: > In particular, if verbose apps output to event log via syslog(), this > results in many single line event log entries. > The native win release of smartd.exe writes multiline eventlog entries > containing all syslog() lines appearing within a second. > Y

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-24 Thread Christian Franke
Corinna Vinschen wrote: On Nov 24 18:14, Christian Franke wrote: In particular, if verbose apps output to event log via syslog(), this results in many single line event log entries. The native win release of smartd.exe writes multiline eventlog entries containing all syslog() lines appearin

How to use gpc ?

2005-11-24 Thread Alireza Ghasemi
hello all, I tried to compile a typical program with gpc, but I got the following error : " gpc: Internal GPC problem: internal option `--amtmpfile' not given " Any idea about making it work ? thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://

[ANNOUNCEMENT] Updated: mathomatic-12.5.2-1

2005-11-24 Thread Reini Urban
I've updated the version of mathomatic to 12.5.2-1. It should appear at the mirrors soon. There have been many improvements and bug fixes since version 12.4.3. Changes: http://mathomatic.orgserve.de/changes.txt About: Mathomatic is a highly portable, general purpose symbolic console math progra

[ANNOUNCEMENT] Updated: neon-0.24.7-2

2005-11-24 Thread Max Bowsher
Neon, a WebDAV client library, used by subversion and cadaver, has been updated to 0.24.7-2. This is a simple rebuild of the existing version, to link against OpenSSL 0.9.8 instead of 0.9.7. Max Bowsher. -- To update your installation, click on the "Install Cygwin now" link on the http://cygw

Re: [ANNOUNCEMENT] Updated: mathomatic-12.5.2-1

2005-11-24 Thread Eric Blake
> I've updated the version of mathomatic to 12.5.2-1. > It should appear at the mirrors soon. Did you mean to send this to cygwin-announce? And it is a bit premature, 12.5.2 has not been uploaded just yet (but I'm working on that). -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/

Re: [ANNOUNCEMENT] Updated: mathomatic-12.5.2-1

2005-11-24 Thread Reini Urban
Sorry, I hit the [Send] button too early. I wanted to store it locally to send it tomorrow, but now it's too late. 2005/11/24, Eric Blake <[EMAIL PROTECTED]>: > > I've updated the version of mathomatic to 12.5.2-1. > > It should appear at the mirrors soon. > > Did you mean to send this to cygwin-a

Cygwin FAQ for NT Emacs

2005-11-24 Thread Lennart Borgman
I think the little correction suggested here never got done for some reason: http://lists.gnu.org/archive/html/help-emacs-windows/2002-05/msg00079.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Problem with 'find' since Cygwin update

2005-11-24 Thread Mark Wright
All, I have the same problem as highlighted in this post: http://www.cygwin.com/ml/cygwin/2005-10/msg00510.html I updated Cygwin for the first time in many months, and now 'find' is broken. I actually discovered it by running 'updatedb', which produces no results right now because of 'find' being

[ANNOUNCEMENT] Updated: curl-7.15.0-3, curl-devel-7.15.0-3, libcurl2-7.11.1-2, libcurl3-7.15.0-3

2005-11-24 Thread Brian Dessent
I've updated cURL to version 7.15.0. cURL is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, TFTP, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. curl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, us

Re: /dev/console : permission denied

2005-11-24 Thread Christopher McIntosh
For anyone who may have similar issue re: 'cygcheck -s -v -r' causing the problem which I previously reported, I found a possible cause. (I'd be interested to know if someone can verify my findings herein.) 'cygcheck -s' caused Windows XP Pro/SP2 to log an error to the event log as described

sshd via XP Service vs. sshd init daemon

2005-11-24 Thread Christopher McIntosh
Cyg-winners: I have a question that the FAQs do not seem to address. It is possible to install sshd as an init daemon (via usr/sbin/chkconfig --add) *and* it is also possible to install sshd as a full-fledged XP service (via /usr/bin/ssh-host-config). QUERY: What are the pros and cons of ea

Re: sshd via XP Service vs. sshd init daemon

2005-11-24 Thread Brian Dessent
Christopher McIntosh wrote: > QUERY: What are the pros and cons of each method? > > IMO, I prefer to have less full-fledged services; then it is simpler to > start several daemons (e.g., xinetd, sshd, ftpd, ...) via a single 'net > start init' or 'cygrunsrv --start init' reducing the number of t