[samba] Частые падения самбы при работе с smb4k

Kharitonov A. Dmitry =?iso-8859-1?q?kharpost_=CE=C1_rambler=2Eru?=
Вт Дек 2 23:08:11 MSK 2008


>> [2008/12/02 01:26:54, 5] lib/username.c:Get_Pwnam_internals(108)
>>  Get_Pwnam_internals didn't find user [eeedima.altdoma]!
>>     
> Такого пользователя в системе не существует, вот и не пускают. Что у
> Вас за настройки на сервере?
>
>   
Не понятно, с чего он вдруг пропадает. А после рестарта smb появляется.

[user на SERVER ~]$ sed 
's/;/#/;s/^#.*//;s/[[:space:]]#.*//;/^[[:space:]]*$/D' /etc/samba/smb.conf
[global]
   dos charset = CP866
   unix charset = UTF8
   display charset = LOCALE
   workgroup = ALTDOMAIN
   server string =  Samba server on %h (v. %v)
 message command = /usr/bin/linpopup "%f" "%m" %s# rm %s
   printcap name = cups
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
 log level = 10
   hosts allow = 192.168.2. 127.
  guest account = nobody
   security = share
   usershare allow guests = yes
  password level = 8
  username level = 8
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY
   interfaces = lan
   local master = yes
   os level = 254
   preferred master = yes
 name resolve order = wins lmhosts bcast
   dns proxy = no
  preserve case = yes
  short preserve case = yes
  case sensitive = no
[work]
   comment = This is work storage
   path = /var/pub/work
   guest ok = yes
   only guest = yes
   public = yes
   writable = yes
   printable = no
   create mask = 0777
   directory mask = 0777
   force create mode = 0777
   force directory mode = 0777
[backup]
   comment = This is backup storage
   path = /var/pub/backup
   guest ok = yes
   only guest = yes
   public = yes
   writable = yes
   printable = no
   create mask = 0777
   directory mask = 0777
   force create mode = 0777
   force directory mode = 0777
[bigbackup]
   comment = This is backup storage
   path = /var/pub/bigbackup
   guest ok = yes
   only guest = yes
   public = yes
   writable = yes
   printable = no
   create mask = 0777
   directory mask = 0777
   force create mode = 0777
   force directory mode = 0777
[torrent]
   comment = This is backup storage
   path = /var/pub/torrent
   guest ok = yes
   only guest = yes
   public = yes
   writable = yes
   printable = no
   create mask = 0777
   directory mask = 0777
   force create mode = 0777
   force directory mode = 0777





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