RE: NTsec permissions issue over inet

2003-05-30 Thread Banville, Stephen
Larry,
The remote shares are NFS and SIFS volumes only. In the past
acessing
the shared volume as //netapp0/sbanville$ has always worked fine for me.
Could you tell which key to look at to verify the SID ?

Any help would be greatly appreciated.

Thanks,

Steve


 

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 9:52 AM
To: Banville, Stephen
Cc: '[EMAIL PROTECTED]'
Subject: Re: NTsec permissions issue over inet


Banville, Stephen wrote:

> My system that I have Cygwin running on is a Windows 2000 platform. I have
> set the appropriate environment variable for ntsec


This isn't necessary anymore.


> and have created the appropriate passwd and group files from my network
> domain. When I telnet, rsh, or ftp into my Window 2k box
> I get the following message:   
> 
> rsh 127.0.0.1 -l sbanville
> Password:
> Private Cygnus Operating System(c) 5.1.0
> UNAUTHORIZED ACCESS STRICTLY PROHIBITED
> mkdir: cannot create directory `//netapp0/sbanville$': File exists
> -bash: //netapp0/sbanville$/.bash_profile: Permission denied


What's with 'sbanville$'?  Where is the '$' coming from?  Clearly
you're not going to be sucessful creating a directory that is essentially
the share name either.  You should check the passwd and group files on
this machine as well.  If this directory is coming from one of those,
that's likely to be the problem.


> My NT passwd information was created by running mkpasswd -l  >
> passwd; mkgroup -d  > group


I hope you mean 'mkpasswd -l -d '.  The above won't work.
It might be helpful if you attached your passwd and group files or
at least your entry in them.


> I have set Cygwin ntsec tty.


You don't need 'ntsec' anymore, though there is no harm in it.  As
Igor mentioned, you may find it useful to add 'smbntsec', since you're
using SAMBA shares.  I expect you know this but these settings must be
set *before* the Cygwin DLL is loaded.



> This used to work fine in older version of Cygwin.
> 
> It appears that the Windows box is not happy with the SID that is created
> from mkpasswd.
> I have compared the SID in my passwd entry to appropriate groups that I
> bneed to belong to.
> There is no inconsistencies.


You can compare the SID in the passwd file with the one Windows has for
you (in the registry at least).  They should be the same.  If they are,
the SID is fine.

Are these groups across multiple domains?


> After loggin in I also checked the well known groups that I belong too,
> which also turned out to be fine.
> 
> Can someone please tell me what the problem could be.
> 
> Here is the ouput from cygcheck -s -r
> 
> NOTE: I also get the folowing meesage when running cygcheck:
> 
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 5
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 5
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 5

# net helpmsg 5

Access is denied.

You're getting this from trying to access your 3 Windows shares listed
below.  When do you get this?  When you're logged into the machine locally
or when you're logged in remotely?


> 
> -
> CYGCHECK OUTPUT
>

> 
> 
> 
> Cygwin Win95/NT Configuration Diagnostics
> Current System Time: Wed May 28 09:28:19 2003
> 
> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
> 
> Path: C:\cygwin\usr\local\bin
>   C:\cygwin\bin
>   C:\cygwin\bin
>   c:\Perl\bin
>   d:\Program Files\Documentum\Shared
>   c:\WINNT\system32
>   c:\WINNT
>   c:\WINNT\System32\Wbem
>   c:\DMI\bin
>   c:\Program Files\Dell\Resolution Assistant\Common\bin
>   C:\cygwin\bin
>c
 ^^^

Huh?


[snip]

> Found: c:\Program Files\Hummingbird\Connectivity\7.10\Accessories\tar.exe


Ouch!  Are there other conflicts here with Cygwin utilities?



-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746



group
Description: Binary data


cygcheck.out
Description: Binary data


passwd
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: qmail port successfull

2003-05-30 Thread Igor Pechtchanski
On Thu, 29 May 2003, Lapo Luchini wrote:

> [snip]
> P.S.: maybe it's just that I'm using FreeBSD more and more, but its
> "ports system" seems to me better each time I think of it (it is a
> collection of some 8000 Makefiles that contains instruction to download
> source form original website, apply patch if necessary, compile and
> install as a system package).
> It is true, of course, that most of the people out there wouln't like to
> compile things, but when it's an automatic non-interactive script, it
> can be a little better maybe.

Hey, why not put the source in the binary package, and have the
postinstall script compile and install the binaries?  Nothing prevents you
from doing that now, AFAICS, and, though a bit weird, it's not much worse
than extracting a tarball (as mingw-runtime does).  Package dependences
will have to be considered carefully, however -- the binary package will
depend on at least gcc and make, perhaps autotools and others...

> This reminds me that maybe it could be cool to have an "install" option
> in "type 2 packages" that installs them directly, without bothering to
> have a "fake" local setup.ini, starting setup, let it install the
> package... this would need some command line "installed package db"
> management of some kind. Or it is already out there, only I didn't
> notice it?

Isn't that what the RPM port eventually hopes to accomplish? ;-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: crontab error

2003-05-30 Thread Chuck Hamilton
Been there and done that. It doesn't change the ownership of any of the
command though. Do I need run a chown on the cron command? If so what should
be owner and group be?

- Original Message - 
From: "Larry Hall (RFK Partners, Inc.)" <[EMAIL PROTECTED]>
To: "Chuck Hamilton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 8:08 AM
Subject: Re: crontab error


> Chuck Hamilton wrote:
> > It already the permissions set to 777.
> >
> > -rwxrwxrwx1 Administ mkgroup_32256 Apr 15 11:16 cron*
> 
> Ahem.  Here's the problem.  Your /etc/group file is not current.
> Rerun mkgroup with the appropriate flags.  You may want to do this
> for /etc/passwd too.  If one's not current, more than likely, the
> other isn't either.
>
> > I did try changing the user the service runs as but it failed with a
logon
> > error so I changed it back to LocalSystem. It seems like it's got to be
some
> > kind of Win2k permissions thing. If I run cron from a cygwin session, it
> > works fine. If I run it as a service it fails to start. I've tried
adding
> > the cygwin /usr/bin and /usr/lib directories to my Win2k path but that
> > didn't help either (though now I can run cygwin commands from a DOS
prompt
> > if I want).
>
>
>
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Lack of characters

2003-05-30 Thread Hannu E K Nevalainen \(garbage mail\)

 In addition to all that has been said.

e.g. 'tar' has it's own sense of valid output. The output of "tar -tf
archive.tar" where the archive contains files with filenames using "accented
characters" will look like:
fran\347ais/
portugu\352s/
This can't be used as input to any command I know of. There is a workaround
though.

$ echo -e 'fran\347ais/\n->\\<-backslash-test\nportugu\352s' | cl
français/
->\<-backslash-test
português

i.e.
$ tar -tf archive.tar | cl
will produce a human readable version of the archive contents.

Just slightly tested script appended below.
Please, *DO* comment - on its robustness in particular.

/Hannu E K Nevalainen, Mariefred, Sweden, 59~14'N, 17~12'E. >17~C avg/d now.
~ <=> degree

-- cl == cleanline --
#!/bin/bash

sed -e 's.\\..g' |
 (
 read n
 while [ ! -z "$n" ]
 do
   echo -e "$n"
   read n
 done
 )
--

--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Question about "rexec"

2003-05-30 Thread Andrew DeFaria
Christopher Faylor wrote:

On Tue, May 27, 2003 at 04:45:48PM -0700, Andrew DeFaria wrote:
 

(Wonder why this isn't on by default like ntsec...?)
   

For the obvious reason...

cgf

It's not obvious to me, which is why I asked the question.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: NTsec permissions issue over inet

2003-05-30 Thread Bruce Dobrin
Here are the Cygcheck,  and Group files,  I'll include the my (typical)
passwd entry as we have a ( legitimate) policy against publishing our login
id's ( I know it doesn't include encrypted passwd's, but with 650 entries,
but I'd like to reduce the fodder for someone's foreach loop thru a cracking
program).


representative passwd entries:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
dobrin:unused_by_nt/2000/xp:11014:10512:Brucester,U-PRODUCTION\dobrin,S-1-5-
21-501104424-1911818820-14498641-1014:/home/dobrin:/bin/bash


Thanks
Bruce Dobrin

- Original Message - 
From: "Larry Hall" <[EMAIL PROTECTED]>
To: "Bruce Dobrin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Banville, Stephen"
<[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 6:54 AM
Subject: Re: NTsec permissions issue over inet


> Bruce Dobrin wrote:
> > Stephen,
> > I was about to ask the same question
> >
> > If you find a solution,  PLEASE Post,  as I'm running out of
workarounds,  I
> > have had no luck with nosmbntsec/smbntsec on any recent version of
> > cygwin/inetd.  I think the last time it worked was Cygwin1.3.10.
> > with smbntsec
> >
> > [EMAIL PROTECTED]:/home/dobrin> cd //margalo1/vol0/vol810
> > //margalo1/vol0/vol810: Permission denied.
> > [EMAIL PROTECTED]:/home/dobrin> echo $CYGWIN
> > binmode tty ntsec smbntsec
> >
> > and without:
> >
> > [EMAIL PROTECTED]:/home/dobrin> cd //margalo1/vol0/vol810
> > //margalo1/vol0/vol810: Permission denied.
> > [EMAIL PROTECTED]:/home/dobrin> echo $CYGWIN
> > binmode tty ntsec nosmbntsec
> >
> >>From the Local cygwin window:
> >
> > [EMAIL PROTECTED]:/home/dobrin> cd //margalo1/vol0/vol810
> > [EMAIL PROTECTED]:/margalo1/vol0/vol810>
> >
> > Bruce Dobrin
>
> Bruce,
>
> It's probably worthwhile for you to post your cygcheck output and
> passwd/group files too, in case there's something useful there.
> And by post, I mean *attach*. :-)
>
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>
>
> #
> #
> #
> #
> #
> #
> #
> #
> #
>


cygcheck
Description: Binary data


group
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

cygwin tcsh 6.12.00 problem and fix

2003-05-30 Thread Brad Chamberlain

Though a long-time cygwin user, I've just installed it on a new laptop and
ran into a tcsh problem whose solution I thought might benefit others.
Note that I am not subscribed to this mailing list, so any responses
should be mailed to me directly.


Problems in /etc/profile.d/complete.tcsh.
-

When getting my new laptop (for work), the HOME variable was set by
default to point to my C:\Documents and Settings folder.  While I realize
this isn't cygwin's favorite location, I didn't want to bother changing it
if I could, in case my work had other reasons for setting it in such a
manner.

The spaces in this variable seemed to cause problems in the complete.tcsh
startup script, due to inadequate quoting of the pathname.  I'm not sure
if this is something the cygwin community cares about supporting or not,
but here are the changes I made to make it work:

brad-xp-lap% diff complete.tcsh complete.tcsh~
30c30
< if ( -r "$HOME/.netrc" ) then
---
> if ( -r $HOME/.netrc ) then
236c236
< if ( -f "$HOME/.mh_profile" && -x "`which folders`" ) then
---
> if ( -f $HOME/.mh_profile && -x "`which folders`" ) then
643c643
< if (-r "$HOME/.mailrc") then
---
> if (-r $HOME/.mailrc) then


Thanks for developing and maintaining such a fine product,
-Brad


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygwin tcsh 6.12.00 problem and fix

2003-05-30 Thread Corinna Vinschen
On Thu, May 29, 2003 at 12:38:57PM -0700, Brad Chamberlain wrote:
>   brad-xp-lap% diff complete.tcsh complete.tcsh~
>   30c30
>   < if ( -r "$HOME/.netrc" ) then
>   ---
>   > if ( -r $HOME/.netrc ) then
>   236c236
>   < if ( -f "$HOME/.mh_profile" && -x "`which folders`" ) then
>   ---
>   > if ( -f $HOME/.mh_profile && -x "`which folders`" ) then
>   643c643
>   < if (-r "$HOME/.mailrc") then
>   ---
>   > if (-r $HOME/.mailrc) then

Thanks for the patch.  It will be in the next tcsh release (though this
might take a while).

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RPM support (was Re: qmail port successfull)

2003-05-30 Thread Dario Alcocer
On Thu, May 29, 2003 at 11:28:14AM -0400, Igor Pechtchanski wrote:
> On Thu, 29 May 2003, Lapo Luchini wrote:
> > This reminds me that maybe it could be cool to have an "install" option
> > in "type 2 packages" that installs them directly, without bothering to
> > have a "fake" local setup.ini, starting setup, let it install the
> > package... this would need some command line "installed package db"
> > management of some kind. Or it is already out there, only I didn't
> > notice it?
> 
> Isn't that what the RPM port eventually hopes to accomplish? ;-)

Yes, at least those are /my/ plans. FWIW, I hoping to use apt-rpm.

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
[EMAIL PROTECTED] -- http://www.helixdigital.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



I am

2003-05-30 Thread Edward Yeboah
Dear Sir,

Good day. I need your services in a confidential matter
regarding money out of a family beneficiary deposit.

This requires a private arrangement. Could you perhaps
receive these funds under legal claims?. I am willing 
to pay a generous management fee as well as appreciation
for fewer questions asked. I will need you in legal 
capacity to file for a post-mortem redemption. I have 
all the details.

Please email back on [EMAIL PROTECTED]

All correspondences will be via email, for now. The 
funds in question are quite large. I will expect a 
straight answer from you. Yes or no. If yes, then 
lets work out the modalities.

Thanks

Billy Idehen

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: RPM support (was Re: qmail port successfull)

2003-05-30 Thread Martin Gainty
+1 for ant support
Now that ant has support for cc I dont see the use for archaic makefiles
Martin
- Original Message -
From: "Dario Alcocer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 6:35 PM
Subject: RPM support (was Re: qmail port successfull)


> On Thu, May 29, 2003 at 11:28:14AM -0400, Igor Pechtchanski wrote:
> > On Thu, 29 May 2003, Lapo Luchini wrote:
> > > This reminds me that maybe it could be cool to have an "install"
option
> > > in "type 2 packages" that installs them directly, without bothering to
> > > have a "fake" local setup.ini, starting setup, let it install the
> > > package... this would need some command line "installed package db"
> > > management of some kind. Or it is already out there, only I didn't
> > > notice it?
> >
> > Isn't that what the RPM port eventually hopes to accomplish? ;-)
>
> Yes, at least those are /my/ plans. FWIW, I hoping to use apt-rpm.
>
> --
> Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
> [EMAIL PROTECTED] -- http://www.helixdigital.com
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: problem suspending "man bash" (intermittent)

2003-05-30 Thread Lev Bishop
SO I have been poking around some more and I can report some more details.
I can say that it doesn't seem to be a problem with man, bash or less, and
rather seems to be a problem concerning the way cygwin sends signals to a
pipeline. The reason it showed up with "man bash" rather than others is
simply that the bash manpage is quite long, meaning that less doesn't suck
up all of cat's output immediately - if I page to the bottom of the
manpage then less gets all the data, cat terminates and these problems go
away. If you can't replicate my issues maybe check that all the processes
in the pipeline are still running and if necessary pipe a longer file to
less.

Reading the archives again, I see this message from Oct 2002:
http://www.cygwin.com/ml/cygwin/2002-10/msg00513.html
where Christopher Faylor says he's fixed a problem like this. 
And a message from the developers list ("Re: known issues with 
current dll", 17 Mar 2001) where CF talks about a race condition between 
EOF and signal processing.

Here follow detailed results of my experimenting.

Send the manpage to a file:
$ man bash > mb
Use less to look at it:
$ less mb
No problems suspending/restarting.
Use a pipeline in a subshell to view it (the way "man" does it):
$ (cat mb | less)
Now we have the almost the same problem as I described in my first 
message - under xterm the 1st keypress sometimes goes to less instead of 
to bash, subsequently foregrounding the pipeline less doesn't redraw the 
screen properly, needs a newline after all commands, etc; under 
console the pipeline sometimes just dies without any error message.

More interestingly, if I don't put the pipeline in a subshell, then the 
problem changes, /and ceases to be intermittent/.
$ cat mb | less
Now the problem is the same whether in xterm or console: if I ^Z then the 
pipeline suspends (both processes shown by ps with an 'S', they stop 
responding to keypresses) but control doesn't return to bash, and the only 
way to unwedge things is to use "kill -CONT" from another window. 

Following the suggestion from Dario I tried playing around on a Linux box
I have access to. None of the effects descibed above could be replicated.
However, I *was* able to get a similar effect by using "kill -STOP" to
suspend the pipeline - this caused the same problems with less not
responding to keystrokes correctly upon putting it back in the foreground,
but I never managed to replicate control-not-returning-to-bash problem, no
matter what order I sent the signals, etc. If on the other hand I used
"kill -TSTP" on linux then I was unable to make anything interesting
occur, things just suspended and resumed just as they should.  If I sent a
TSTP to the subshell bash and to cat but not to less then the first
character I typed next would (sometimes?) go to less. Upon fg-ing less 
would be messed up as before. (Perhaps the race between EOF and signal 
that CF mentionned comes in here?)

Finally, I also tried using this "kill -STOP" and "kill -TSTP" on cygwin.  
First, if the pipeline is not in a subshell, with both STOP and TSTP, then
control doesn't return to bash (the same behaviour as with ^Z in cygwin,
different to what happened with linux). Second, if the pipeline is in a
subshell, then the behaviour is the same as with linux.

So it seems there are at possibly 2 problems with sending STOP/TSTP
signals to pipelines. If the pipeline is not in a subshell then the shell
gets wedged. If the pipeline is in a subshell, then it seems that
intermittently keyboard input (perhaps EOF) gets sent to less after the
TSTP reaching the subshell bash and cat but before the TSTP reaches less.  
This must be some kind of race condition, that happens in cygwin but not
in linux, although similar behaviour would occur in linux were it to be
the case that the keyboard input snuck in between the signals in the same
way.

Lev


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: I am

2003-05-30 Thread günter strubinsky
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear sir, 

I understand you need for confidentiality and your need for as few
questions asked as possible and fully agree. I want to thank you for
the trust you have in someone you never saw. And you are right. Your
secrets are totally safe between you and us 240.000 members of this
newsgroup.

Please cease to inform anybody else or they might take this wonderful
opportunity to get rich quickly. 

We are as greedy as everybody else but maybe a leeetle bit more
honest. So stick with me and send further communication under
guarantee of confidentiality to the newsgroup as you did.

I am sure that we also have a few hundred lawyers as members. I won't
start with lawyer jokes now... So -s- don't tell anybody else.

with kind regards

 günter strubinsky

- -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Edward Yeboah
Sent: Thursday, 29 May, 2003 18:19
To: [EMAIL PROTECTED]
Subject: I am

Dear Sir,

Good day. I need your services in a confidential matter
regarding money out of a family beneficiary deposit.

This requires a private arrangement. Could you perhaps
receive these funds under legal claims?. I am willing 
to pay a generous management fee as well as appreciation
for fewer questions asked. I will need you in legal 
capacity to file for a post-mortem redemption. I have 
all the details.

Please email back on [EMAIL PROTECTED]

All correspondences will be via email, for now. The 
funds in question are quite large. I will expect a 
straight answer from you. Yes or no. If yes, then 
lets work out the modalities.

Thanks

Billy Idehen

- --
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use 

iQA/AwUBPtbKYottiOyfRm9lEQLnSQCff8WsCjzW1TRogP+mqZJ0sMX5eFcAn2/l
b29dYLOQlOd75C1aA184xhat
=lS1N
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Setup failures during mirrored install

2003-05-30 Thread luke . kendall
On 22 May, Igor Pechtchanski wrote:
>  > I'd be willing to try a debug snapshot.  I haven't used gdb to debug 
>  > threads though. 
>  > 
>  > I assume I run ps and use the PID, not the WINPID to attach to? 
>  > What are the commands to list threads, and attach to a thread? 
>  > 
>  > Or do you simply say "thread apply all where" ? 
>  > 
>  > luke 
>   
>  The debugging snapshot is available at . 
>  Just run gdb, attach to the Cygwin PID, and use "info threads" to list all 
>  threads.  Then switch to each thread by using "thread ", where  is 
>  the thread number, and use "where" or "bt" to get a backtrace. 

I finally got a chance to get back to this problem.  You'll be glad to
know that it has simply gone away.  I suspect there really was a
problem with our local mirror (or the upstream one), and that updates
to the mirror mean the problem no longer occurs.

Thanks for the advice - and the latest Cygwin (especially "startx --
-rootless"), is better than ever!

luke


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: crontab error

2003-05-30 Thread Chuck Hamilton
I have no "Domain Users" group so I set it to "Users". Still fails to start.
I also tried "Administrators". That didn't work either. I am attaching both
the passwd and group files, as well as listing their permissions.

-rw-rw-rw-1 isscha   mkgroup_  373 May 29 04:44 /etc/group
-rw-rw-rw-1 isscha   mkgroup_ 1347 May 29 04:44 /etc/passwd
-rwxrwxrwx1 Administ Users   32256 Apr 15 11:16 /usr/sbin/cron.exe
$ id
$ id
uid=11624(isscha) gid=10513(mkgroup_l_d)
groups=544(Administrators),545(Users),1009(ORA_DBA),10513(mkgroup_l_d)

- Original Message - 
From: "Larry Hall" <[EMAIL PROTECTED]>
To: "Chuck Hamilton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 12:48 PM
Subject: Re: crontab error


> For group, try 'Users' or 'Domain Users', whichever is appropriate.
> The user looks fine.
>
> Larry
>
> Chuck Hamilton wrote:
> > Been there and done that. It doesn't change the ownership of any of the
> > command though. Do I need run a chown on the cron command? If so what
should
> > be owner and group be?
> >
> > - Original Message - 
> > From: "Larry Hall (RFK Partners, Inc.)" <[EMAIL PROTECTED]>
> > To: "Chuck Hamilton" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, May 29, 2003 8:08 AM
> > Subject: Re: crontab error
> >
> >
> >
> >>Chuck Hamilton wrote:
> >>
> >>>It already the permissions set to 777.
> >>>
> >>>-rwxrwxrwx1 Administ mkgroup_32256 Apr 15 11:16 cron*
> >>
> >>
> >>Ahem.  Here's the problem.  Your /etc/group file is not current.
> >>Rerun mkgroup with the appropriate flags.  You may want to do this
> >>for /etc/passwd too.  If one's not current, more than likely, the
> >>other isn't either.
> >>
> >>
> >>>I did try changing the user the service runs as but it failed with a
> >
> > logon
> >
> >>>error so I changed it back to LocalSystem. It seems like it's got to be
> >
> > some
> >
> >>>kind of Win2k permissions thing. If I run cron from a cygwin session,
it
> >>>works fine. If I run it as a service it fails to start. I've tried
> >
> > adding
> >
> >>>the cygwin /usr/bin and /usr/lib directories to my Win2k path but that
> >>>didn't help either (though now I can run cygwin commands from a DOS
> >
> > prompt
> >
> >>>if I want).
> >>
> >>
> >>
> >>-- 
> >>Larry Hall  http://www.rfk.com
> >>RFK Partners, Inc.  (508) 893-9779 - RFK Office
> >>838 Washington Street   (508) 893-9889 - FAX
> >>Holliston, MA 01746
> >>
> >
> >
> >
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Problem reports:   http://cygwin.com/problems.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/
> >
> >
>
>
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>


passwd
Description: Binary data


group
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: problem suspending "man bash" (intermittent)

2003-05-30 Thread Dario Alcocer
On Thu, May 29, 2003 at 11:02:59PM -0400, Lev Bishop wrote:
> Here follow detailed results of my experimenting.
> 
> Send the manpage to a file:
> $ man bash > mb
> Use less to look at it:
> $ less mb
> No problems suspending/restarting.
> Use a pipeline in a subshell to view it (the way "man" does it):
> $ (cat mb | less)
> Now we have the almost the same problem as I described in my first 
> message - under xterm the 1st keypress sometimes goes to less instead of 
> to bash, subsequently foregrounding the pipeline less doesn't redraw the 
> screen properly, needs a newline after all commands, etc; under 
> console the pipeline sometimes just dies without any error message.
> 
> More interestingly, if I don't put the pipeline in a subshell, then the 
> problem changes, /and ceases to be intermittent/.
> $ cat mb | less
> Now the problem is the same whether in xterm or console: if I ^Z then the 
> pipeline suspends (both processes shown by ps with an 'S', they stop 
> responding to keypresses) but control doesn't return to bash, and the only 
> way to unwedge things is to use "kill -CONT" from another window. 

I've duplicated this bug. In fact, I'm unable to kill the pipeline,
although in my case, I didn't try CONT first, just KILL.

So, it would appear that one cannot suspend pipelines that have pending
input waiting.

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
[EMAIL PROTECTED] -- http://www.helixdigital.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



cscope on win2000.

2003-05-30 Thread Dillikar, Satyanarayana
Hi,
  I'm have installed cygwin on win2000 and it is fine. Now I'm tring to
install cscope and have these problems.
 I tried both cscope15.1 and cscope15.3.


a) Invalid configuration `i1586-pc-cygwin':  My m/c is pentium.
b)automake is missing
c) autoheader is missing.
d) aclocal is missing.
etc..

Please see below for details. 

I have aclocal and automake in both /usr/bin and cygwin/bin
Let me know how to go though of it.

Thanks
Satya

*
1) With CSCOPE-15.1  on win2000.

Dir: /cygdrive/d/My_Program_Files/cygwin/cscope/cscope-15.1
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... Invalid configuration `i1586-pc-cygwin':
machine `i
1586-pc' not recognized

checking user specification of lexer...
checking user specification of yacc...
checking for a BSD compatible install... /usr/bin/install -c
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for bison... (cached) bison -y
checking location of ncurses.h file
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/window.h... (cached) no
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for getcwd... (cached) yes
checking for regcmp... (cached) no
checking for regcomp... (cached) yes
checking for strerror... (cached) yes
checking for vsnprintf... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating src/Makefile
creating contrib/Makefile
creating config.h
config.h is unchanged

[EMAIL PROTECTED] /cygdrive/d/My_Program_Files/cygwin/cscope/cscope-15.1
$ cd ../..

[EMAIL PROTECTED] /cygdrive/d/My_Program_Files/cygwin
$ cd ../cscope-15.4/

[EMAIL PROTECTED] /cygdrive/d/My_Program_Files/cscope-15.4
$ ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... Invalid configuration `i1586-pc-cygwin':
machine `
i1586-pc' not recognized
configure: error: /bin/sh ./config.sub i1586-pc-cygwin failed.

2) CSCOPE 15.4 on win2000.

 /cygdrive/d/My_Program_Files/cscope-15.4
$ ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... Invalid configuration `i1586-pc-cygwin':
machine
i1586-pc' not recognized
configure: error: /bin/sh ./config.sub i1586-pc-cygwin failed.

[EMAIL PROTECTED] /cygdrive/d/My_Program_Files/cscope-15.4
$

*










































--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Default home dir: /cygdrive/c

2003-05-30 Thread a12
Hi gurus,

After installing successfully Cygwin on several NT4/2K hosts, I
have encountered a strange problem:
[EMAIL PROTECTED] ~
$ pwd
/cygdrive/c

instead of: /home/isoft

Why ?

Cygwin was installed using Windows user isoft, that belongs to
Administrators group.

A simple check of CYGWIN and PATH yields:
echo %CYGWIN%
binmode ntsec tty title
echo %PATH%
C:\WINNT\system32;C:\WINNT;c:\cygwin\bin

/etc/group contains:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1476268339-1210066731-1381041710-513:513:
Admins:S-1-5-32-544:544:
Backup:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power:S-1-5-32-547:547:
Replica:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

/etc/passwd contains:
SYSTEM:*:18:544:,S-1-5-18::
Admins:*:544:544:,S-1-5-32-544::
Administrator:*:1003:513:Fiktiv,U-NRM8_1\Administrator,S-1-5-21-1476268339-1210066731-1381041710-1003:/home/Administrator:/bin/bash

isoft:*:1001:513:isoft,U-NRM8_1\isoft,S-1-5-21-1476268339-1210066731-1381041710-1001:/home/isoft:/bin/bash

$ cd cygwin
ls -l
total 2
drwxr-xr-x2 isoftAdmins  0 May 30 13:45 bin
drwxr-xr-x8 isoftAdmins  0 May 30 13:44 etc
drwxr-xr-x4 isoftAdmins  0 May 30 13:45 lib
drwxr-xr-x2 isoftAdmins  0 May 30 13:45 tmp
drwxr-xr-x   16 isoftAdmins  0 May 30 13:45 usr
drwxr-xr-x6 isoftAdmins  0 May 30 13:45 var

Please note that in other hosts 'ls -l' yields:
drwxr-xr-x2 Admins   none0 May 30 13:45 bin
drwxr-xr-x8 Admins   none0 May 30 13:44 etc
drwxr-xr-x4 Admins   none0 May 30 13:45 lib
drwxr-xr-x2 Admins   none0 May 30 13:45 tmp
drwxr-xr-x   16 Admins   none0 May 30 13:45 usr
drwxr-xr-x6 Admins   none0 May 30 13:45 var

The result of 'cygcheck -svr' is found in the attached file
cygcheck.out


cygcheck.out
Description: application/unknown-content-type-myinfo.outline
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

RE: Default home dir: /cygdrive/c

2003-05-30 Thread Vince Hoffman
do you have HOME set as a windows environment variable ?

> -Original Message-
> From: a12 [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2003 14:10
> To: [EMAIL PROTECTED]
> Subject: Default home dir: /cygdrive/c
> 
> 
> Hi gurus,
> 
> After installing successfully Cygwin on several NT4/2K hosts, I
> have encountered a strange problem:
> [EMAIL PROTECTED] ~
> $ pwd
> /cygdrive/c
> 
> instead of: /home/isoft
> 
> Why ?
> 
> Cygwin was installed using Windows user isoft, that belongs to
> Administrators group.
> 
> A simple check of CYGWIN and PATH yields:
> echo %CYGWIN%
> binmode ntsec tty title
> echo %PATH%
> C:\WINNT\system32;C:\WINNT;c:\cygwin\bin
> 
> /etc/group contains:
> SYSTEM:S-1-5-18:18:
> None:S-1-5-21-1476268339-1210066731-1381041710-513:513:
> Admins:S-1-5-32-544:544:
> Backup:S-1-5-32-551:551:
> Guests:S-1-5-32-546:546:
> Power:S-1-5-32-547:547:
> Replica:S-1-5-32-552:552:
> Users:S-1-5-32-545:545:
> 
> /etc/passwd contains:
> SYSTEM:*:18:544:,S-1-5-18::
> Admins:*:544:544:,S-1-5-32-544::
> Administrator:*:1003:513:Fiktiv,U-NRM8_1\Administrator,S-1-5-2
> 1-1476268339-1210066731-1381041710-1003:/home/Administrator:/bin/bash
> 
> isoft:*:1001:513:isoft,U-NRM8_1\isoft,S-1-5-21-1476268339-1210
> 066731-1381041710-1001:/home/isoft:/bin/bash
> 
> $ cd cygwin
> ls -l
> total 2
> drwxr-xr-x2 isoftAdmins  0 May 30 13:45 bin
> drwxr-xr-x8 isoftAdmins  0 May 30 13:44 etc
> drwxr-xr-x4 isoftAdmins  0 May 30 13:45 lib
> drwxr-xr-x2 isoftAdmins  0 May 30 13:45 tmp
> drwxr-xr-x   16 isoftAdmins  0 May 30 13:45 usr
> drwxr-xr-x6 isoftAdmins  0 May 30 13:45 var
> 
> Please note that in other hosts 'ls -l' yields:
> drwxr-xr-x2 Admins   none0 May 30 13:45 bin
> drwxr-xr-x8 Admins   none0 May 30 13:44 etc
> drwxr-xr-x4 Admins   none0 May 30 13:45 lib
> drwxr-xr-x2 Admins   none0 May 30 13:45 tmp
> drwxr-xr-x   16 Admins   none0 May 30 13:45 usr
> drwxr-xr-x6 Admins   none0 May 30 13:45 var
> 
> The result of 'cygcheck -svr' is found in the attached file
> cygcheck.out
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Default home dir: /cygdrive/c

2003-05-30 Thread Vince Hoffman
oops boozy lunch, i forgot cygcheck doesnt show cygwin env variables ;)
In that case either unset home globaly if you can or add 
set HOME=
to your cygwin.bat to unset it for cygwin sessions.

> -Original Message-
> From: Larry Hall [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2003 14:24
> To: Vince Hoffman
> Cc: 'a12'; [EMAIL PROTECTED]
> Subject: Re: Default home dir: /cygdrive/c
> 
> 
> Vince Hoffman wrote:
> > do you have HOME set as a windows environment variable ?
> > 
> 
>  From his cygcheck output:
>  > HOME = `c:\'
> 
> So I have to say yes, he does.
> 
> 
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
> 
> 
> #
> #
> #
> #
> #
> #
> #
> #
> #
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cscope on win2000.

2003-05-30 Thread Tim Prince
On Friday 30 May 2003 06:01, Dillikar, Satyanarayana wrote:
> Hi,
>   I'm have installed cygwin on win2000 and it is fine. Now I'm tring to
> install cscope and have these problems.
>  I tried both cscope15.1 and cscope15.3.
>
>
> a) Invalid configuration `i1586-pc-cygwin':  My m/c is pentium.
> b)automake is missing
> c) autoheader is missing.
> d) aclocal is missing.
> etc..
>
> Please see below for details.
>
> I have aclocal and automake in both /usr/bin and cygwin/bin
> Let me know how to go though of it.
>
I have no idea what that package is.  Evidently, it has misread your cygwin 
version, so you should consider specifying it, e.g. --host=i686-pc-cygwin.  
In the event that it doesn't include any cygwin provisions in its configure, 
and that also fails, you could take a stab at specifying a linux version 
which it does support, or examining what it would take to add cygwin support.

-- 
Tim Prince

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: RPM support (was Re: qmail port successfull)

2003-05-30 Thread Christopher Faylor
On Thu, May 29, 2003 at 07:53:17PM -0400, Martin Gainty wrote:
>+1 for ant support
>Now that ant has support for cc I dont see the use for archaic makefiles

I don't know what "+1" is supposed to signify but, assuming that this is
a vote, I have to remind you that this is not a voting type of situation.

Packages are added to the distribution when someone makes the effort to
contribute them to the proper channel.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



krb5-1.2.8 on cygwin + kerberized ssh

2003-05-30 Thread Bob . Smart
I have made a bit of progress since I compiled
krb5-1.2.6.

./configure --with-cc=gcc --without-krb4 --disable-dns-for-kdc

It would be nice if there was an option to just
compile client stuff.

The resolv library problem went away. I don't know
if that was a change to krb5 or to cygwin. Bison
problems also went away.

Still need to add
  #include 
to src/util/ss/ss_internal.h, otherwise the
linker gives _errno errors.

I didn't have libutil installed when I did the
configure and I found I needed to add -lutil to
the link of login.krb5 in src/appl/bsd.

After that everything seemed to work (against an
AD KDC). I tried kinit, klist and telnet -a.
It seemed to create the file in /tmp with
appropriate NTFS security restrictions.

Next I successfully compiled kerberized ssh. Now
I can ssh without mucking with ssh keys everywhere.
It would also be nice if openssh had an option for 
only compiling client stuff. Now I only need to 
integrate ms2mit and I'll be in SSO heaven 
[naturally ms2mit doesn't put the mit tgt in the 
right place for cygwin]

I suspect that the client parts of krb5 and
openssh don't require all that cygwin heavy
lifting and could be compiled with mingw with
a bit of effort.

Given that kerberos is a unifying feature linking
windows and unix it would be nice to see kerberos
and kerberized apps in cygwin.

Bob

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/