[Samba] samba-3.4.7 & access to share from win7

viktor ruhle viktor.ruhle at seznam.cz
Wed Oct 26 02:54:16 MDT 2011


Hello list,
I have tried rather much (forums, google) and trying this as the last option. The problem is that one is not able to access "group" samba shares from windows 7 machines, everything ok from win-ts-2003 & xp machines. Every user belongs to his primary group defined in samba+openldap pdc. If they want to access the share named according to their primary group (with permissions rwxrwx---), they only get "acces denied" error, I can't understand why it works from win-XP,2003 but not from win 7 .... other shares ("homefolders" - rwx------ and "common shares" - rwxrwxrwx) work without problem ....

I have tried this (*) as well but still no luck ...

(*)
Control Panel - Administrative Tools - Local Security Policy
Local Policies - Security Options
Network security: LAN Manager authentication level
Send LM & NTLM responses
Minimum session security for NTLM SSP
Disable Require 128-bit encryption 
-------------------------------------------------------------------------------------------------------------
samba version - samba-3.4.7
distro - ubuntu 10.04 server edition
kernel - 2.6.32-28-generic

relevant part from smb.conf

[grupper]
   path = /home/grupper
   comment = Velg din gruppe
   writable = yes
   browseable = yes
   create mask = 0770
   directory mask = 0770

root at samba3:/home/grupper# ls -la
total 56
drwxr-xr-x 14 root root   4096 2011-04-06 16:02 .
drwxr-xr-x  8 root root   4096 2011-05-25 15:42 ..
drwxrwx---  2 root andre  4096 2011-04-06 16:02 andre
drwxrwx---  2 root bib    4096 2011-04-06 16:01 bib
drwxrwx---  2 root helse  4096 2011-04-06 16:02 helse
drwxrwx---  2 root ikt    4096 2011-04-06 16:01 ikt
drwxrwx--- 14 root kassen 4096 2011-06-27 12:00 kassen
drwxrwx---  2 root kirke  4096 2011-04-06 16:02 kirke
drwxrwx---  2 root ntk    4096 2011-06-27 14:21 ntk
drwxrwx---  2 root ord    4096 2011-04-06 16:02 ord
drwxrwx--- 70 root pro    4096 2011-06-27 22:21 pro
drwxrwx---  2 root sad    4096 2011-04-06 16:01 sad
drwxrwx---  2 root sko    4096 2011-04-06 16:01 sko
drwxrwx---  2 root sosial 4096 2011-04-06 16:02 sosial

something from logs (hopefully relevent) when a win 7 machine tries to access one of above mentioned shares:
[2011/07/08 15:52:25,  3] smbd/error.c:60(error_packet_set)
  error packet at smbd/ipc.c(527) cmd=37 (SMBtrans) NT_STATUS_NOT_SUPPORTED
[2011/07/08 15:52:25,  3] smbd/process.c:1459(process_smb)
  Transaction 62 of length 88 (0 toread)
[2011/07/08 15:52:25,  3] smbd/process.c:1273(switch_message)
  switch message SMBtrans2 (pid 1961) conn 0x7f2b102aaed0
[2011/07/08 15:52:25,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (10200, 10002) - sec_ctx_stack_ndx = 0
[2011/07/08 15:52:25,  3] smbd/trans2.c:3956(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/07/08 15:52:25,  3] smbd/vfs.c:865(check_reduced_name)
  reduce_name [sad] [/home/grupper]
[2011/07/08 15:52:25,  3] smbd/vfs.c:974(check_reduced_name)
  reduce_name: sad reduced to /home/grupper/sad
[2011/07/08 15:52:25,  3] smbd/trans2.c:4070(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo sad (fnum = -1) level=1004 call=5 total_data=0
[2011/07/08 15:52:25,  3] smbd/process.c:1459(process_smb)
  Transaction 63 of length 88 (0 toread)
[2011/07/08 15:52:25,  3] smbd/process.c:1273(switch_message)
  switch message SMBtrans2 (pid 1961) conn 0x7f2b102aaed0
[2011/07/08 15:52:25,  3] smbd/trans2.c:3956(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2011/07/08 15:52:25,  3] smbd/vfs.c:865(check_reduced_name)
  reduce_name [sad] [/home/grupper]

Thank you in advance for hint ...

Regards kuda

 


More information about the samba mailing list