wbetzjr at pennherb.com
2013-Jul-17 13:21 UTC
[Samba] open_sockets_smbd: accept: Protocol error
Hello: I have Samba 3.0.30 running on SCO Openserver 6. It seems to work fine, but I get this error in /var/adm/messages: Jul 17 08:15:03 smbd[5023]: [2013/07/17 08:15:03, 0] smbd/server.c:(527) Jul 17 08:15:03 smbd[5023]: open_sockets_smbd: accept: Protocol error Jul 17 08:16:22 smbd[5056]: [2013/07/17 08:16:22, 0] smbd/server.c:(527) Jul 17 08:16:22 smbd[5056]: open_sockets_smbd: accept: Protocol error Jul 17 08:26:14 smbd[5056]: [2013/07/17 08:26:14, 0] smbd/server.c:(527) Jul 17 08:26:14 smbd[5056]: open_sockets_smbd: accept: Protocol error Jul 17 08:27:09 smbd[5088]: [2013/07/17 08:27:09, 0] smbd/server.c:(527) Jul 17 08:27:09 smbd[5088]: open_sockets_smbd: accept: Protocol error Jul 17 08:28:34 smbd[5103]: [2013/07/17 08:28:34, 0] smbd/server.c:(527) Jul 17 08:28:34 smbd[5103]: open_sockets_smbd: accept: Protocol error Jul 17 08:57:35 smbd[5103]: [2013/07/17 08:57:35, 0] smbd/server.c:(527) Jul 17 08:57:35 smbd[5103]: open_sockets_smbd: accept: Protocol error Anyone know how to fix this? Here is my smb.conf: [global] workgroup = COMPANY server string = OSR6 Samba Server interfaces = net0, lo0 bind interfaces only = Yes password server = passdb backend = tdbsam log level = 3 passdb:5 tdb:10 auth:10 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY=0 SO_KEEPALIVE=1 SO_RCVBUF=8192 SO_SNDBUF=8 192 preferred master = No local master = No dns proxy = No admin users = root, bjrtb hosts allow = 192.168.1., 192.168.2., 127. [print] comment = Print Writeable path = /usr/print valid users = bjrtb read only = No create mask = 0765 The entire samba log is below. Thanks, Bill Betz # cat sm.log Copyright Andrew Tridgell and the Samba Team 1992-2008 [2013/07/17 08:28:33, 2] param/loadparm.c:(3811) Processing section "[print]" [2013/07/17 08:28:33, 2] param/loadparm.c:(3811) Processing section "[printpublic]" [2013/07/17 08:28:33, 2] param/loadparm.c:(3811) Processing section "[root]" [2013/07/17 08:28:33, 3] param/loadparm.c:(2725) adding IPC service [2013/07/17 08:28:33, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:28:33, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:28:33, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:28:33, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:28:33, 2] lib/interface.c:(81) added interface ip=192.168.1.18 bcast=192.168.1.255 nmask=255.255.255.0 [2013/07/17 08:28:33, 2] lib/interface.c:(81) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 [2013/07/17 08:28:33, 3] smbd/server.c:(982) loaded services [2013/07/17 08:28:33, 3] smbd/server.c:(997) Becoming a daemon. [2013/07/17 08:28:33, 2] lib/tallocmsg.c:(105) Registered MSG_REQ_POOL_USAGE [2013/07/17 08:28:33, 2] lib/dmallocmsg.c:(75) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend ldapsam [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'ldapsam' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend ldapsam_compat [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'ldapsam_compat' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend NDS_ldapsam [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'NDS_ldapsam' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend NDS_ldapsam_compat [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'NDS_ldapsam_compat' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend smbpasswd [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'smbpasswd' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(68) Attempting to register passdb backend tdbsam [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(81) Successfully added passdb backend 'tdbsam' [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(121) Attempting to find an passdb backend to match tdbsam (tdbsam) [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(142) Found pdb backend tdbsam [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(153) pdb backend tdbsam has a valid init [2013/07/17 08:28:33, 5] lib/gencache.c:(61) Opening cache file at /var/lib/samba/gencache.tdb [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2013/07/17 08:28:33, 4] passdb/pdb_tdb.c:(869) tdbsam_open: successfully opened /etc/samba/private/passdb.tdb [2013/07/17 08:28:33, 5] passdb/pdb_tdb.c:(1057) pdb_getsampwnam (TDB): error fetching database. Error: Record does not exist Key: USER_root [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 5] passdb/pdb_interface.c:(1222) pdb_default_uid_to_rid: Did not find user root (0) [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 10] auth/auth_util.c:(844) Create local NT token for S-1-22-1-0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-22-1-0] [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-5-2] [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-5-11] [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(250) [2013/07/17 08:28:33, 3] lib/util_seaccess.c:(251) se_access_check: user sid is S-1-22-1-0 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 5] auth/auth_util.c:(623) make_server_info_sam: made server info for user nouser -> nouser [2013/07/17 08:28:33, 10] auth/auth_util.c:(844) Create local NT token for S-1-5-21-347849518-367368035-1465040184-501 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-5-21-347849518-367368035-14 65040184-501] [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-22-2-28] [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-5-2] [2013/07/17 08:28:33, 3] lib/privileges.c:(261) get_privileges: No privileges assigned to SID [S-1-5-32-546] [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 10] auth/auth_util.c:(1045) Could not convert SID S-1-1-0 to gid, ignoring it [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 10] auth/auth_util.c:(1045) Could not convert SID S-1-5-2 to gid, ignoring it [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/uid.c:(358) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2013/07/17 08:28:33, 3] smbd/sec_ctx.c:(356) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2013/07/17 08:28:33, 10] auth/auth_util.c:(1045) Could not convert SID S-1-5-32-546 to gid, ignoring it [2013/07/17 08:28:33, 10] auth/auth_util.c:(454) NT user token of user S-1-5-21-347849518-367368035-1465040184-501 contains 5 SIDs SID[ 0]: S-1-5-21-347849518-367368035-1465040184-501 SID[ 1]: S-1-22-2-28 SID[ 2]: S-1-1-0 SID[ 3]: S-1-5-2 SID[ 4]: S-1-5-32-546 SE_PRIV 0x0 0x0 0x0 0x0 [2013/07/17 08:28:33, 3] printing/printing.c:(1388) start_background_queue: Starting background LPQ thread [2013/07/17 08:28:33, 2] smbd/server.c:(458) waiting for a connection [2013/07/17 08:28:34, 0] smbd/server.c:(527) open_sockets_smbd: accept: Protocol error [2013/07/17 08:33:00, 3] param/loadparm.c:(5055) lp_load: refreshing parameters [2013/07/17 08:33:00, 3] param/loadparm.c:(1440) Initialising global parameters [2013/07/17 08:33:00, 3] param/params.c:(572) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2013/07/17 08:33:00, 3] param/loadparm.c:(3794) Processing section "[global]" [2013/07/17 08:33:00, 2] param/loadparm.c:(3811) Processing section "[print]" [2013/07/17 08:33:00, 2] param/loadparm.c:(3811) Processing section "[printpublic]" [2013/07/17 08:33:00, 2] param/loadparm.c:(3811) Processing section "[root]" [2013/07/17 08:33:00, 3] param/loadparm.c:(2725) adding IPC service [2013/07/17 08:33:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:33:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:33:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:33:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:33:00, 2] lib/interface.c:(81) added interface ip=192.168.1.18 bcast=192.168.1.255 nmask=255.255.255.0 [2013/07/17 08:33:00, 2] lib/interface.c:(81) added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 [2013/07/17 08:33:00, 3] smbd/process.c:(1310) Printcap cache time expired. [2013/07/17 08:33:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:33:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:33:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:33:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:46:00, 3] smbd/process.c:(1310) Printcap cache time expired. [2013/07/17 08:46:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:46:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:46:00, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:46:00, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:57:35, 0] smbd/server.c:(527) open_sockets_smbd: accept: Protocol error [2013/07/17 08:58:49, 3] smbd/process.c:(1310) Printcap cache time expired. [2013/07/17 08:58:49, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:58:49, 3] printing/pcap.c:(223) reload status: ok [2013/07/17 08:58:49, 3] printing/pcap.c:(117) reloading printcap cache [2013/07/17 08:58:49, 3] printing/pcap.c:(223) reload status: ok #
Reasonably Related Threads
- Problems configuring Samba PDC + FDS error "No privileges assigned to SID"
- WinXP Prof Users can't delete there files
- root is there in tdbsam but it says user name not there while Joining a Win Xp to a domain
- NT_STATUS_IO_TIMEOUT
- Problem joining NT4 workstation to a Samba PDC