Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
I_one Гость
|
Добавлено: Пн Апр 15 2002 23:36 Заголовок сообщения: подкиньте рабочий конфиг Samba |
|
|
Есть база данных на парадоксе или например на VFoxPro. Задача: Сейчас база данных лежит на Win98 её юзают 7 человек, необходимо переставить серв на Линукс для этого необходим обкатанный конфиг Samba. Может у кого нить есть аналогичное решение? Пожалуйста киньте на мыло i_one@mail.ru. Заранее спасибо. |
|
Вернуться к началу |
|
|
assab Гость
|
Добавлено: Вт Апр 16 2002 08:04 Заголовок сообщения: Re: подкиньте рабочий конфиг Samba |
|
|
# This is the mai n Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not many any basic syntactic errors. # #======================= Global Settings ===================================== [global]
# workgroup = NT-Domain-Name or Workgroup-Name workgroup = WORKGROUP
# server string is the equivalent of the NT Description field server string = Samba Server
# This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.1. 192.168.2. 127.
# enable page code 866 client code page = 866 character set = koi8-r
# disable view's hidden files hide dot files = yes
# if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = /etc/printcap load printers = yes
# It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = lprng
# Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest
# this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb). max log size = 500
# Security mode. Most people will want user level security. See # security_level.txt for details. security = user # Use password server option only with security = server or # security = domain ; password server =
# Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 ; username level = 8
# You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd
# The following is needed to keep smbclient from spouting spurious errors # when Samba is built with support for SSL. ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
# The following are needed to allow password changing from Windows to ... |
|
Вернуться к началу |
|
|
assab Гость
|
Добавлено: Вт Апр 16 2002 08:08 Заголовок сообщения: Sorry |
|
|
[global] workgroup = ECOPROMCOMPLEX server string = Samba Server client code page = 866 character set = koi8-r hide dot files = yes printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 500 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 255 domain master = yes preferred master = yes name resolve order = lmhosts bcast dns proxy = no default case = lower [homes] comment = Home Directories valid users = %U browseable = no writable = yes path = /home/%S/msnet [printers] comment = All Printers path = /var/spool/samba browseable = yes [1c] comment = 1c database path = /home/Server/1c valid users = +1c admin public = no writable = yes printable = no create mask = 770 force group = 1c force user = admin force create mode = 770 force directory mode = 770 |
|
Вернуться к началу |
|
|
Dmitry.Karpov http://www. Гость
|
Добавлено: Вт Апр 16 2002 09:29 Заголовок сообщения: Зависит от разных условий |
|
|
Конфиг Самбы формируется по разному в зависимости от наличия WINS-серверов, контроллеров домена и т.п., а также в зависимости от требований безопасности (политики разграничения доступа) и много чего еще. Так сразу нельзя дать что-то реально работающее, по кр.мере, лучшее чем пример конфига из дистрибутива. |
|
Вернуться к началу |
|
|
|