[samba] vopros!

Shevchenko Dmitry f0r_s2mba на mail.ru
Вт Фев 28 10:38:08 MSK 2006


Сергей Черепенин wrote:

>у меня самба 3.0.21b
>  
>
>#======================= Global Settings =======================
>
>[global]
>
>## Browsing/Identification ###
>   workgroup = TECH
>   server string = %h server (Samba %v)
>;  wins support = no
>;  wins server = w.x.y.z
>   dns proxy = no
>;  name resolve order = lmhosts host wins bcast
>#### Debugging/Accounting ####
>   log file = /var/log/samba/log.%m
>   max log size = 1000
>;  syslog only = no
>   syslog = 0
>  
>
Может имеет смысл увеличить данный параметр и посмотреть логи обращения 
к себе?

># Do something sensible when Samba crashes: mail the admin a backtrace
>   panic action = /usr/share/samba/panic-action %d
>
>
>####### Authentication #######
>   security = ADS
>   realm = TECH.INC
>   encrypt passwords = true
>   passdb backend = tdbsam guest
>   obey pam restrictions = yes
>;   guest account = nobody
>   invalid users = root
>;   unix password sync = no
>   passwd program = /usr/bin/passwd %u
>   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
>  
>
Хмм... может я чего-то не понимаю, но в случае security = ADS это лишнее.

>;   pam password change = no
>
>
>########## Printing ##########
>
><skip>
>
>######## File sharing ########
>
><skip>
>############ Misc ############
># SO_RCVBUF=8192 SO_SNDBUF=8192 
>   socket options = TCP_NODELAY
>;  message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
>;   domain master = auto
># Some defaults for winbind (make sure you're not using the ranges
># for something else.)
>   idmap uid = 10000-20000
>   idmap gid = 10000-20000
>   template shell = /bin/bash
>   template home dir  = /home/samba/%u
>   winbind use default domain = yes
>   
>
>#======================= Share Definitions =======================
>
>[for_cd_record]
>   comment = for_cd_r
>   path = /home/for_cd_record
>   browseable = yes
>   writable = yes
>   create mask = 0775
>   directory mask = 0775
>
>[music]
>   comment = music
>   path = /home/media/music/audio
>   browseable = yes
>   writable = no
>   create mask = 0700
>   directory mask = 0700
>[printers]
>   comment = All Printers
>   browseable = no
>   path = /tmp
>   printable = yes
>   public = no
>   writable = no
>   create mode = 0700
>
># printer driversdos charset = cp866
>unix charset = utf-8 
>display charset = utf-8
>
Попробуйте синхронизировать время на Debian с W2k3 Server и повторно 
получить билет kerberos... (kinit, ntpdate, ntptime).


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