LINUX.ORG.RU
ФорумAdmin

настройка samba


0

0

люди, помогите настроить samba - в сетевом окружении вижу комп, при попытке подключения-окно с авторизацией и все....как настроить гостевое подключение!!!?????плиз-необходим доступ к файлам директори(принтеры не надо).....ниже привожу smb.conf...thanx!!!! #======================= Global Settings ======================= [global] workgroup = Temp

server string = %h server (Samba %v) Server ; wins support = no

; wins server = w.x.y.z

dns proxy = no ; name resolve order = lmhosts host wins bcast

#### Debugging/Accounting ####

log file = /var/log/samba/log.%m max log size = 1000 ; syslog only = no syslog = 0

panic action = /usr/share/samba/panic-action %d

####### Authentication #######

# security = user

encrypt passwords = true # passdb backend = tdbsam guest

# obey pam restrictions = yes

# guest account = nobody invalid users = root

; unix password sync = no

passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

; pam password change = no

########## Printing ##########

; load printers = yes

; printing = bsd ; printcap name = /etc/printcap

; printing = cups ; printcap name = cups

; printer admin = @ntadmin

######## File sharing ########

# Name mangling options preserve case = yes short preserve case = yes

############ Misc ############

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

# SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

; domain master = auto

; idmap uid = 10000-20000 ; idmap gid = 10000-20000 ; template shell = /bin/bash

#======================= Share Definitions =======================

[homes] comment = Home Directories browseable = no [tmp] guest only = yes # comment = Film path = /home/yarik/exe/store read only = no public = yes

writable = no

create mask = 0775

directory mask = 0775

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

#[printers] # comment = All Printers # browseable = no # path = /tmp # printable = yes # public = no # writable = no # create mode = 0700

#[print$] # comment = Printer Drivers # path = /var/lib/samba/printers # browseable = yes # read only = yes # guest ok = no ; write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others. ;[cdrom] ; comment = Samba server's CD-ROM ; writable = no ; locking = no ; path = /cdrom ; public = yes

; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom

anonymous

Ты бы хоть один символ в дефолтном конфиге изменил.

sdio ★★★★★
()

>люди, помогите настроить samba - в сетевом окружении вижу комп, при попытке подключения-окно с авторизацией и все....как настроить гостевое подключение!!!?????

security = share

jedy ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.