Hi List!
The following behavior was tested from Windows and smbclient, with
different user-ids. Samba is PDC. Host is FC2.
My shares:
[projekte]
comment = Projekte
path = /var/smb/share/Projekte
[projekteee]
comment = Projekte
path = /var/smb/share/Projekte
You see, both shares point the same directory on the filesystem.
BUT, on share "projekte" I can NOT write (ie. creating a dir) but on
share
"projekteee" I CAN! (as expected)
Strange eh?
There are no differences but the name of the share.
Yes, the user has write-acces to the filesystem.
No, no difference if I use smbclient or Windows.
No, there is no other share called "projekte" or something like this.
I did restartet the samba-daemon and did an upgrade from 3.0.7 to 3.0.9,
no way to get the share "projekte" working.
Untill today I thought I have enough experience with Samba to set up a
simple share ;-).
Any help welcome! Thanks in advance!
Here comes the (hopefully) importend part of level 10 log:
ACCESSING PROJEKTEEE
===================>| [2004/12/15 14:54:48, 3] smbd/service.c:make_connection_snum(472)
>| Connect path is '/var/smb/share/Projekte' for service
[projekteee]
>| [2004/12/15 14:54:48, 4] rpc_server/srv_srvsvc_nt.c:get_share_security
>| (217)
>| get_share_security: using default secdesc for projekteee
>| [2004/12/15 14:54:48, 10] lib/util_seaccess.c:se_map_generic(176)
>| se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
>| [2004/12/15 14:54:48, 10] lib/util_seaccess.c:se_access_check(234)
>| se_access_check: requested access 0x00000002, for NT token with 5
>| entries and first sid S-1-5-21-2380468414-3162594206-1878737562-2196.
>| [2004/12/15 14:54:48, 3] lib/util_seaccess.c:se_access_check(251)
>| [2004/12/15 14:54:48, 3] lib/util_seaccess.c:se_access_check(252)
>| se_access_check: user sid is
>| S-1-5-21-2380468414-3162594206-1878737562-2196
>| se_access_check: also S-1-5-21-2380468414-3162594206-1878737562-513
>| se_access_check: also S-1-1-0
>| se_access_check: also S-1-5-2
>| se_access_check: also S-1-5-11
>| se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask >|
101f01ff, current desired = 2
>| [2004/12/15 14:54:48, 5] lib/util_seaccess.c:se_access_check(309)
>| se_access_check: access (2) granted.
>|
ACCESSING PROJEKTE
=================>| [2004/12/15 14:54:58, 3] smbd/service.c:make_connection_snum(472)
>| Connect path is '/var/smb/share/Projekte' for service [projekte]
>| [2004/12/15 14:54:58, 6] rpc_parse/parse_prs.c:prs_debug(82)
>| 000000 sec_io_desc get_share_security
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint16(606)
>| 0000 revision : 0001
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint16(606)
>| 0002 type : 8004
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 0004 off_owner_sid: 00000000
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 0008 off_grp_sid : 00000000
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 000c off_sacl : 00000000
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 0010 off_dacl : 00000014
>| [2004/12/15 14:54:58, 7] rpc_parse/parse_prs.c:prs_debug(82)
>| 000014 sec_io_acl dacl
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint16(606)
>| 0014 revision: 0002
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint16(606)
>| 0016 size : 001c
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 0018 num_aces : 00000001
>| [2004/12/15 14:54:58, 8] rpc_parse/parse_prs.c:prs_debug(82)
>| 00001c sec_io_ace ace_list[00]:
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 001c type : 00
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 001d flags: 00
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint16(606)
>| 001e size : 0014
>| [2004/12/15 14:54:58, 9] rpc_parse/parse_prs.c:prs_debug(82)
>| 000020 sec_io_access info
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint32(635)
>| 0020 mask: a01200a9
>| [2004/12/15 14:54:58, 9] rpc_parse/parse_prs.c:prs_debug(82)
>| 000024 smb_io_dom_sid trustee
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0024 sid_rev_num: 01
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0025 num_auths : 01
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0026 id_auth[0] : 00
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0027 id_auth[1] : 00
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0028 id_auth[2] : 00
>| [2004/12/15 14:54:58, 5] rpc_parse/parse_prs.c:prs_uint8(577)
>| 0029 id_auth[3] : 00
... and so on...
--
<) .--.
)#=+ '
/## | .+. Best regards,
,,/###,|,,,,,,|,,,, Michael