WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 11.09.2002, 13:54   #1
Sloter
Inventar
 
Registriert seit: 05.01.2000
Beiträge: 3.812


Standard Sambaconfig

Hallo Jungs

Kann mal wer auf die schnelle eine smb.conf posten?
Ich sehe zwar den Linuxrechner kann aber nicht zugreifen.

Muß Winuser auch als Linuxuser vorhanden sein, nein oder?

Danke Sloter
Sloter ist offline   Mit Zitat antworten
Alt 11.09.2002, 14:44   #2
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

i hab zwar nur eine wo jeder schreiben/lesen darf, aber ich post mal...

da kann wirklich jeder drauf zugreiffen...

probiert mit win98/win98se/winme/w2k/xp in der domäne als auch andere workgroups...

#======================= Global Settings =====================================
[global]

workgroup = LAN

server string = SMB File Server

hosts allow = 10. 127.

printcap name = /etc/printcap
load printers = no

printing = lprng

guest account = smbguest

log file = /var/log/samba/%m.log

max log size = 0

security = share

; password server = CONTROL

password level = 8
username level = 8

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*

username map = /etc/samba/smbusers

; include = /etc/samba/smb.conf.%m


; obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

; interfaces = 192.168.12.2/24 192.168.13.2/24

; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44

local master = no

; os level = 33

; domain master = yes

; preferred master = yes

; domain logons = yes

; logon script = %m.bat
; logon script = %U.bat

; logon path = \\%L\Profiles\%U

; wins support = yes

; wins server = w.x.y.z

; wins proxy = yes

dns proxy = no

; preserve case = no
; short preserve case = no
; default case = lower
; case sensitive = no

#============================ Share Definitions ==============================
;[homes]
; comment = Home Directories
; browseable = no
; writable = yes
; valid users = %S
; create mode = 0664
; directory mode = 0775
map to guest = bad user


; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no


;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes


;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
; guest ok = no
; writable = no
; printable = yes

;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

;[public1]
; comment = Public Space
; path = /smb
; public = yes
; writable = yes
; printable = no
; write list = @staff

;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes

[Disk1]
comment = Free Space
path = /smb/disk1
public = yes
only guest = yes
writable = yes
printable = no

[disk2]
comment = Free Space
path = /smb/disk2
public = yes
only guest = yes
writable = yes
printable = no

[disk3]
comment = Free Space
path = /smb/disk3
public = yes
only guest = yes
writable = yes
printable = no

[disk4]
comment = Free Space
path = /smb/disk4
public = yes
only guest = yes
writable = yes
printable = no

[disk5]
comment = Free Space
path = /smb/disk5
public = yes
only guest = yes
writeable = yes
printable = no
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 11.09.2002, 15:21   #3
Sloter
Inventar
 
Registriert seit: 05.01.2000
Beiträge: 3.812


Standard

Hy

Danke, funzt aber nicht....
Ich bekomme weiterhin die Userabfrage und da komme ich nicht drüber.

Sloter
Sloter ist offline   Mit Zitat antworten
Alt 11.09.2002, 15:36   #4
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

was hast du bei

security =

stehen?

http://at.samba.org/samba/docs/man/s....html#SECURITY
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 11.09.2002, 21:23   #5
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard

Selbes Problem

Tuts ein
guest account = nobody

auch? Oder sollte ich einen extra User anlegen?
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
SNo0py ist offline   Mit Zitat antworten
Alt 11.09.2002, 21:27   #6
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard

security = user

...
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
SNo0py ist offline   Mit Zitat antworten
Alt 12.09.2002, 00:22   #7
sirius
Jr. Member
 
Registriert seit: 02.11.2001
Alter: 66
Beiträge: 45


Standard

was meldet samba beim aufruf von: testparm /etc/smb.conf ??

oder vielleicht liegt das prob beim client ==> passwortübergabe verschlüsselt j/n ??

lg sirius
____________________________________
Lieber ein Pinguin der läuft, als ein Fenster das hängt !!
sirius ist offline   Mit Zitat antworten
Alt 12.09.2002, 08:53   #8
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard



Ich habs!!!

Code:
security = user
guest account = nobody
map to guest = Bad User
Dann noch ein smbpasswd -a nobody und 2x Enter um ein leeres Kennwort zu erzeugen!

mfg
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
SNo0py ist offline   Mit Zitat antworten
Alt 12.09.2002, 11:24   #9
Sloter
Inventar
 
Registriert seit: 05.01.2000
Beiträge: 3.812


Standard

Thanks Snoopy und Valo

Es funktioniert

Sloter
Sloter ist offline   Mit Zitat antworten
Alt 16.09.2002, 11:06   #10
Who-T
Elite
 
Registriert seit: 01.08.2000
Beiträge: 1.395


Who-T eine Nachricht über ICQ schicken
Standard

eine frage: funkt bei euch das encrypt password=yes?

ich kann nur auf meine samba-shares zugreifen, wenn ich im XP das plain password to third party SMB enable
____________________________________
Whoever built humanity left in a major design flaw: it was the tendency to bend at the knees.
Who-T ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:45 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag