Operating System - HP-UX
1837584 Members
2917 Online
110117 Solutions
New Discussion

Samba Authentication - gethostbyaddr

 
SOLVED
Go to solution
jerry1
Super Advisor

Samba Authentication - gethostbyaddr

I had a similar problem with rexecd but
there is a switch(if the patch is applied)
for rexecd, "-s", which tells rexecd to not
deny the connection if the client IP does
not match the DNS entry.

Is there a similar switch for Samba to not
do a DNS lookup of a connecting client when
the IP address of the connecting client does
not match the DNS entry of that client. It's
a DHCP VPN problem we have sometimes with
people taking their laptops home and getting
an IP from the VPN connection and registering
it in our DHCP server as another network IP
for that client.

1 REPLY 1
Kent Ostby
Honored Contributor
Solution

Re: Samba Authentication - gethostbyaddr

Check the smb.conf file. ( man smb.conf ) .. you should be able to turn this off with this parameter:

hostname lookups (G)
Specifies whether samba should use (expensive) hostname lookups or use the ip addresses instead. An example place where hostname lookups are currently used is when checking the hosts deny and hosts allow.

Default: hostname lookups = yes

Example: hostname lookups = no
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"