The security database on the server does not have a computer account for this workstation trust relationship

NethServer Version: 8
Module: Samba

Good afternoon! Today, everyone in the office couldn’t log into their computers. After turning on airplane mode, they were able to log in. Network folders are working.

Test-ComputerSecureChannel -Verbose

DETAILS: The secure channel between the local computer and the domain.local domain is in good condition.

2025-10-10T13:34:39+03:00 [1:samba5:samba-dc] Auth: [Kerberos KDC,Unknown Pre-authentication] user [(null)]\[admin@DOMAIN.LOCAL] at [Fri, 10 Oct 2025 10:34:39.000482 UTC] with [(null)] status [NT_STATUS_INVALID_COMPUTER_NAME] workstation [(null)] remote host [ipv4:192.168.0.72:62538] mapped to [DOMAIN]\[admin]. local host [NULL]

could you check your DNS records, and hows theyre configured in relation to your samba

nslookup

set debug
domain.local
╤хЁтхЁ: UnKnown
Address: 192.168.0.15


Got answer:
HEADER:
opcode = QUERY, id = 6, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0

QUESTIONS:
    domain.local.domain.local, type = A, class = IN
AUTHORITY RECORDS:
->  domain.local
    ttl = 3600 (1 hour)
    primary name server = nsdc-mail-is.domain.local
    responsible mail addr = hostmaster.domain.local
    serial  = 77
    refresh = 900 (15 mins)
    retry   = 600 (10 mins)
    expire  = 86400 (1 day)
    default TTL = 3600 (1 hour)


Got answer:
HEADER:
opcode = QUERY, id = 7, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0

QUESTIONS:
    domain.local.domain.local, type = AAAA, class = IN
AUTHORITY RECORDS:
->  domain.local
    ttl = 3600 (1 hour)
    primary name server = nsdc-mail-is.domain.local
    responsible mail addr = hostmaster.domain.local
    serial  = 77
    refresh = 900 (15 mins)
    retry   = 600 (10 mins)
    expire  = 86400 (1 day)
    default TTL = 3600 (1 hour)


Got answer:
HEADER:
opcode = QUERY, id = 8, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 0, additional = 0

QUESTIONS:
    domain.local.domain.local, type = A, class = IN


Got answer:
HEADER:
opcode = QUERY, id = 9, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 0, additional = 0

QUESTIONS:
    domain.local.domain.local, type = AAAA, class = IN


Got answer:
HEADER:
opcode = QUERY, id = 10, rcode = NOERROR
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 3, authority records = 1, additional = 0

QUESTIONS:
    domain.local, type = A, class = IN
ANSWERS:
->  domain.local
    internet address = 192.168.0.15
    ttl = 900 (15 mins)
->  domain.local
    internet address = 10.5.4.15
    ttl = 900 (15 mins)
->  domain.local
    internet address = 10.5.4.16
    ttl = 900 (15 mins)
AUTHORITY RECORDS:
->  domain.local
    ttl = 3600 (1 hour)
    primary name server = nsdc-mail-is.domain.local
    responsible mail addr = hostmaster.domain.local
    serial  = 77
    refresh = 900 (15 mins)
    retry   = 600 (10 mins)
    expire  = 86400 (1 day)
    default TTL = 3600 (1 hour)


Got answer:
HEADER:
opcode = QUERY, id = 11, rcode = NOERROR
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0

QUESTIONS:
    domain.local, type = AAAA, class = IN
AUTHORITY RECORDS:
->  domain.local
    ttl = 3600 (1 hour)
    primary name server = nsdc-mail-is.domain.local
    responsible mail addr = hostmaster.domain.local
    serial  = 77
    refresh = 900 (15 mins)
    retry   = 600 (10 mins)
    expire  = 86400 (1 day)
    default TTL = 3600 (1 hour)

╚ь : domain.local
Addresses: 192.168.0.15
10.5.4.15
10.5.4.16

Restarting the server helped.

2 Likes