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]

Permission denied accessing Linux Samba network share


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 ?

regards

Daren



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