D
dsx12
Hallo zusammen
Ich konfiguriere Samba auf einem Ubuntu 10.04. Ich möchte mit der Direktive "hosts allow" den Zugriff nur Clients mit bestimmten Namen erlauben, was bisher leider nicht funktioniert hat. Ohne "hosts allow" hat der Zugriff funktioniert.
Für die Namensauflösung verwende ich DNS.
Client:
Windows XP
192.168.0.20
client.domain.ch
smb.conf (Ausschnitt)
log.smbd (Ausschnitt)
Hat jemand eine Idee was das Problem seinen könnte?
Danke für eure Antworten.
Ich konfiguriere Samba auf einem Ubuntu 10.04. Ich möchte mit der Direktive "hosts allow" den Zugriff nur Clients mit bestimmten Namen erlauben, was bisher leider nicht funktioniert hat. Ohne "hosts allow" hat der Zugriff funktioniert.
Für die Namensauflösung verwende ich DNS.
Client:
Windows XP
192.168.0.20
client.domain.ch
smb.conf (Ausschnitt)
Code:
[project]
comment = project
path = /project
hosts allow = client.domain.ch
log.smbd (Ausschnitt)
Code:
[2011/01/06 13:16:25, 5] smbd/service.c:1216(make_connection)
making a connection to 'normal' service project
[2011/01/06 13:16:25, 3] lib/access.c:362(only_ipaddrs_in_list)
only_ipaddrs_in_list: list has non-ip address (client.domain.ch)
[2011/01/06 13:16:25, 3] lib/access.c:396(check_access)
check_access: hostnames in host allow/deny list.
[2011/01/06 13:16:25, 0] lib/access.c:410(check_access)
Denied connection from 192.168.0.20 (192.168.0.20)
[2011/01/06 13:16:25, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/reply.c(689) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED
Hat jemand eine Idee was das Problem seinen könnte?
Danke für eure Antworten.