This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Permission denied accessing Linux Samba network share


At 10:25 AM 4/22/2004, you wrote:

>Greetings all , 
>
>I have been attempting to setup Cygwin to access my Samba Network shares 
>without a great deal of success.
>
>Here is what I have done so far ... 
>
>1. The samba share is mapped to network Drive K:
>2. Cygwin HOMEDRIVE is set to K:
>3. Cygwin HOMEPATH is set to \ 
>4. my Linux samba user has been entered into the Gygwin passwd file as 
>shown below
> 
><<Windows domain user>>
>dazza:unused_by_nt/2000/xp:11202:10512:
>Daren Grant,U-WINDOWSDOMAIN\dazza,
>S-1-5-21-283096454-457325280-1777090905-1208:
>//banana/dareng:/bin/bash
>
><<Windows domain user>>
>dazza:x:11202:10512:dazza,U-SAMBADOMAIN\\dazza,
>S-1-5-21-1481719354-1400000387-4000000475-3300:
>//banana/dareng:/bin/bash
>
>This correctly reports the uid for files that i own 
>
>My default group on the linux side has been entered into the group file 
>under cygwin so that the group ids are picked up correctly on ls
>
><<WINDOWS GROUP>>
>Domain Users:S-1-5-21-200030454-450000000-1000000905-513:10512:
><<Linux Group>>
>games:S-1-5-21-1481700004-140000007-4032000005-1041:10512:
>
>Everything appears to be setup perfectly , if i ls -ln my homespace i get 
>the following . 
>
>drwxr-xr-x+   4 11202    10512           0 Apr 19 17:13 tmp
>drwxr-xr-x+   3 11202    10512           0 Aug 27  2002 tmpDoc
>drwxr-xr-x+   2 11202    10512           0 Feb 27  2003 tmpIcons
>drwxr-x---+   4 11202    10512           0 Jan 17  2002 unix_source
>-rw-------    1 11202    10512       11387 Feb 23 16:21 weir.gPJ
>drwxr-x---+   3 11202    10512           0 Jun 27  2003 win_regression
>drwxr-x---+   3 11202    10512           0 Jun 19  2003 win_src
>drwxr-xr--+  10 11202    10512           0 Feb 24  2003 workspace
>drwxr-xr-x+   2 11202    10512           0 Apr 22 13:51 zebb
>
>
>and id reveals my user as 
>
>uid=11202(dazza) gid=10512(Domain Users)
>groups=0(root),544(Administrators),545(Users),10513(Domain Users)
>
>However i cannot ls in a directory that has no global read attribute , 
>I cannot read a file that is set to user read ie weir.gPJ above 
>
>I can access , and read these files via windows explorer , but 
>Cygwin fails to allow me access ... Can anyone help ?
>

I know a harp on this but:

>Problem reports:       http://cygwin.com/problems.html

While you've given some reasonable information about what you're trying
to do and the problems you see (with specific data to back it up), it's 
really hard to evaluate problems without configuration information (cygcheck output).  In it's absence, I'll simply ask if you have "smbntsec" set in 
your Cygwin environment variable (and direct you to the User's Guide for 
information about this setting)?


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]