biggyL
17.03.2005, 18:43
Народ помогите,
Чего то я туплю, какую-то мелочь в конфигах самбы не вижу:
когда коннектюсь в Start->Run->\\servername
открывается окно експлорера, и папок не видать.
Конфиг такой:
в /etc/samba/smb.conf :
include=/datafolder/etc/smb.global
include=/datafolder/etc/%U.conf
---------------------------------
в /datafolder/etc/smb.global:
[global]
workgroup=SOMEWORKGROUP
netbios name=servername
announce as = NT Workstation
server string=File Server
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
; MASTER BROWSER SETTINGS
os level = 255
preferred master = True
# domain master = True
local master = Yes
# time server = yes <====set up ntp to synch from a public time server
wins support = No
wins server = 195.28.11.14 195.28.11.74
name resolve order = wins lmhosts hosts bcast
interfaces=eth0
bind interfaces only=True
hosts deny=ALL
hosts allow=195.28.12.0/23 127.0.0.1
protocol=NT1
oplocks=False
level2oplocks=False
veto oplock files = /*.mdb/*.MDB/
; veto files = /*.eml/*.nws/riched20.dll/*.{*}/
# printing = CUPS <====make sure you are using CUPS
# printcap name = CUPS
; SECURITY AND LOGGING SETTINGS
# unix extensions = yes
security = user
encrypt passwords = yes
map to guest = Bad User
# domain logons = Yes
null passwords = False
log level=1
max log size = 20000
log file=/var/log/samba/%m
syslog=1
# Syncs passwords from windows to unix. mind the local pwd limits (length 5-8)
passwd chat debug = Yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *password* %n\n *password* %n\n *changed*
-------------------------------------------------------------------------
в /datafolder/etc/user1.conf:
include=/datafolder/etc/smb.global
[group1]
path=/datafolder/group1
comment=Group1 main directory
browsable=yes
available=yes
writeable=no
mangled names=no
directory mask=0777
create mask=0666
fstype=NTFS
[Public]
path=/datafolder/public
comment=public folder
browsable=yes
available=yes
writeable=no
mangled names=no
directory mask=0777
create mask=0666
fstype=NTFS
[printers]
comment = All Printers
path = /var/tmp
# Make printers accessible without user authentication.
; guest ok = Yes
printable = Yes
use client driver = Yes
create mask = 0600
browseable = Yes
---------------------------------------
Естественно был создан юзер user1 и присоединён к самбе - smbpasswd -a user1.
Под /datafolder соответственно папки - group1, public ....... которые почему то не видно?
Кто знает где ошибка закралась?
Чего то я туплю, какую-то мелочь в конфигах самбы не вижу:
когда коннектюсь в Start->Run->\\servername
открывается окно експлорера, и папок не видать.
Конфиг такой:
в /etc/samba/smb.conf :
include=/datafolder/etc/smb.global
include=/datafolder/etc/%U.conf
---------------------------------
в /datafolder/etc/smb.global:
[global]
workgroup=SOMEWORKGROUP
netbios name=servername
announce as = NT Workstation
server string=File Server
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
; MASTER BROWSER SETTINGS
os level = 255
preferred master = True
# domain master = True
local master = Yes
# time server = yes <====set up ntp to synch from a public time server
wins support = No
wins server = 195.28.11.14 195.28.11.74
name resolve order = wins lmhosts hosts bcast
interfaces=eth0
bind interfaces only=True
hosts deny=ALL
hosts allow=195.28.12.0/23 127.0.0.1
protocol=NT1
oplocks=False
level2oplocks=False
veto oplock files = /*.mdb/*.MDB/
; veto files = /*.eml/*.nws/riched20.dll/*.{*}/
# printing = CUPS <====make sure you are using CUPS
# printcap name = CUPS
; SECURITY AND LOGGING SETTINGS
# unix extensions = yes
security = user
encrypt passwords = yes
map to guest = Bad User
# domain logons = Yes
null passwords = False
log level=1
max log size = 20000
log file=/var/log/samba/%m
syslog=1
# Syncs passwords from windows to unix. mind the local pwd limits (length 5-8)
passwd chat debug = Yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *password* %n\n *password* %n\n *changed*
-------------------------------------------------------------------------
в /datafolder/etc/user1.conf:
include=/datafolder/etc/smb.global
[group1]
path=/datafolder/group1
comment=Group1 main directory
browsable=yes
available=yes
writeable=no
mangled names=no
directory mask=0777
create mask=0666
fstype=NTFS
[Public]
path=/datafolder/public
comment=public folder
browsable=yes
available=yes
writeable=no
mangled names=no
directory mask=0777
create mask=0666
fstype=NTFS
[printers]
comment = All Printers
path = /var/tmp
# Make printers accessible without user authentication.
; guest ok = Yes
printable = Yes
use client driver = Yes
create mask = 0600
browseable = Yes
---------------------------------------
Естественно был создан юзер user1 и присоединён к самбе - smbpasswd -a user1.
Под /datafolder соответственно папки - group1, public ....... которые почему то не видно?
Кто знает где ошибка закралась?