[samba] office-server: samba+ldap+...

Мусатов Александр Сергеевич =?iso-8859-1?q?casper6_=CE=C1_yandex=2Eru?=
Чт Июл 24 16:17:16 MSD 2008


Вот смотри 
[global]

   workgroup = workgroup
   server string = Server
   security = user
   hosts allow = 192.168.0.0/24
   log file = /var/log/samba/%m
   max log size = 500
   interfaces = 192.168.0.0/24
   dns proxy = no
# Charset settings
   display charset = koi8-r
   unix charset = koi8-r
   dos charset = cp866

#============================ Share Definitions ==============================
[public]
   path = /usr/home/samba
   public = yes
   only guest = yes
   writable = yes
   printable = no

моя но я просто как машинка делал. 1с базу держит. но проблемма у меня своя трабла )))))) человека после 10 минут бездействия с сервака выкидывает.
есть еще материал в альтлинуксе по настройке самбы.
вообще я создавал до тебя тему в этом разделе так мне на нее некто не ответил.

24.07.08, 16:03, "Maks Re" <admaks на gmail.com>:

> где то-так
> # cat /etc/samba/smb.conf|grep ^[^#]
> [global]
>         server string = Server SRV-1
>         workgroup = Star
>   netbios name = srv-1
>    printcap name = cups
>    load printers = yes
>    printing = cups
>    log file = /var/log/samba/log.%m
>    max log size = 512
>  log level = 4
>    hosts allow = 192.168.47.  127.
>    security = domain
>   encrypt passwords = yes
>   smb passwd file = /etc/samba/smbpasswd
>   unix password sync = No
>    socket options = TCP_NODELAY
>    interfaces = 192.168.47.1/24
>    local master = yes
>    os level = 255
>    domain master = yes
>    preferred master = yes
>    wins support = yes
>    dns proxy = no
>     use sendfile = yes
> passdb backend = ldapsam:ldap://srv-1.star.spb.ru
> ldap ssl = off
> ldap admin dn = "cn=admin,dc=star,dc=spb,dc=ru
> ldap suffix = dc=star,dc=spb,dc=ru
> admin users = admin
> ldap admin dn = "cn=admin,dc=star,dc=spb,dc=ru
> ldap user suffix = ou=People
> ldap group suffix = ou=Group
> ldap machine suffix = ou=Computers
> ldap delete dn = no
> ldap passwd sync = yes
> add machine script = /usr/sbin/smbldap-useradd -w %u
> add user script = /usr/local/sbin/smbldap-useradd -m %u
> delete user script = /usr/sbin/smbldap-userdel "%u"
> add group script = /usr/sbin/smbldap-groupadd -p "%g"
> delete group script = /usr/sbin/smbldap-groupdel "%g"
> add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
> delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
> set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u
> [homes]
>    comment = Home Directory for '%u'
>    browseable = no
>    writable = yes
> [share]
>         create mask = 0765
>         read only = No
>         only guest = yes
>         guest ok = Yes
>         path = /home/smb/shared
>         comment = Common shares
>         public = yes
>         writable = yes
>         printable = no
> [bases]
>         create mask = 0765
>         read only = No
>         only guest = yes
>         guest ok = Yes
>         path = /home/smb/bases
>         comment = Bases shares
>         public = yes
>         writable = yes
>         printable = no

-- 
C уважением к Вам. Александр. icq 2-252-555
iit.


Подробная информация о списке рассылки Samba