Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-18-2018, 04:00 PM
#1
Member
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598
Rep:
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)
All times are GMT -5. The time now is 09:55 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News