[Samba] Erratic / unstable PDC

Philip Kloppers philip at norwegian-settlers.co.za
Thu May 1 18:01:00 GMT 2008


Greetings all,

I have a problem with my Samba server seeming to hang every 5 minutes or so. Client machines also become sluggish across
the entire network during this period. File transfers that are in progress do also hang, but do not seem to drop.

Any ideas would be greatly appreciated.

Philip

nsc-dell01:/var/log/samba # uname -a
Linux nsc-dell01 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux

nsc-dell01:/var/log/samba # smbd -V
Version 3.0.28-0.1.95-1624-SUSE-SL10.2

(/etc/samba/smb.conf)
[global]
        workgroup = NSC
        realm = NSC
        interfaces = 192.168.0.0/24, 127.0.0.1
        bind interfaces only = Yes
        map to guest = Bad User
        null passwords = Yes
        password server = nsc-dell01
        passdb backend = tdbsam
        log level = 9
        log file = /var/log/samba/%m
        time server = Yes
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        add machine script = /usr/sbin/useradd -d /var/lib/nobody -s /bin/false '%u'
        logon path =
        logon drive = U:
        logon home = \\%L\%U\Documents
        logon script = netlogon.bat
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap ssl = no
        usershare allow guests = Yes
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = Yes
        winbind enum groups = Yes
        cups options = raw
        include = /etc/samba/dhcp.conf

(/var/log/messages)
Apr 26 17:21:37 nsc-dell01 winbindd[7847]: [2008/04/26 17:21:37, 0] libsmb/clientgen.c:cli_receive_smb(112)
Apr 26 17:21:37 nsc-dell01 winbindd[7847]:   Receiving SMB: Server stopped responding
Apr 26 17:21:49 nsc-dell01 winbindd[7847]: [2008/04/26 17:21:49, 0] libsmb/clientgen.c:cli_receive_smb(112)
Apr 26 17:21:49 nsc-dell01 winbindd[7847]:   Receiving SMB: Server stopped responding
Apr 26 17:26:06 nsc-dell01 winbindd[7853]: [2008/04/26 17:26:06, 0]
nsswitch/winbindd_dual.c:async_request_timeout_handler(181)
Apr 26 17:26:06 nsc-dell01 winbindd[7853]:   async_request_timeout_handler: child pid 7849 is not responding. Closing
connection to it.
Apr 26 17:26:59 nsc-dell01 winbindd[7847]: [2008/04/26 17:26:59, 0] libsmb/clientgen.c:cli_receive_smb(112)
Apr 26 17:26:59 nsc-dell01 winbindd[7847]:   Receiving SMB: Server stopped responding
Apr 26 17:27:12 nsc-dell01 winbindd[7847]: [2008/04/26 17:27:12, 0] libsmb/clientgen.c:cli_receive_smb(112)
Apr 26 17:27:12 nsc-dell01 winbindd[7847]:   Receiving SMB: Server stopped responding
Apr 26 17:27:24 nsc-dell01 winbindd[7847]: [2008/04/26 17:27:24, 0] libsmb/clientgen.c:cli_receive_smb(112)
Apr 26 17:27:24 nsc-dell01 winbindd[7847]:   Receiving SMB: Server stopped responding

(/var/log/samba/winbindd)
[2008/04/26 17:21:27, 6] libsmb/clientgen.c:write_socket(153)
  write_socket(21,274)
[2008/04/26 17:21:27, 6] libsmb/clientgen.c:write_socket(156)
  write_socket(21,274) wrote 274
[2008/04/26 17:21:37, 5] lib/util.c:show_msg(484)
[2008/04/26 17:21:37, 5] lib/util.c:show_msg(494)
  size=410
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=7847
  smb_uid=100
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  275 (0x113)
  smb_bcc=367
[2008/04/26 17:21:37, 0] libsmb/clientgen.c:cli_receive_smb(112)
  Receiving SMB: Server stopped responding
[2008/04/26 17:21:37, 4] nsswitch/winbindd_cm.c:cm_prepare_connection(731)
  authenticated session setup failed with NT_STATUS_IO_TIMEOUT
/*
.
.
.
*/
[2008/04/26 17:21:39, 6] libsmb/clientgen.c:write_socket(153)
  write_socket(21,274)
[2008/04/26 17:21:39, 6] libsmb/clientgen.c:write_socket(156)
  write_socket(21,274) wrote 274
[2008/04/26 17:21:49, 5] lib/util.c:show_msg(484)
[2008/04/26 17:21:49, 5] lib/util.c:show_msg(494)
  size=410
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=7847
  smb_uid=100
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  275 (0x113)
  smb_bcc=367
[2008/04/26 17:21:49, 0] libsmb/clientgen.c:cli_receive_smb(112)
  Receiving SMB: Server stopped responding
[2008/04/26 17:21:49, 4] nsswitch/winbindd_cm.c:cm_prepare_connection(731)
  authenticated session setup failed with NT_STATUS_IO_TIMEOUT

(/var/log/samba/log.smbd)
[2008/04/26 17:21:27, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(739)
  Got user=[NSC-DELL01$] domain=[NSC] workstation=[NSC-DELL01] len1=24 len2=24
[2008/04/26 17:21:27, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(69)
  auth_context challenge set by NTLMSSP callback (NTLM2)
[2008/04/26 17:21:27, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(70)
  challenge is:
[2008/04/26 17:21:27, 5] lib/util.c:dump_data(2264)
  [000] 15 29 B8 90 81 62 F1 6B                           .)...b.k
[2008/04/26 17:21:37, 6] param/loadparm.c:lp_file_list_changed(3077)
  lp_file_list_changed()
  file /etc/samba/dhcp.conf -> /etc/samba/dhcp.conf  last mod_time: Thu Jan  1 02:00:00 1970

  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sat Apr 26 17:20:54 2008

(/var/log/samba/nsc-dell01)
[2008/04/26 17:21:27, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2008/04/26 17:21:27, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2008/04/26 17:21:39, 6] param/loadparm.c:lp_file_list_changed(3077)
  lp_file_list_changed()
  file /etc/samba/dhcp.conf -> /etc/samba/dhcp.conf  last mod_time: Thu Jan  1 02:00:00 1970

  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sat Apr 26 17:20:54 2008

--



More information about the samba mailing list