LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-18-2018, 04:00 PM   #1
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
Samba connectivity issue "smbd/negprot.c:reply_negprot(608) No protocol supported !"


HI,

Suddenly one of my samba client start failing to connect to the server, after the server is rebooted. No configuration changes to the smb.conf of the server.

Code:
2018/04/18 16:47:32, 6] param/loadparm.c:lp_file_list_changed(3108)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Apr 10 09:37:42 2017

[2018/04/18 16:47:32, 3] smbd/oplock.c:init_oplocks(863)
  init_oplocks: initializing messages.
[2018/04/18 16:47:32, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(234)
  Linux kernel oplocks enabled
[2018/04/18 16:47:32, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
  got smb length of 105
[2018/04/18 16:47:32, 3] lib/access.c:check_access(312)
  check_access: no hostnames in host allow/deny list.
[2018/04/18 16:47:32, 2] lib/access.c:check_access(323)
  Allowed connection from  (192.168.0.125)
[2018/04/18 16:47:32, 6] smbd/process.c:process_smb(1082)
  got message type 0x0 of len 0x69
[2018/04/18 16:47:32, 3] smbd/process.c:process_smb(1083)
  Transaction 0 of length 109
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(484)
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(494)
  size=105
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51283
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=70
[2018/04/18 16:47:32, 10] lib/util.c:dump_data(2264)
  [000] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [010] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [020] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [030] 02 53 4D 42 20 32 2E 30  30 32 00 02 53 4D 42 20  .SMB 2.0 02..SMB
  [040] 32 2E 3F 3F 3F 00                                 2.???.
[2018/04/18 16:47:32, 3] smbd/process.c:switch_message(932)
  switch message SMBnegprot (pid 29248) conn 0x0
[2018/04/18 16:47:32, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/04/18 16:47:32, 5] smbd/uid.c:change_to_root_user(338)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [SMB 2.002]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [SMB 2.???]
[2018/04/18 16:47:32, 10] lib/util.c:set_remote_arch(2239)
  set_remote_arch: Client arch is 'UNKNOWN'
[2018/04/18 16:47:32, 6] param/loadparm.c:lp_file_list_changed(3108)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Apr 10 09:37:42 2017

[2018/04/18 16:47:32, 5] smbd/connection.c:claim_connection(182)
  claiming  0
[2018/04/18 16:47:32, 0] smbd/negprot.c:reply_negprot(608)
  No protocol supported !
[2018/04/18 16:47:32, 5] smbd/negprot.c:reply_negprot(612)
  negprot index=-1
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(484)
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(494)
  size=37
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=49153
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=1
  smb_vwv[ 0]=65535 (0xFFFF)
  smb_bcc=0
[2018/04/18 16:47:32, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.0.125. Error = Connection reset by peer
[2018/04/18 16:47:32, 10] lib/util_sock.c:receive_smb_raw(671)
  receive_smb_raw: length < 0!
[2018/04/18 16:47:32, 3] smbd/process.c:timeout_processing(1362)
  timeout_processing: receive_smb error (Connection reset by peer) Exiting
[2018/04/18 16:47:32, 5] lib/gencache.c:gencache_shutdown(94)
  Closing cache file
[2018/04/18 16:47:32, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2018/04/18 16:47:32, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/04/18 16:47:32, 5] smbd/uid.c:change_to_root_user(338)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/18 16:47:32, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2018/04/18 16:47:32, 3] smbd/server.c:exit_server_common(766)
  Server exit (normal exit)
[2018/04/18 16:47:32, 6] param/loadparm.c:lp_file_list_changed(3108)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Apr 10 09:37:42 2017

[2018/04/18 16:47:32, 3] smbd/oplock.c:init_oplocks(863)
  init_oplocks: initializing messages.
[2018/04/18 16:47:32, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(234)
  Linux kernel oplocks enabled
[2018/04/18 16:47:32, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
  got smb length of 105
[2018/04/18 16:47:32, 3] lib/access.c:check_access(312)
  check_access: no hostnames in host allow/deny list.
[2018/04/18 16:47:32, 2] lib/access.c:check_access(323)
  Allowed connection from  (192.168.0.125)
[2018/04/18 16:47:32, 6] smbd/process.c:process_smb(1082)
  got message type 0x0 of len 0x69
[2018/04/18 16:47:32, 3] smbd/process.c:process_smb(1083)
  Transaction 0 of length 109
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(484)
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(494)
  size=105
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51283
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=70
[2018/04/18 16:47:32, 10] lib/util.c:dump_data(2264)
  [000] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [010] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [020] 02 4E 6F 74 53 6D 62 00  02 4E 6F 74 53 6D 62 00  .NotSmb. .NotSmb.
  [030] 02 53 4D 42 20 32 2E 30  30 32 00 02 53 4D 42 20  .SMB 2.0 02..SMB
  [040] 32 2E 3F 3F 3F 00                                 2.???.
[2018/04/18 16:47:32, 3] smbd/process.c:switch_message(932)
  switch message SMBnegprot (pid 29249) conn 0x0
[2018/04/18 16:47:32, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/04/18 16:47:32, 5] smbd/uid.c:change_to_root_user(338)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [NotSmb]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [SMB 2.002]
[2018/04/18 16:47:32, 3] smbd/negprot.c:reply_negprot(505)
  Requested protocol [SMB 2.???]
[2018/04/18 16:47:32, 10] lib/util.c:set_remote_arch(2239)
  set_remote_arch: Client arch is 'UNKNOWN'
[2018/04/18 16:47:32, 6] param/loadparm.c:lp_file_list_changed(3108)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Apr 10 09:37:42 2017

[2018/04/18 16:47:32, 5] smbd/connection.c:claim_connection(182)
  claiming  0
[2018/04/18 16:47:32, 0] smbd/negprot.c:reply_negprot(608)
  No protocol supported !
[2018/04/18 16:47:32, 5] smbd/negprot.c:reply_negprot(612)
  negprot index=-1
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(484)
[2018/04/18 16:47:32, 5] lib/util.c:show_msg(494)
  size=37
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=49153
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=1
  smb_vwv[ 0]=65535 (0xFFFF)
  smb_bcc=0
[2018/04/18 16:47:32, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.0.125. Error = Connection reset by peer
[2018/04/18 16:47:32, 10] lib/util_sock.c:receive_smb_raw(671)
  receive_smb_raw: length < 0!
[2018/04/18 16:47:32, 3] smbd/process.c:timeout_processing(1362)
  timeout_processing: receive_smb error (Connection reset by peer) Exiting
[2018/04/18 16:47:32, 5] lib/gencache.c:gencache_shutdown(94)
  Closing cache file
[2018/04/18 16:47:32, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2018/04/18 16:47:32, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2018/04/18 16:47:32, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/04/18 16:47:32, 5] smbd/uid.c:change_to_root_user(338)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/18 16:47:32, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2018/04/18 16:47:32, 3] smbd/server.c:exit_server_common(766)
  Server exit (normal exit)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba: "min protocol = SMB2" causes "protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE" DaneM Linux - Networking 4 07-22-2021 02:00 PM
"Protocol not supported error" after mount yagabey Linux - Embedded & Single-board computer 10 02-04-2011 11:13 AM
samba smbd error "couldn't find service" fordeck Linux - Networking 1 03-31-2009 03:27 PM
gaim not connecting to msn "protocol not supported" drussi Linux - Newbie 2 02-21-2004 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration