LINUX.ORG.RU
ФорумAdmin

Samba + 1C :(


0

0

Имеется третья самба и 1С.... Всё работает нормально... Только в одном случае частенько вылетает... Если пользователь одновременно две базы пускает... Причём тоже далеко не всегда. Закрываются обе базы и остаются процессы smbd и 1С думает что пользователь ещё в ней... Вот таки вот дела... Буду очень благодарен если кто-нибудь подскажет путь решения проблемы.

anonymous

Ответ на: комментарий от HellDog

[global] workgroup = LEDA printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: security = user encrypt passwords = yes add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$ domain logons = yes ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers local master = yes wins support = yes netbios name = SERVER domain master = yes preferred master = yes os level = 65 ldap admin dn = cn=Administrator,dc=leda,dc=loc ldap suffix = dc=leda,dc=loc passdb backend = ldapsam:ldap://localhost ldap group suffix = ou=group ldap user suffix = ou=people idmap backend = ldapsam:ldap://localhost socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 [homes] comment = Home Directories valid users = %S browseable = no read only = No inherit acls = Yes guest ok = no printable = no [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 browseable = yes guest ok = no printable = no [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes browseable = yes guest ok = no printable = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no [leda2004] path = /data/smb/conf-1c/Leda2004/ valid users = @buhg @sb @omts @feo @program kartsevnb writeable = yes browseable = yes guest ok = no printable = no force group = virt1cgroup force user = virt1cuser

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

global] 
workgroup = LEDA 
printing = cups 
printcap name = cups 
printcap cache time = 750 
cups options = raw 
printer admin = @ntadmin, root, administrator 
username map = /etc/samba/smbusers 
map to guest = Bad User 
include = /etc/samba/dhcp.conf 
logon path = \\%L\profiles\.msprofile 
logon home = \\%L\%U\.9xprofile 
logon drive = P: 
security = user 
encrypt passwords = yes 
add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$ 
domain logons = yes 
ldap idmap suffix = ou=Idmap 
ldap machine suffix = ou=Computers 
local master = yes 
wins support = yes 
netbios name = SERVER 
domain master = yes 
preferred master = yes 
os level = 65 
ldap admin dn = cn=Administrator,dc=leda,dc=loc 
ldap suffix = dc=leda,dc=loc passdb backend = ldapsam:ldap://localhost 
ldap group suffix = ou=group 
ldap user suffix = ou=people 
idmap backend = ldapsam:ldap://localhost 
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
[homes] 
comment = Home Directories 
valid users = %S 
browseable = no 
read only = No 
inherit acls = Yes 
guest ok = no 
printable = no 
[profiles] 
comment = Network Profiles Service 
path = %H 
read only = No 
store dos attributes = Yes 
create mask = 0600 
directory mask = 0700 
browseable = yes 
guest ok = no 
printable = no 
[users] 
comment = All users 
path = /home 
read only = No 
inherit acls = Yes 
veto files = /aquota.user/groups/shares/ 
browseable = yes 
guest ok = no 
printable = no 
[groups] 
comment = All groups 
path = /home/groups 
read only = No 
inherit acls = Yes 
browseable = yes 
guest ok = no 
printable = no 
[printers] 
comment = All Printers 
path = /var/tmp 
printable = yes 
create mask = 0600 
browseable = no 
guest ok = no 
[print$] 
comment = Printer Drivers 
path = /var/lib/samba/drivers 
write list = @ntadmin root 
force group = ntadmin 
create mask = 0664 
directory mask = 0775 
browseable = yes 
guest ok = no 
printable = no 
[leda2004]
path = /data/smb/conf-1c/Leda2004/ 
valid users = @buhg @sb @omts @feo @program kartsevnb 
writeable = yes 
browseable = yes 
guest ok = no 
printable = no 
force group = virt1cgroup 
force user = virt1cuser

Вот так более читаемо... но не видно настроек блокировок, 1С к ним оч. чувствительна, собака

HellDog
()

Накрайняк возми сборку самбы от ASP там есть готовый пример конфига для свзяки самбы и 1С

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