sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #30807
Smbd gethostbyaddr fejl
Hvorfor får jeg
[2000/12/05 13:56:40, 1] lib/util_sock.c:client_name(997)
Gethostbyaddr failed for 192.168.1.10
.10 er en dhcp-klient.
Fra dhcp.conf :
deny unknown-clients;
server-name "scumbag.onscreen.zzz";
default-lease-time 28800; # three hours
max-lease-time 172800; # two days
option domain-name "onscreen.zzz";
option domain-name-servers 192.168.1.1;
option netbios-name-servers 192.168.1.1;
option netbios-dd-server 192.168.1.1;
option netbios-node-type 8;
option ip-forwarding off;
option lpr-servers 192.168.1.1;
#option ntp-servers;
# Client segment
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.20;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
#option all-subnets-local 1;
host wacko.onscreen.zzz { hardware ethernet 00:60:97:D8:F3:03; }
}
Fra smb.conf :
[global]
comment = Samba %v
netbios name = onscreen.zzz
workgroup = onscreen
...
domain master = yes
preferred master = yes
local master = yes
os level = 65
dead time = 0
debug level = 1
security = user
...
name resolve order = wins dns
wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
--
Regards,
Mogens Valentin
Networking - Security - Programming
Linux configuration and troubleshooting
http://www.danbbs.dk/~monz - monz@xxxxxxxxx
Follow ups