Samba FC4 Shares and dirs are empty?

Ruth Ivimey-Cook Ruth.Ivimey-Cook at ivimey.org
Sat Jul 16 13:26:33 UTC 2005


Hi,

Hoping you can help. I've updated my samba server (PDC) from 3.0.10 to
3.0.14a as part of updating from FC3 to FC4. On FC3 Samba was working
fine.

I now find I cant see inside any of the shares, even though  I can see
the share names themselves and the directories are quite readable to
Linux processes. So, e.g. I can see that I have a share "Users", but not
the contents of it. With one exception all shares are empty/blank. The
exception is that my "tmp" share includes 1 "file" called
OSL_PIPE_500_SingleOfficeIPC_3d3cfaac9b18bd645001594325165, which of
course doesn't exist in the filesystem.

I have disabled selinux, checked the audit messages, checked all
permissions and ACLs I know of and can't find a reason. it happens in
both a winxp client and using kde smb:// in konqueror.

I have included a snippet of the log file for an smb:// read of my home
directory. It is just finishing enumerating the files in the directory,
but then seems to give up.

I've just found that if you enter an smb:// directory path that exists,
the log file shows that the correct directory is scanned, and I don't
get a client error : the client behaves as if the dir is empty. However
if I do the same thing in winxp, I do get a client error -- "Windows
cannot find "...path..."

What's happening?


> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(251)
> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(252)
>   se_access_check: user sid is
> S-1-5-21-*********-*********-*********-2002
>   se_access_check: also S-1-5-21-*********-*********-*********-1201
>   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: also S-1-5-21-*********-*********-*********-2003
>   se_access_check: also S-1-5-21-*********-*********-*********-2005
> [2005/07/16 00:57:12, 5] lib/util_seaccess.c:se_access_check(309)
>   se_access_check: access (1) granted.
> [2005/07/16 00:57:12, 5] smbd/files.c:file_new(129)
>   allocated file structure 4497, fnum = 8593 (1 used)
> [2005/07/16 00:57:12, 5] smbd/open.c:open_file_stat(1707)
>   open_file_stat: 'opening' file .//SambaDomain.reg
> [2005/07/16 00:57:12, 5] smbd/posix_acls.c:get_nt_acl(2693)
>   get_nt_acl : file ACL absent, directory ACL absent
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetch_sid_from_uid_cache(159)
>   fetch sid from uid cache 501 ->
> S-1-5-21-*********-*********-*********-2002
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetch_sid_from_gid_cache(233)
>   fetch sid from gid cache 100 ->
> S-1-5-21-*********-*********-*********-1201
> [2005/07/16 00:57:12, 5] smbd/files.c:file_free(439)
>   freed files structure 8593 (0 used)
> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(251)
> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(252)
>   se_access_check: user sid is
> S-1-5-21-*********-*********-*********-2002
>   se_access_check: also S-1-5-21-*********-*********-*********-1201
>   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: also S-1-5-21-*********-*********-*********-2003
>   se_access_check: also S-1-5-21-*********-*********-*********-2005
> [2005/07/16 00:57:12, 5] lib/util_seaccess.c:se_access_check(309)
>   se_access_check: access (1) granted.
> [2005/07/16 00:57:12, 5] smbd/files.c:file_new(129)
>   allocated file structure 4498, fnum = 8594 (1 used)
> [2005/07/16 00:57:12, 5] smbd/open.c:open_file_stat(1707)
>   open_file_stat: 'opening' file .//rem-lj.ps
> [2005/07/16 00:57:12, 5] smbd/posix_acls.c:get_nt_acl(2693)
>   get_nt_acl : file ACL absent, directory ACL absent
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetch_sid_from_uid_cache(159)
>   fetch sid from uid cache 501 ->
> S-1-5-21-*********-*********-*********-2002
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetch_sid_from_gid_cache(233)
>   fetch sid from gid cache 100 ->
> S-1-5-21-*********-*********-*********-1201
> [2005/07/16 00:57:12, 5] smbd/files.c:file_free(439)
>   freed files structure 8594 (0 used)
> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(251)
> [2005/07/16 00:57:12, 3] lib/util_seaccess.c:se_access_check(252)
>   se_access_check: user sid is
> S-1-5-21-*********-*********-*********-2002
>   se_access_check: also S-1-5-21-*********-*********-*********-1201
>   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: also S-1-5-21-*********-*********-*********-2003
>   se_access_check: also S-1-5-21-*********-*********-*********-2005
> [2005/07/16 00:57:12, 5] lib/util_seaccess.c:se_access_check(309)
>   se_access_check: access (1) granted.
> [2005/07/16 00:57:12, 8] smbd/trans2.c:get_lanman2_dir_entry(869)
>   get_lanman2_dir_entry:readdir on dirptr 0x80342208 now at offset
> 4096
> [2005/07/16 00:57:12, 5] smbd/trans2.c:call_trans2findfirst(1482)
>   call_trans2findfirst - (2) closing dptr_num 256
> [2005/07/16 00:57:12, 4] smbd/dir.c:dptr_close_internal(220)
>   closing dptr key 256
> [2005/07/16 00:57:12, 6] lib/util_sock.c:write_socket(449)
>   write_socket(5,268)
> [2005/07/16 00:57:12, 6] lib/util_sock.c:write_socket(452)
>   write_socket(5,268) wrote 268
> [2005/07/16 00:57:12, 4] smbd/trans2.c:call_trans2findfirst(1518)
>   SMBtrans2 mask=* directory=./ dirtype=22 numentries=2
> 

-- 
Ruth Ivimey-Cook <ruth at ivimey.org>




More information about the fedora-list mailing list