samba shares show 0 files in every folder???
okay i've been at this for a week and i've tried my best to read/search to find the answer so i didn't have to post -- but no luck.
i have this machine running fedora, 2 fileservers running win server2k3, a modded xbox (XBMC -- i think its mandrake based?) and 2 XP machines. i'm trying to set up a simple share for all of these machines to be able to see the one shared directory and just be able to access the files inside. shouldn't be a big deal right? well for some reason i can browse all of the folders but each one shows that the folder is empty. here's my info: distro: FC6 -- kernel 6.22.2-42 share: samba -- smb.conf configured via SWAT ip info: dhcp on all machines, no wins server here's my smb.conf Code:
# Samba config file created using SWAT |
Just curious, what are the permissions on /media?
Good luck. ;-) |
Code:
[root@dustyfedora media]# ls -ld |
Samba vars
Quote:
In swat go to the share tab, select your share and click advanced (if you weren't doing this before), then click select share. This should open up more of the options that are off by default. So long as you don't change any you never see them in the config file. Browsable should be near the bottom. Change the value to Yes (or add browseable = Yes to your config file at the bottom of the appropriate share) and restart the daemons (killall -HUP smbd / nmbd). Hope this fixes it for you. Gryyphyn |
Quote:
Blessed be! Pappy |
OK here is the obvious stuff.
I will use xbox as the user. First, create the user xbox in Fedora. Then smbpasswd -a xbox, to create xbox in SAMBA. In /media share Commment out vaild users and admin users. Add browseable = yes The following is for a huge server so you may want to cut back buffers and cache: [global] workgroup = CARSON server string = LinuxBox security = user interfaces = 192.168.10.0/24 192.168.1.0/24 127.0.0.1/8 (make sure to change these to the ip network you are using but also make sure to keep 127. ) bind interfaces only = Yes encrypt passwords = Yes min password length = 1 unix password sync = Yes read size = 8192 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768 load printers = No strip dot = Yes os level = 99 preferred master = Yes domain master = Yes writeable = Yes create mask = 0777 directory mask = 0777 force directory security mode = 0777 inherit permissions = Yes hosts allow = localhost, 192.168.10.0/255.255.255.0, 192.168.1.0/255.255.255.0 max connections = 180 write cache size = 262144 short preserve case = No oplocks = No dos filetimes = Yes dos filetime resolution = Yes fake directory create times = Yes veto oplock files = /*.cdx /*.dbf/ force user = root force group = wheel This system is bsd so force group will be whatever root's group is on Fedora. The security is non-existent YOU ARE WARNED to not connect this box to a network you do not trust!!! |
Quote:
|
Quote:
this has to be the dumbest little thing i'm leaving out and its making me very angry!!!!! thanks for your help guys, i really do appreciate it. if it weren't for this post i'd probably just be buying a new hdd to put in my windows box instead of making this share work. |
also here's this just in case -- i know how to fix the 'unix password sync' problem which i'll do now, but the rest i'm guessing i need to add lines i don't know about...
Code:
[root@dustyfedora ~]# testparm |
I am running FC6 2.6.20-1.2952.fc6, and my Samba share is working perfectly. Below is my configuration. What I did besides this is
create user accounts for the windows clients and match their password so that while the windows clients are trying to access the samba share, they do not need to supply passwords. From the results of your "testparm", I suggest you remove those parameters that cause errors. Do you have your SElinux on? My experience with SElinux was not pleasant. Change it to permissive mode will make life easier. Then I do not think you have firewall problem since you mentioned that the folders are shown on the network but no contents. Just make sure all contents in the folder have permission mode of 777 since you claim that you have no threat. NOW what concerns me is you also mentioned you have problem with gnome. This makes me wonder how old your hardware is. Have you checked your hard drive consistency? Try to use fsck to check your hard drives. I think your gnome session is a bit weird, either from the results of corrupt files, libraries, or even partially damaged memory. Good luck! [global] workgroup = DCGROUP server string = MEDIA security = user local master = yes log file = /var/log/samba/%m.log max log size = 50 load printers = No dns proxy = No wins support = Yes cups options = raw [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /usr/spool/samba printable = Yes browseable = No [tmp] comment = Temporary file space path = /tmp read only = No guest ok = Yes [Share-Programs] comment = Share-Programs path = /share/share/Share-Programs write list = @family [Documents] comment = Documents path = /share/share/Data write list = @family [FIX160GB] comment = FIX160GB path = /share/FIX160G write list = @family guest ok = Yes [Music] comment = Music for Friends path = /share/share/Music write list = @family guest ok = Yes [Video] comment = Video for Friends path = /share/share/Videos write list = @family guest ok = Yes [Shared-Space] comment = Place for everyone path = "/share/share/Share Space" read only = No guest ok = Yes [Web] comment = Chen's Paradise Website path = /var/www/html write list = @family guest ok = Yes |
Quote:
many many thanks to all for your suggestions. |
All times are GMT -5. The time now is 05:02 AM. |