Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Vladimir V. Tsel`m                   2:5020/400     22 Jul 2004  13:47:55
 To : All
 Subject : Samba 3.0.4 - Need help
 -------------------------------------------------------------------------------- 
 
 
 Проблема:
 имеем в сети из 10 машин PDC на samba 3.0.4.Одним прекрасным утром сабж
 перестал работать,
 в логах писал примерно следующее:
 
 [2004/07/21 11:43:25, 0] lib/util_sock.c:get_peer_addr(978)
   getpeername failed. Error was Transport endpoint is not connected
 [2004/07/21 11:43:25, 0] lib/util_sock.c:write_socket_data(413)
   write_socket_data: write failure. Error = Connection reset by peer
 [2004/07/21 11:43:25, 0] lib/util_sock.c:write_socket(438)
   write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset
 by peer
 [2004/07/21 11:43:25, 0] lib/util_sock.c:send_smb(630)
   Error writing 4 bytes to client. -1. (Connection reset by peer)
 [2004/07/21 11:43:25, 2] smbd/server.c:exit_server(568)
   Closing connections
 
 Оффтопики пишут что-то типа "Connection timeout"
 после полной переустановки samba вроде все заработало и работало в течении 1
 дня.
 
 с утра опять облом, при попытке добавить машину в домен она добавляется, а
 после следующей
 перезагрузке в домен уже не пускают
 
 в логи машин пишет:
 
 [2004/07/21 11:58:30, 2] smbd/sesssetup.c:setup_new_vc_session(602)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
 old resources.
 [2004/07/21 11:58:30, 2] smbd/sesssetup.c:setup_new_vc_session(602)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
 old resources.
 [2004/07/21 11:58:30, 2] lib/access.c:check_access(324)
   Allowed connection from 192.168.243.8 (192.168.243.8)
 [2004/07/21 11:58:31, 0] rpc_server/srv_netlog_nt.c:get_md4pw(201)
   get_md4pw: Workstation SUPERBUG$: no account in domain
 [2004/07/21 11:58:31, 0] rpc_server/srv_netlog_nt.c:get_md4pw(201)
   get_md4pw: Workstation SUPERBUG$: no account in domain
 [2004/07/21 11:58:41, 2] smbd/server.c:exit_server(568)
   Closing connections
 в логи самбы пишем
 - ---smb.log
   process_request_pdu: failed to do schannel processing.
 - ---[2004/07/22 12:20:31, 1] smbd/service.c:make_connection_snum(619)
   web-7 (192.168.243.6) connect to service greenh initially as user greenh
 (uid=505, gid=506) (pid 2603)
 [2004/07/22 12:20:41, 1] smbd/service.c:close_cnum(801)
   web-7 (192.168.243.6) closed connection to service greenh
 [2004/07/22 12:20:58, 1] smbd/service.c:close_cnum(801)
   web-7 (192.168.243.6) closed connection to service greenh
 [2004/07/22 12:20:59, 1] smbd/service.c:make_connection_snum(619)
   web-7 (192.168.243.6) connect to service greenh initially as user greenh
 (uid=505, gid=506) (pid 2603)
 [2004/07/22 12:22:03, 0] lib/util_sock.c:read_socket_data(367)
   read_socket_data: recv failure for 4. Error = Connection reset by peer
 [2004/07/22 12:22:03, 1] smbd/service.c:close_cnum(801)
   web-7 (192.168.243.6) closed connection to service greenh
 [2004/07/22 12:32:26, 1] smbd/service.c:make_connection_snum(619)
   web-7 (192.168.243.6) connect to service greenh initially as user greenh
 (uid=505, gid=506) (pid 2899)
 smb.conf
 //--------------------------------------------------------------------------
 -------------
 [global]
    workgroup = DAG
    netbiosname = PHOBOS
    server string = Samba Server
    printcap name = /etc/printcap
    load printers = yes
    max log size = 50
   smb passwd file = /etc/samba/smbpasswd
 
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
    os level = 50
    domain master = yes
    preferred master = yes
    domain logons = yes
    dns proxy = no
  writeable = yes
  idmap gid = 15000-20000
  add group script = /usr/sbin/groupadd %g
  idmap uid = 15000-20000
  logon script = scripts\logon.bat
  delete group script = /usr/sbin/groupdel %g
  add user to group script = /usr/sbin/usermod -G %g %u
  logon drive = H:
  add user script = /usr/sbin/useradd -m %u
  preferred master = yes
  logon home = \\%L\%U
  add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
  delete user script = /usr/sbin/userdel -r %u
  domain admin group = root andrey
  hosts allow = 192.168.243. 127.0.0.1 localhost
  interfaces = 192.168.243.111/255.255.255.0 127.0.0.1/255.0.0.0
  bind interfaces only = yes
  log level = 2
  max log size=10000
  log file= /var/log/samba/%U.%m.log
 [homes]
 comment = Home Dirs
 valid users = %S
 writable = yes
 browseable = No
 
 [netlogon]
 comment = Netlogon Dir
 path = /samba/netlogon
 admin users = root, andrey
 guest ok = yes
 browseable = no
 [profiles]
 comment = roaming profiles
 path = /samba/profiles
 read only = no
 profile acls = yes
 --- ifmail v.2.15dev5.3
  * Origin: Taide Network AS (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Samba 3.0.4 - Need help   Vladimir V. Tsel`m   22 Jul 2004 13:47:55 
 Re: Samba 3.0.4 - Need help   Vladimir. V. Tsel`m   22 Jul 2004 15:18:51 
 Samba 3.0.4 - Need help   Sergey Zaikov   22 Jul 2004 16:35:01 
 Re: Samba 3.0.4 - Need help   Vladimir. V. Tsel`m   22 Jul 2004 18:29:42 
 Re: Samba 3.0.4 - Need help   Vladimir. V. Tsel`m   22 Jul 2004 18:31:48 
Архивное /ru.unix.bsd/8867854635c5.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional