Mail Archives: cygwin/2007/09/07/10:24:17
------_=_NextPart_001_01C7F0D3.A6CBEB83
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I am changing the subject here because this problem is cygwin/xemacs-specif=
ic only, so it has nothing to do with smb permissions because I can touch a=
nd edit the same file with nano and save properly. Same with vi. It's entir=
ely xemacs.=20
I've attached my config, per request.
=A0
-----Original Message-----
From: Igor Peshansky [ mailto:pechtcha AT cs DOT nyu DOT edu]
Sent: Wednesday, September 05, 2007 7:20 PM
To: Joseph Koenig
Cc: cygwin AT cygwin DOT com
Subject: Re: Passing domain credentials for a non-domain machine (similar t=
o mapping drives through the Windows shell)
On Wed, 5 Sep 2007, Joseph Koenig wrote:
> I have a desktop that I use to access a share with domain credentials
> despite not being on domain. So when I map a drive, I map it under
> "domain\user" and give it the password. This drive is mapped as Z.
>
> When I use cygwin to work on those files, it does not inherit the
> permissions that I mapped the network drive under and instead insists on
> using my local windows user and password (generated with mkpasswd)
> rather than what I mapped Z as.
You want to add "smbntsec" to your CYGWIN environment variable.=A0 See
< http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> for details.
> Is there an easy way to manually edit the /etc/passwd file or change how
> cygwin reads the mapped volume to get it to use the same permissions
> that the windows shell is using?
You'll also want to use "mkpasswd -d >> /etc/passwd" to get domain user
information into it, and possibly "mkgroup -d >> /etc/group" (notice the
double ">>" to append).
> (I searched the archives for this....I'm sure it's been answered but I
> couldn't find anything - I apologize....)
It also helps to read and follow
> Problem reports:=A0=A0=A0=A0=A0=A0 http://cygwin.com/problems.html
in particular the bit about attaching the output of "cygcheck -svr".
HTH,
=A0=A0=A0=A0=A0=A0=A0 Igor
--
=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=
=A0=A0=A0=A0 http://cs.nyu.edu/~pechtcha/
=A0=A0=A0=A0=A0 |\=A0=A0=A0=A0=A0 _,,,---,,_=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=
pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'=A0=A0=A0 -.=A0 ;-;;,_=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 Igor Pe=
shansky, Ph.D. (name changed!)
=A0=A0=A0=A0 |,4-=A0 ) )-,_. ,\ (=A0 `'-'=A0=A0 =A0=A0=A0=A0=A0=A0=A0 old n=
ame: Igor Pechtchanski
=A0=A0=A0 '---''(_/--'=A0 `-'\_) fL=A0=A0=A0=A0 a.k.a JaguaR-R-R-r-r-r-.-.-=
.=A0 Meow!
Belief can be manipulated.=A0 Only knowledge is dangerous.=A0 -- Frank Herb=
ert
------_=_NextPart_001_01C7F0D3.A6CBEB83
Content-Type: text/plain;
name=cygcheck.txt
Content-Transfer-Encoding: base64
Content-Description: cygcheck.txt
Content-Disposition: attachment;
filename=cygcheck.txt
------_=_NextPart_001_01C7F0D3.A6CBEB83
Content-Type: text/plain; charset=us-ascii
--
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/
------_=_NextPart_001_01C7F0D3.A6CBEB83--
- Raw text -