LINUX.ORG.RU
ФорумAdmin

Samba & 1C v7


0

0

Ужас... Я уже просто схожу с ума. Без понятия что делать просто.. Кто-нибуть есть,кто раскочегарил самбу и 1с? "Ошибка блокировки данных.Возможно данные используются другой задачей" выдаётся. Как это победить в самбе 3.0.24?? OS Gentoo PS игрался с оплоками,что-то не помогает (


Больше одного пользователя у меня сейчас с расшаренными базами работать не могут.... Помогите!

gizmo
() автор топика
Ответ на: комментарий от gizmo

Это случилось после обновления на 3.0.24 ?

У меня все работает. Вот версия самбы и USE флаги.

node2 ~ # emerge -pv samba

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] net-fs/samba-3.0.24-r3 USE="pam quotas syslog -acl -async -automount -caps -cups -doc -examples -fam -kerberos -ldap -oav -python -readline (-selinux) -swat -winbind" LINGUAS="-ja -pl" 0 kB

iron ★★★★★
()
Ответ на: комментарий от b212

Не работает не в связи что обновил самбу,просто сейчас надо прикрутить 1с к самбе,прикрутил,но не пашет-максимум 1 юзер.А заделитись своим конфигом самбы где 1с работает плз..

gizmo
() автор топика
Ответ на: комментарий от HellDog


workgroup = CORP
netbios name = DATA
domain master = Yes
domain logons = Yes
local master = Yes
security = user
interfaces = 192.168.222.0/24 127.0.0.1 10.200.0.0/24
bind interfaces only = Yes
passdb backend = tdbsam
pam password change = Yes
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n*Passwor
username map = /home/samba/smbusers
unix password sync = No
log level = 5
syslog = 2
log file = /home/samba/log/%m
max log size = 5000
max open files = 90000
smb ports = 139 445
os level = 255
dos charset = 866
unix charset = KOI8-R
display charset = CP1251
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /home/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
# New oplocks
#blocking locks = yes
#kernel oplocks = yes
#locking = no
#oplocks = no
#level2 oplocks = no
#posix locking = yes
#strict locking = no
#share modes = yes
#fake oplocks = yes
#old version of oplocks
oplocks = yes
level2 oplocks = yes
lock spin count = 3
lock spin time = 10
logon script = %G.bat
logon path =
logon drive = X:
logon home = \\%L\%U

preferred master = Yes
wins support = Yes
utmp = Yes
map acl inherit = Yes
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
#Virus Scan#

[IPC$]
path = /tmp
hosts allow = 192.168.7.0/24, 192.168.0.0/24, 127.0.0.1, 192.168.8.0/24 , 10.200.0.0/24 , 192.168.222.0/24
hosts deny = 0.0.0.0/0

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
read only = No
browseable = No
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
locking = No


[common]
comment = Soft
create mask = 0774
path = /home/samba/common
read only = No
guest ok = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[Shared]
comment = Обмен для ВСЕХ
path = /home/samba/shares
create mask = 0777
directory mask = 0777
read only = No
guest ok = Yes
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[RP]
comment = Реечные потолки(обмен)
path = /home/samba/rp
valid users = @rp,@ntadmins
create mask = 0770
directory mask = 0770
read only = No
guest ok = No
browseable = No
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[NP]
comment = Натяжные потолки(обмен)
path = /home/samba/np
valid users = @np,@ntadmins
create mask = 0770
directory mask = 0770
read only = No
guest ok = No
browseable = No
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[Curtains]
comment = Шторы(обмен)
path = /home/samba/curtains
valid users = @curtains,@ntadmins
create mask = 0770
directory mask = 0770
read only = No
guest ok = No
browseable = No
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[Finance]
comment = Бухгалтера
path = /home/samba/buh
valid users = @buh,@ntadmins
create mask = 0770
directory mask = 0770
read only = No
guest ok = No
browseable = No
veto files = /*.zip/*.7z/*.com/*.bat/*.exe/*.rar/*.avi/*.mp*/*.wav/
delete veto files = Yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[Backup]
comment = Резервные копии ;)
path = /mnt/backup
valid users = @ntadmins
create mask = 0770
directory mask = 0770
read only = No
guest ok = No
browseable = No

[curtbase]
comment = Базы
path = /home/samba/curtbase
create mask = 0770
valid users = @curtains,@ntadmins
directory mask = 0770
read only = No
guest ok = No
browseable = No

[Test Base]
comment = 1c Test Base
path = /home/samba/curtbase/test/
hide files=lost+found/
valid users = @curtains,@ntadmins
read only = No
force group = curtains
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
guest ok = Yes
map archive = Yes
locking = Yes
oplocks = Yes
nt acl support = Yes


С оплооками пробовал уже,пожалуй,ВСЕ варианты...

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