|This forum is proudly powered by Scientific Linux 6||SL website Download SL Help Search Members|
|Welcome Guest ( Log In | Register )||Resend Validation Email|
Posted: Apr 13 2012, 03:18 AM
Member No.: 1028
Joined: 13-November 11
my test.server.com has an ip 192.168.x.y. I have added this info in my /etc/hosts file.
samba server authentication worked when I set hosts allow = IP, like this:
But using hostname or domain did not work:
I would like to hosts deny/allow using hostname over ip address. So far, unsuccessfully.
The weird thing was when I change to:
it allowed server.com to be able to mount this samba server. So basically, my samba server behave like this:
hosts deny = .server.com <= did not block server.com. It allowed server.com domain to mount.
hosts allow = .server.com <= did not allow .server.com. It blocked server.com domain from mounting. ?????
btw, this happened only to my samba server. My vsftpd, nfs, httpd, and sshd have no issue with the hostname.
Could some1 please justify or shed some light on this?