unable to log on

bao bao at gibbons.com
Thu Jan 17 12:22:39 GMT 2002


Hello,

My samba server on Linux 7.1 has been running for awhile for our Lan. At
startup, client machines will connect to the shared services and map
them. However, sometimes the client is unable to connect to the share. I
have enabled it to a high log level, and here's the log when that
happens:

[2002/01/16 10:26:15, 5] smbd/connection.c:claim_connection(138)
  trying claim /var/lock/samba STATUS. 100000
[2002/01/16 10:26:15, 5] smbd/reply.c:reply_special(150)
  init msg_type=0x81 msg_flags=0x0
[2002/01/16 10:26:15, 0] lib/util_sock.c:write_socket_data(545)
  write_socket_data: write failure. Error = Connection reset by peer
[2002/01/16 10:26:15, 0] lib/util_sock.c:write_socket(570)
  write_socket: Error writing 4 bytes to socket 6: ERRNO = Connection
reset by peer
[2002/01/16 10:26:15, 0] lib/util_sock.c:send_smb(759)
  Error writing 4 bytes to client. -1. Exiting
[2002/01/16 10:35:36, 5] smbd/connection.c:claim_connection(138)
  trying claim /var/lock/samba STATUS. 100000
[2002/01/16 10:35:36, 5] smbd/reply.c:reply_special(150)
  init msg_type=0x81 msg_flags=0x0
[2002/01/16 10:35:36, 3] smbd/process.c:process_smb(621)
  Transaction 1 of length 158
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=154
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=0
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=0
  smb_pid=5541
  smb_uid=0
  smb_mid=5377
  smt_wct=0
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=119
[2002/01/16 10:35:36, 3] smbd/process.c:switch_message(451)
  switch message SMBnegprot (pid 7435)
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [DOS LM1.2X002]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [DOS LANMAN2.1]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [Windows for Workgroups 3.1a]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [NT LM 0.12]
[2002/01/16 10:35:36, 3] smbd/negprot.c:reply_negprot(424)
  Selected protocol NT LM 0.12
[2002/01/16 10:35:36, 5] smbd/negprot.c:reply_negprot(431)
  negprot index=5
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=86
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=128
  smb_flg2=1
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=0
  smb_pid=5541
  smb_uid=0
  smb_mid=5377
  smt_wct=17
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[0]=5 (0x5)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[1]=12803 (0x3203)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[2]=256 (0x100)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[3]=65280 (0xFF00)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[4]=255 (0xFF)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[5]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[6]=256 (0x100)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[7]=2816 (0xB00)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[8]=29 (0x1D)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[9]=14592 (0x3900)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[10]=3 (0x3)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[11]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[12]=36300 (0x8DCC)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[13]=48278 (0xBC96)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[14]=49566 (0xC19E)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[15]=57345 (0xE001)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[16]=2049 (0x801)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=17
[2002/01/16 10:35:36, 3] smbd/process.c:process_smb(621)
  Transaction 2 of length 156
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=152
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=16
  smb_flg2=0
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=0
  smb_pid=5541
  smb_uid=1
  smb_mid=5377
  smt_wct=13
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[0]=117 (0x75)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[1]=122 (0x7A)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[2]=2920 (0xB68)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[3]=50 (0x32)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[4]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[5]=7435 (0x1D0B)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[6]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[7]=24 (0x18)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[8]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[9]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[10]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[11]=1 (0x1)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[12]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=61
[2002/01/16 10:35:36, 3] smbd/process.c:switch_message(451)
  switch message SMBsesssetupX (pid 7435)
[2002/01/16 10:35:36, 3] smbd/reply.c:reply_sesssetup_and_X(806)
  Domain=[AQUARIUM]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
[2002/01/16 10:35:36, 3] smbd/reply.c:reply_sesssetup_and_X(811)
  sesssetupX:name=[BOB]
[2002/01/16 10:35:36, 4] lib/username.c:map_username(96)
  Scanning username map /etc/samba/smbusers
[2002/01/16 10:35:36, 5] passdb/smbpass.c:getsmbfilepwent(375)
  getsmbfilepwent: returning passwd entry for user bao, uid 500
[2002/01/16 10:35:36, 5] passdb/smbpass.c:getsmbfilepwent(375)
  getsmbfilepwent: returning passwd entry for user jim, uid 501
[2002/01/16 10:35:36, 5] passdb/smbpass.c:getsmbfilepwent(375)
  getsmbfilepwent: returning passwd entry for user bob, uid 503
[2002/01/16 10:35:36, 4] smbd/password.c:smb_password_ok(404)
  Checking SMB password for user bob
[2002/01/16 10:35:36, 5] smbd/password.c:smb_password_ok(424)
  challenge received
[2002/01/16 10:35:36, 4] smbd/password.c:smb_password_ok(432)
  smb_password_ok: Checking NT MD4 password
[2002/01/16 10:35:36, 4] smbd/password.c:smb_password_ok(439)
  NT MD4 password check failed
[2002/01/16 10:35:36, 4] smbd/password.c:smb_password_ok(445)
  Checking LM MD4 password
[2002/01/16 10:35:36, 4] smbd/password.c:smb_password_ok(457)
  LM MD4 password check succeeded
[2002/01/16 10:35:36, 3] param/loadparm.c:lp_add_home(1574)
  adding home directory bob at /home/bob
[2002/01/16 10:35:36, 3] smbd/password.c:setup_groups(197)
  bob is in 1 groups: 500
[2002/01/16 10:35:36, 3] smbd/password.c:register_vuid(275)
  uid 503 registered to name bob
[2002/01/16 10:35:36, 3] smbd/password.c:register_vuid(277)
  Clearing default real name
[2002/01/16 10:35:36, 3] smbd/process.c:chain_reply(778)
  Chained message
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=152
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=16
  smb_flg2=0
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=0
  smb_pid=5541
  smb_uid=100
  smb_mid=5377
  smt_wct=4
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[0]=255 (0xFF)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[1]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[2]=2 (0x2)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[3]=1 (0x1)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=19
[2002/01/16 10:35:36, 3] smbd/process.c:switch_message(451)
  switch message SMBtconX (pid 7435)
[2002/01/16 10:35:36, 4] smbd/reply.c:reply_tcon_and_X(313)
  Got device type A:
[2002/01/16 10:35:36, 2] lib/access.c:check_access(257)
  Allowed connection from sdsl-66-80-7-168.dsl.sca.megapath.net
(66.80.7.168)
[2002/01/16 10:35:36, 3] smbd/password.c:authorise_login(764)
  ACCEPTED: validated uid ok as non-guest
[2002/01/16 10:35:36, 5] lib/username.c:user_in_netgroup_list(254)
  Unable to get default yp domain
[2002/01/16 10:35:36, 3] smbd/service.c:make_connection(441)
  Connect path is /anonftp/pub
[2002/01/16 10:35:36, 3] smbd/password.c:setup_groups(197)
  bob is in 1 groups: 500
[2002/01/16 10:35:36, 5] smbd/connection.c:claim_connection(138)
  trying claim /var/lock/samba STATUS. 100000
[2002/01/16 10:35:36, 5] smbd/uid.c:become_user(263)
  become_user uid=(0,503) gid=(0,500)
[2002/01/16 10:35:36, 3] lib/doscalls.c:dos_ChDir(333)
  dos_ChDir to /anonftp/pub
[2002/01/16 10:35:36, 1] smbd/service.c:make_connection(550)
  koi (66.80.7.168) connect to service ftp as user bob (uid=503,
gid=500) (pid 7435)
[2002/01/16 10:35:36, 3] lib/doscalls.c:dos_ChDir(333)
  dos_ChDir to /etc/rc.d/init.d
[2002/01/16 10:35:36, 5] smbd/uid.c:unbecome_user(296)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/01/16 10:35:36, 3] smbd/reply.c:reply_tcon_and_X(359)
  tconX service=ftp user=bob
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=85
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=128
  smb_flg2=1
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=1
  smb_pid=5541
  smb_uid=100
  smb_mid=5377
  smt_wct=3
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[0]=117 (0x75)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[1]=68 (0x44)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[2]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=26
[2002/01/16 10:35:36, 3] smbd/process.c:process_smb(621)
  Transaction 3 of length 81
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(425)
  size=77
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=1
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(433)
  smb_tid=1
  smb_pid=5639
  smb_uid=100
  smb_mid=5633
  smt_wct=15
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[0]=11 (0xB)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[1]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[2]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[3]=534 (0x216)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[4]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[5]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[6]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[7]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[8]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[9]=11 (0xB)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[10]=66 (0x42)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[11]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[12]=0 (0x0)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[13]=1 (0x1)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(442)
  smb_vwv[14]=3 (0x3)
[2002/01/16 10:35:36, 5] lib/util.c:show_msg(448)
  smb_bcc=12
[2002/01/16 10:35:36, 3] smbd/process.c:switch_message(451)
  switch message SMBtrans2 (pid 7435)
[2002/01/16 10:35:36, 5] smbd/uid.c:become_user(263)
  become_user uid=(0,503) gid=(0,500)
[2002/01/16 10:35:36, 3] lib/doscalls.c:dos_ChDir(333)
  dos_ChDir to /anonftp/pub
[2002/01/16 10:35:36, 3] smbd/trans2.c:call_trans2qfsinfo(1209)
  call_trans2qfsinfo: level = 261
[2002/01/16 10:35:36, 4] smbd/trans2.c:call_trans2qfsinfo(1341)
  SMBtrans2 info_level = 261
[2002/01/16 10:36:36, 3] lib/doscalls.c:dos_ChDir(333)
  dos_ChDir to /etc/rc.d/init.d
[2002/01/16 10:36:36, 5] smbd/uid.c:unbecome_user(296)
  unbecome_user now uid=(0,0) gid=(0,0)
========

Could anyone tell me what the problem is and how to fix it?

Thanks,





More information about the samba mailing list