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. > > 1. useradd some users > 2. gpasswd -a them to a "staff" group nd smbpasswd -a them > 3. chmod g+s the staff directory How about chown -R root:staff /directory_name ??? chmod -R 777 /directory_name ??? > 4. tested smbclient -L smbserver works smbclient -L localhost -U% try that. > 5. Windows user can see the Netbios name but not the share > 6. Trying to access fails after timeout > 7. Checked iptables/firewall not blocking > 8. 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 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos