PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba-Server erscheint nicht unter Windows



Crush
25.07.02, 15:51
Da mein letzter Eintrag inzwischen weiter nach hinten gerutscht ist und mein Samba-Server immernoch nicht läuft, versuche ich es nochmal. Ich habe den Linux-Rechner schon als Router für meinen Windows ME Rechner laufen. Das funktioniert soweit auch alles einwandfrei. Ich kann die Rechner untereinander ohne Probleme anpingen. Jetzt wollte ich noch Samba installieren, damit ich auch Dateien austauschen kann. Samba starte ich in der rc.config (start_smb="yes"). Meine smb.conf sieht wie folgt aus:

;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = home
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user

; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10

; encrypt passwords = yes

printing = bsd
printcap name = /etc/printcap
load printers = yes

socket options = TCP_NODELAY

map to guest = Bad User

; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no

; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
interfaces = 192.168.0.3/255.255.255.0

; If you want Samba to act as a wins server, please set
wins support = yes
; wins support = no

; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1

; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon


[homes]
comment = Heimatverzeichnis
browseable = yes
read only = no
create mode = 0750
public = yes

; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
[cdrom]
comment = Linux CD-ROM
path = /cdrom
read only = yes
locking = no
public = yes

[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp

Was mache ich jetzt falsch, dass unter Windows in der Netzwerkumgebung nichts erscheint. Muss ich unter Linux noch irgendwie einstellen, wie der Name des Windows-Rechners ist?
Hab mir auch schon die anderen Beiträge hier angeschaut, aber irgendwie helfen die mir alle nicht weiter.

Röme
25.07.02, 16:01
Gib mal in der global-Section noch folgendes ein:

netbios name = <Computername>

<Computername> muss natürlich durch Deinen gewünschten (NetBIOS-) Computernamen ersetzt werden.

Gib danach als root einmal:

rcsmb restart

ein.

Gruss
Röme

realtec
25.07.02, 16:02
Hallo, nimm zum testen mal diese eifache smb.conf....
Benenne aber Deine alte um in smb_old.conf.
Mit dieser geht es auf jd. Fall, damit kannst Du ein grundsätzliches Problem ausschliesen und weisst das es an der Konfiguration hängt

[global]
workgroup = home
encrypt passwords = Yes
map to guest = Bad User
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
character set = ISO8859-15
os level = 2
printing = lprng
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750
browseable = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
guest ok = Yes
printable = Yes
browseable = No

Crush
25.07.02, 16:55
@Röme: Hat leider nicht geklappt!

@realtec: Super, jetzt geht's. Danke!

Kann mir denn vielleicht auch noch jemand sagen, wie ich unter Linux die freigegebenen Windows Ordner sehe, oder wie ich Schreibrechte für die Linuxordner bekomme?