Active Directory service can not be deactivated

Description

I am trying to deactivate the active directory service, but I get the error that the NetBios name can not be changed.
I am not trying to change anything I just want to deactivate the AD service.

 

This error is most likely due to me changing the hostname in the network setting after I joined the domain.

Steps to Reproduce

None

Expected Result

None

Actual Result

None

Environment

None

Hardware Health

None

Error Message (if applicable)

Activity

Show:

Bug Clerk January 3, 2025 at 3:32 AM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk January 3, 2025 at 3:30 AM

Bug Clerk January 2, 2025 at 9:42 PM

Henning Rustemeier December 19, 2024 at 12:07 PM
Edited

Thanks for your help.
I did run the command and it gave me “539” as a response, but the AD service is still enabled in the GUI.

Andrew Walker December 19, 2024 at 11:57 AM

You have duplicate netbiosname and netbiosalias set (this is an invalid configuration that we should have prevented you from setting), which is tripping up validation for an internal smb.update call. Run command `midclt call activedirectory.update ‘{“domainname”: “meta.local”, “enable”: false}’`. Then remove the netbios alias. Once you do this you should be able to re-enable through the webui.

Complete
Pinned fields
Click on the next to a field label to start pinning.

Assignee

Andrew Walker

Reporter

Priority

Created December 19, 2024 at 9:38 AM
Updated January 3, 2025 at 3:32 AM
Resolved January 3, 2025 at 3:32 AM