I have two FC6 servers set up exactly alike, named "server" and "backup-server." The one named server works, mostly. The one named backup-server works very poorly.
I have followed Firewing1's setup instructions in his excellent Howto.
I have copied all samba related files from server to the non-working backup-server, changing only the netbios name and hostname.
The backup-server can browse all Windows systems, but can only see the first level of folders on the server. Any attempt to access a server folder gets an error message saying the folder doesn't exist.
All Windows systems and server can see the first level of folders on backup-server, but when attempting access they get an error message saying the folder doesn't exist.
I have been reading through every vaguely related thread on this forum for a month, and Samba may be working for others, but not for me. I gave up SuSE where it worked fine, and I MUST get it going on Fedora soon, or my ass is going to get kicked, hard. It worked fine for me in Xandros, so if I can't get it to work in Fedora I guess I can go back there
So in desperation I have carefully gone through Man Samba and found that I can produce an optimized version of smb.conf by copying my smb.conf to smb.conf.master, then adding -s to testparm, thus:
testparm -s /etc/samba/smb.conf.mater > /etc/samba.conf
The result has my eyeballs popping. Some of the things I thought were so vital do not show up in the optimized version.
Here is a small clip from smb.conf.master:
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = workgroup
# server string is the equivalent of the NT Description field
netbios name = backup-server
server string = Fedora Core 6
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = user
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.
hosts allow = 192.168.10. 127.
Now here is the equivelent clip from the optimized smb.conf:
server string = Fedora Core 6
map to guest = Bad User
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
os level = 33
wins proxy = Yes
hosts allow = 192.168.10., 127.
Where is workgroup = workgroup ?
Where is netbios name = backup-server ?
I mean, if they don't appear in the optimized version, does't that mean they are treated like all the commented stuff, and are treated that way even in the non-optimized version ?
Basically, I believe I have it set up correctly, and there is a possibility that it will continue to fail because there is something wrong in FC6. I have updated samba, and have uninstalled Samba and reinstalled it.
I will be quite happy to try whatever suggestions anyone has. I really like Fedora, and don't want to have to give it over something like this, but the boss isn't going to be patient forever.
I will very much appreciate any help anyone can give.