Ruth Ivimey-Cook
2005-Jul-16 00:17 UTC
[Samba] Shares all empty after upgrade to 3.0.14a-fc4
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. 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@ivimey.org>
Ruth Ivimey-Cook
2005-Jul-18 17:18 UTC
[Samba] Shares all empty after upgrade to 3.0.14a-fc4
Daniel,> did you check max_protocol is it the same ? After I did an > upgrade and the max_protocol was changed I had the same behaviour. > > DanielI checked the smb.conf, and it did get changed. I don't know what changed it as the install scripts in the samba rpm don't do so. The following items were added: client ntlmv2 auth = yes restrict anonymous = no client lanman auth = no max protocol = NT server signing = Auto As you see it added "max protocol" and a few other lines which may well have messed things up. I already had max protocol=NT. I didn't expect this to happen and it's rather annoying that it did so without notice... Before your note arrived, I had decided to reinstall samba - save smb.conf, smbpasswd, delete RPMs [1], reinstall from scratch, use SWAT to get basic smb.conf running again. It worked fine, which suggests it was some configuration thing. Thanks for the suggestion, though Ruth [1] rpm --erase didn't delete the manual pages...
Apparently Analagous Threads
- Samba 3 and german umlaute in filenames/ can not delete or rename files or dirs
- NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
- Clients hang on file access - Samba 3.0.6
- RES: RES: Re: ACLs with Problem
- Problem with guest account samba 3.0.23a (smbd wont start)