WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   Sambaconfig (http://www.wcm.at/forum/showthread.php?t=69575)

Sloter 11.09.2002 13:54

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

valo 11.09.2002 14:44

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

Sloter 11.09.2002 15:21

Hy

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

Sloter

valo 11.09.2002 15:36

was hast du bei

security =

stehen?

http://at.samba.org/samba/docs/man/s....html#SECURITY

SNo0py 11.09.2002 21:23

Selbes Problem ;)

Tuts ein
guest account = nobody

auch? Oder sollte ich einen extra User anlegen?

SNo0py 11.09.2002 21:27

security = user

...

sirius 12.09.2002 00:22

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

SNo0py 12.09.2002 08:53

:D

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

Sloter 12.09.2002 11:24

Thanks Snoopy und Valo

Es funktioniert :bier:

Sloter

Who-T 16.09.2002 11:06

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


Alle Zeitangaben in WEZ +2. Es ist jetzt 08:29 Uhr.

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