Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.0 - Cannot connect to shares: NT_STATUS_INTERNAL_ERROR #1864

Open
loxK opened this Issue Feb 14, 2019 · 3 comments

Comments

Projects
None yet
1 participant
@loxK
Copy link

loxK commented Feb 14, 2019

I get internal server error trying to access shares. I can't figure out how to fix it .... I tried form windows too.

smbclient --list=[IP] -Uuser
Enter ZEN\user's password: 
session setup failed: NT_STATUS_INTERNAL_ERROR

[2019/02/14 13:20:22.798870,  3] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_INTERNAL_ERROR] || at ../source3/smbd/smb2_sesssetup.c:134
[2019/02/14 13:20:22.799747,  3] ../source3/smbd/process.c:1959(process_smb)
  Transaction 0 of length 88 (0 toread)
[2019/02/14 13:20:22.799805,  3] ../source3/smbd/process.c:1539(switch_message)
  switch message SMBnegprot (pid 3916) conn 0x0
[2019/02/14 13:20:22.800109,  3] ../source3/smbd/server_exit.c:244(exit_server_common)
  Server exit (NT_STATUS_END_OF_FILE)
[2019/02/14 13:20:22.801111,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LANMAN 1.0]
[2019/02/14 13:20:22.801134,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LM 0.12]
[2019/02/14 13:20:22.801140,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.002]
[2019/02/14 13:20:22.801146,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.???]
[2019/02/14 13:20:22.801261,  3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_FF
[2019/02/14 13:20:22.803972,  3] ../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/auth/samba4.so' loaded
[2019/02/14 13:20:22.804842,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2019/02/14 13:20:22.804862,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2019/02/14 13:20:22.804880,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2019/02/14 13:20:22.804893,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'spnego' registered
[2019/02/14 13:20:22.804900,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'schannel' registered
[2019/02/14 13:20:22.804906,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2019/02/14 13:20:22.804920,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2019/02/14 13:20:22.804933,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2019/02/14 13:20:22.804939,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2019/02/14 13:20:22.804946,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_basic' registered
[2019/02/14 13:20:22.804958,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2019/02/14 13:20:22.804971,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'krb5' registered
[2019/02/14 13:20:22.804977,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'fake_gssapi_krb5' registered
[2019/02/14 13:20:22.807773,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2019/02/14 13:20:22.811559,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam' registered
[2019/02/14 13:20:22.811593,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam_ignoredomain' registered
[2019/02/14 13:20:22.811599,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam_failtrusts' registered
[2019/02/14 13:20:22.811605,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'anonymous' registered
[2019/02/14 13:20:22.811611,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind' registered
[2019/02/14 13:20:22.811745,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind_rodc' registered
[2019/02/14 13:20:22.811771,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind_wbclient' registered
[2019/02/14 13:20:22.811777,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'name_to_ntstatus' registered
[2019/02/14 13:20:22.811841,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'unix' registered
[2019/02/14 13:20:22.813195,  3] ../lib/util/access.c:365(allow_access)
  Allowed connection from 10.0.4.12 (10.0.4.12)
[2019/02/14 13:20:22.813538,  3] ../source3/smbd/oplock.c:1340(init_oplocks)
  init_oplocks: initializing messages.
[2019/02/14 13:20:22.814211,  3] ../source4/dsdb/samdb/ldb_modules/schema_load.c:226(dsdb_schema_refresh)
  Schema refresh needed 4485 != 4499
[2019/02/14 13:20:22.893561,  3] ../source3/lib/util_procid.c:54(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
[2019/02/14 13:20:23.077407,  3] ../source3/smbd/negprot.c:753(reply_negprot)
  Selected protocol SMB 2.???
[2019/02/14 13:20:23.084669,  3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB3_11
[2019/02/14 13:20:23.085195,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2019/02/14 13:20:23.164423,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2019/02/14 13:20:23.167764,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  ldb_wrap open of privilege.ldb
[2019/02/14 13:20:23.168090,  3] ../source3/winbindd/winbindd_misc.c:395(winbindd_interface_version)
  [ 3916]: request interface version (version = 29)
[2019/02/14 13:20:23.168161,  3] ../source3/winbindd/winbindd_misc.c:428(winbindd_priv_pipe_dir)
  [ 3916]: request location of privileged pipe
[2019/02/14 13:20:23.168300,  3] ../source3/winbindd/winbindd_sids_to_xids.c:50(winbindd_sids_to_xids_send)
  sids_to_xids
[2019/02/14 13:20:23.174409,  3] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_INTERNAL_ERROR] || at ../source3/smbd/smb2_sesssetup.c:134
[2019/02/14 13:20:23.175372,  3] ../source3/smbd/process.c:1959(process_smb)
  Transaction 0 of length 88 (0 toread)
[2019/02/14 13:20:23.175500,  3] ../source3/smbd/process.c:1539(switch_message)
  switch message SMBnegprot (pid 3917) conn 0x0
[2019/02/14 13:20:23.177862,  3] ../source3/smbd/server_exit.c:244(exit_server_common)
  Server exit (NT_STATUS_END_OF_FILE)
[2019/02/14 13:20:23.178975,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LANMAN 1.0]
[2019/02/14 13:20:23.179058,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [NT LM 0.12]
[2019/02/14 13:20:23.179136,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.002]
[2019/02/14 13:20:23.179168,  3] ../source3/smbd/negprot.c:612(reply_negprot)
  Requested protocol [SMB 2.???]
[2019/02/14 13:20:23.179339,  3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_FF
[2019/02/14 13:20:23.182602,  3] ../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/auth/samba4.so' loaded
[2019/02/14 13:20:23.183817,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
[2019/02/14 13:20:23.184901,  3] ../lib/util/access.c:365(allow_access)
  GENSEC backend 'gssapi_spnego' registered
[2019/02/14 13:20:23.184982,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2019/02/14 13:20:23.185029,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2019/02/14 13:20:23.185064,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'spnego' registered
[2019/02/14 13:20:23.185094,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'schannel' registered
[2019/02/14 13:20:23.185123,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2019/02/14 13:20:23.185158,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2019/02/14 13:20:23.185189,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2019/02/14 13:20:23.185217,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2019/02/14 13:20:23.185255,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_basic' registered
[2019/02/14 13:20:23.185290,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2019/02/14 13:20:23.185322,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'krb5' registered
[2019/02/14 13:20:23.185350,  3] ../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'fake_gssapi_krb5' registered
[2019/02/14 13:20:23.186919,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  Allowed connection from 10.0.4.12 (10.0.4.12)
[2019/02/14 13:20:23.187126,  3] ../source3/smbd/oplock.c:1340(init_oplocks)
  init_oplocks: initializing messages.
  ldb_wrap open of secrets.ldb
[2019/02/14 13:20:23.188002,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam' registered
[2019/02/14 13:20:23.188045,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam_ignoredomain' registered
[2019/02/14 13:20:23.188073,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'sam_failtrusts' registered
[2019/02/14 13:20:23.188101,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'anonymous' registered
[2019/02/14 13:20:23.188128,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind' registered
[2019/02/14 13:20:23.188163,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind_rodc' registered
[2019/02/14 13:20:23.188191,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'winbind_wbclient' registered
[2019/02/14 13:20:23.188218,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'name_to_ntstatus' registered
[2019/02/14 13:20:23.188245,  3] ../source4/auth/ntlm/auth.c:840(auth_register)
  AUTH backend 'unix' registered
[2019/02/14 13:20:23.191218,  3] ../source4/dsdb/samdb/ldb_modules/schema_load.c:226(dsdb_schema_refresh)
  Schema refresh needed 4485 != 4499
[2019/02/14 13:20:23.274203,  3] ../source3/lib/util_procid.c:54(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
[2019/02/14 13:20:23.429017,  3] ../source3/smbd/negprot.c:753(reply_negprot)
  Selected protocol SMB 2.???
[2019/02/14 13:20:23.431583,  3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB3_11
[2019/02/14 13:20:23.432082,  3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
@loxK

This comment has been minimized.

Copy link
Author

loxK commented Feb 19, 2019

It is now working like magic. Nothing done, nothing changed.

It has already happened, it then randomly stop working again after a while.

@loxK

This comment has been minimized.

Copy link
Author

loxK commented Feb 28, 2019

The problem is back

@loxK

This comment has been minimized.

Copy link
Author

loxK commented Mar 4, 2019

Still not working even after multiple reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.