On Fri, 2009-02-27 at 17:59 +0800, Noob Centos Admin wrote:
I'm seriously befuddled by Samba now.
I followed the good advice given and got the previous server set up nicely.
I did the same thing on another one and it refuses to work.
- useradd some users
- gpasswd -a them to a "staff" group nd smbpasswd -a them
- chmod g+s the staff directory
How about chown -R root:staff /directory_name ??? chmod -R 777 /directory_name ???
- tested smbclient -L smbserver works
smbclient -L localhost -U% try that.
- Windows user can see the Netbios name but not the share
- Trying to access fails after timeout
- Checked iptables/firewall not blocking
- tail -f samba logs but nothing happens, it's like samba never see
the incoming request. Note that it doesn't log anything with smbclient -L either. 9. mv the smb.conf and used a very basic one, similar to the one suggested in this thread. 10. yum remove and installed samba again just in case
Still not working.
I'm almost certain now that samba coder snuck in a devious randomizer that requires every single installation to only work after an random sequence of actions is taken. :(
Any hints or magic words?
----- Just to rule out user input error take the working samba configuration from the previous server and copy it over to the current none working one. Then "service smb reload" or "service smb restart".
At least make sure you are working with the same samba package versions. Lastly it would be or "WE" could help a bit more if you posted the current configuration your working with to possibly spot errors in it.
JohnStanley