Samba: Difference between revisions

From Leo's Notes
This page was last edited on 22 July 2021, at 00:41.
Created page with " == Tasks == === Verifying Configuration === {{code|testparm}} to test the {{code|smb.conf}} file"
 
mNo edit summary
Line 1: Line 1:


==Tasks==
===Verifying Configuration===
{{code|testparm}} to test the {{code|smb.conf}} file
<br />
== Troubleshooting ==


== Tasks ==
=== NT_STATUS_INVALID_SID error from check_sam_security ===
=== Verifying Configuration ===
{{Highlight
{{code|testparm}} to test the {{code|smb.conf}} file
| code = [2021/07/20 11:39:01.893994,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'
[2021/07/20 11:39:01.948641,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'
[2021/07/20 11:39:01.989452,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'
| lang = text
}}
I also get
{{Highlight
| code = # pdbedit -L
sid S-1-5-21-356073995-1563379822-1369847962-1001 does not belong to our domain
| lang = terminal
}}{{Highlight
| code = # net getdomainsid
SID for local machine BNAS is: S-1-5-21-2431635136-3205909659-925170350
Could not fetch domain SID
| lang = terminal
}}

Revision as of 00:41, 22 July 2021

Tasks

Verifying Configuration

testparm to test the smb.conf file


Troubleshooting

NT_STATUS_INVALID_SID error from check_sam_security

[2021/07/20 11:39:01.893994,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'
[2021/07/20 11:39:01.948641,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'
[2021/07/20 11:39:01.989452,  0] ../../source3/auth/check_samsec.c:493(check_sam_security)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_INVALID_SID'

I also get

# pdbedit -L
sid S-1-5-21-356073995-1563379822-1369847962-1001 does not belong to our domain
# net getdomainsid
SID for local machine BNAS is: S-1-5-21-2431635136-3205909659-925170350
Could not fetch domain SID