z.b.: Wenn du mit dem Laptop auf die share zugreifst, läuft dann auf diesem Windows oder Ubuntu .
Mit Windows geht es, mit Ubuntu nicht.
Also:
PC: 192.168.1.4, Ubuntu = share
Laptop:
192.168.1.3, Windows = Zugriff auf share möglich
192.168.1.3, Ubuntu = kein Zugriff auf share möglich, kein vncviewer 192.168.1.4 möglich
Umgekehrt:
Laptop: 192.168.1.3, Ubuntu = share
PC: 192.168.1.4, Ubuntu = Zugriff auf share möglich, vncviewer 192.168.1.3 möglich.
Mit "smbpasswd -a user" habe ich den gleichen User mit dem gleichen Passwort auf beiden Rechnern angelegt.
Die smb.conf von PC 192.168.1.4:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/06/09 23:50:21
[global]
workgroup = MSHOME
server string = %h server (Samba, Ubuntu)
security = SHARE
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[MyMusic]
path = /home/user/MyMusic
guest ok = Yes
Die smb.conf von Laptop 192.168.1.3:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/06/09 23:53:08
[global]
workgroup = MSHOME
server string = %h server (Samba, Ubuntu)
security = SHARE
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[MyMusic]
path = /home/user/MyMusic
guest ok = Yes
Die beiden Rechner haben auch die gleiche smb.conf. Die Datei: /etc/samba/smbusers gibt es allerdings nicht, auf keinem Rechner.