Hallo,
habe schon öfter mal eine Samba-Verbindung gemacht, aber irgendwie klappt es diesmal nicht. Ich habe mich ganz an dieses HowTo gehalten:
http://wiki.linux-club.de/opensuse/Einfache_Sambafreigabe_%C3%BCber_YaST
Ich habe einen WLAN Laptop mit Vista Business an einer Fritzbox 7050 und möchte einen simplen Daten-Ordner auf meinem OpenSuse 11.1 mit KDE 4.2 Rechner einrichten. Normal müsste das wie auf dieser Seite beschrieben ganz simpel sein.
- Wenn ich unter Vista nach Netzwerke suche, dann findet er es nicht (habe die Domain JOSEFGROUP genannt und auch in Vista als Domain eingetragen
- Wenn ich die IP beim Vista-Rechner direkt eingebe \\192.168.2.78, dann fragt er nach Benutzername und Passwort. Weder root mit passwort noch user mit Passwort funktioniert. Eigentlich habe ich ja nobody als Eigentüber des Verzeichnisses eingetragen, aber auch nobody geht nicht
Hier meine smb.conf
# Samba config file created using SWAT
# from UNKNOWN (_��q��q��Q����NHj��q���4���)
# Date: 2009/02/22 18:40:37
[global]
workgroup = JOSEFGROUP
security = DOMAIN
map to guest = Bad User
guest account = PC-PILUS, nobody
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain logons = Yes
os level = 65
domain master = Yes
default service = net
usershare allow guests = Yes
usershare max shares = 100
valid users = PC-PILUS
read list = PC-PILUS, nobody
write list = PC-PILUS, nobody
cups options = raw
include = /etc/samba/dhcp.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
[net]
comment = Austausch von Dateien
path = /home/josef/NET/
write list = root, josef, @ntadmin, PC-PILUS, nobody
read only = No
inherit acls = Yes
guest ok = Yes
habe schon öfter mal eine Samba-Verbindung gemacht, aber irgendwie klappt es diesmal nicht. Ich habe mich ganz an dieses HowTo gehalten:
http://wiki.linux-club.de/opensuse/Einfache_Sambafreigabe_%C3%BCber_YaST
Ich habe einen WLAN Laptop mit Vista Business an einer Fritzbox 7050 und möchte einen simplen Daten-Ordner auf meinem OpenSuse 11.1 mit KDE 4.2 Rechner einrichten. Normal müsste das wie auf dieser Seite beschrieben ganz simpel sein.
- Wenn ich unter Vista nach Netzwerke suche, dann findet er es nicht (habe die Domain JOSEFGROUP genannt und auch in Vista als Domain eingetragen
- Wenn ich die IP beim Vista-Rechner direkt eingebe \\192.168.2.78, dann fragt er nach Benutzername und Passwort. Weder root mit passwort noch user mit Passwort funktioniert. Eigentlich habe ich ja nobody als Eigentüber des Verzeichnisses eingetragen, aber auch nobody geht nicht
Hier meine smb.conf
# Samba config file created using SWAT
# from UNKNOWN (_��q��q��Q����NHj��q���4���)
# Date: 2009/02/22 18:40:37
[global]
workgroup = JOSEFGROUP
security = DOMAIN
map to guest = Bad User
guest account = PC-PILUS, nobody
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain logons = Yes
os level = 65
domain master = Yes
default service = net
usershare allow guests = Yes
usershare max shares = 100
valid users = PC-PILUS
read list = PC-PILUS, nobody
write list = PC-PILUS, nobody
cups options = raw
include = /etc/samba/dhcp.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
[net]
comment = Austausch von Dateien
path = /home/josef/NET/
write list = root, josef, @ntadmin, PC-PILUS, nobody
read only = No
inherit acls = Yes
guest ok = Yes