may24x
23.05.16, 09:22
Hallo zusammen,
ich habe zwei unterschiedliche Netze A) 192.168.1.0/24 und B) 192.168.2.0/24
Mein Samba Server hat seine eth0 konfiguriert als: 192.168.1.1 und eth0:1 als 192.168.2.1
Die shares funktionieren auch und lassen sich entsprechend mounten.
Nur leider ist es so das Benutzer aus Netz A auch die Shares aus Netz B sehen können. Auch wenn sie da mangels Passwort nicht drauf zugreifen können.
Meine (Teil) Config des smb.conf:
[global]
unix extensions = yes
workgroup = WORKGROUP
wins support = no
server string = Samba Server %h server
security = user
log file = /var/log/samba/log.%m
dns proxy = no
ntlm auth = no
lanman auth = no
client ntlmv2 auth = yes
load printers = no
printing = CUPS
printcap name = CUPS
disable spoolss = yes
hosts allow = 192.168.1. 192.168.2.2 192.168.2.
interfaces = eth0, eth0:1
bind interfaces only = Yes
...
Was muss ich an der Konfiguration ändern das User aus Netz A nur eigene Shares sehen könne und Benutzer aus Netz B nur ihre.
ich habe zwei unterschiedliche Netze A) 192.168.1.0/24 und B) 192.168.2.0/24
Mein Samba Server hat seine eth0 konfiguriert als: 192.168.1.1 und eth0:1 als 192.168.2.1
Die shares funktionieren auch und lassen sich entsprechend mounten.
Nur leider ist es so das Benutzer aus Netz A auch die Shares aus Netz B sehen können. Auch wenn sie da mangels Passwort nicht drauf zugreifen können.
Meine (Teil) Config des smb.conf:
[global]
unix extensions = yes
workgroup = WORKGROUP
wins support = no
server string = Samba Server %h server
security = user
log file = /var/log/samba/log.%m
dns proxy = no
ntlm auth = no
lanman auth = no
client ntlmv2 auth = yes
load printers = no
printing = CUPS
printcap name = CUPS
disable spoolss = yes
hosts allow = 192.168.1. 192.168.2.2 192.168.2.
interfaces = eth0, eth0:1
bind interfaces only = Yes
...
Was muss ich an der Konfiguration ändern das User aus Netz A nur eigene Shares sehen könne und Benutzer aus Netz B nur ihre.