Ben Scarbeau
2003-Jan-27 17:35 UTC
[Samba] more info - NT_STATUS_ACCESS_DENIED opening remote file
Thanks to those who had suggestions on my last post, but none of those seems to have worked. I have narrowed down the problem a bit though, seems users can't write to a share that is not their primary group. For example: Bob's primary group is Bob and secondary group is Sally. Bob can write to the Bob group share but not the Sally group share. Anymore thoughts/suggestions. Thanks again in advance. Ben Following is the original message: Am having trouble getting samba to work properly it seems. Setup went smooth, the processes are running. Can log in with smbclient no problem. Can 'get' files no problem, but whenever I try to 'put' a file I get the following error: NT_STATUS_ACCESS_DENIED opening remote file '/filename'. Anyone else run into this error. I have found help on this error relating to login problems but not to file problems. Any help would be appreciated. The following is what is in my smb.conf file. Thanks. [global] netbios name = POGO workgroup=POGOSAMBA security=user [share-files] path = /home/share readonly=no Ben -------------- next part -------------- HTML attachment scrubbed and removed
Paul Taylor
2003-Jan-28 01:24 UTC
[Samba] more info - NT_STATUS_ACCESS_DENIED opening remote file
On Jan 27, 10:33, Ben Scarbeau wrote:> Subject: [Samba] more info - NT_STATUS_ACCESS_DENIED opening remote file > > Thanks to those who had suggestions on my last post, but none of those > seems to have worked. I have narrowed down the problem a bit though, > seems users can't write to a share that is not their primary group. > For example: Bob's primary group is Bob and secondary group is Sally. > Bob can write to the Bob group share but not the Sally group share. > Anymore thoughts/suggestions. Thanks again in advance.After upgrading to Samba 2.2.7a, a couple of users complained about not being able to access directories via group access - it worked fine in 2.2.0 Both of the affected users had 14 or more secondary groups - removing them from some unnecessary groups got around the problem. The number of groups _doesn't_ seem to be the whole problem, though - when I tried to reproduce the problem with a test user and groups, it worked fine. The length of the group(s) name may be significant - I didn't investigate this. (I tried using smbclient with a higher debug level, but it just spewing a bunch of meaningless numbers etc.) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Taylor taylpm@si1.dod.gov.au