Brickstor is no longer connected to the domain or is unable to rejoin the domain. Typcially this may happen after the system was joined to the domain and became unjoined after an upgrade or something happened to the domain controller.
User receives the following error when attempting to connect to the domain:
failed to join domain racktoplabs.com
using AD server: ad-03.racktoplabs.com
Failed to modify the workstation trust account.
Please refer to the service log for more information.
Provide steps that the user can take to solve the problem. For example "The level 7 printer will flash red when it is out of paper. Add paper to tray 1".
|You may want to use a panel to highlight important steps.|
- Run the following command to check if the system is connected to the domain:
- #smbadm list
- If it displays [WORKGROUP], then it is not connected
- Now run #adutil check <domain name>
- If you receive the following error:
- FAIL domain Results: Local domain does not match target domainT
- Take note of the IP addresses associated with “adservers”
- #vi /etc/resolv.conf
- (Please review instructions for navigating using the vi text editor. Other editing programs may be used, also.)
- Verify or correct the “domain” field to match your expected domain name
- Run this command to save settings: #bsradm dns save
- Note the systems hostname, #hostname
- On a Windows machine, open up the “Remote Desktop Connection” app
- Input the previously recorded IP address of the AD server
- Use the Server Manager app to navigate to the domain
- Action -> Find -> Find Computers (select from dropdown)
- Search for the Brickstor by hostname (use all caps)
- Right click on the hostname and select “delete”
- Exit Server Manager
- To add the Brickstor to the domain, use the following command:
# smbadm join -y -u Administrator <domain name>
- Note: This will require domain admin privileges
Note: If step smbadm join fails, ensure that all critical services such as NTP are online. You can check this via the GUI or #svcs. To restart a service, use #svcadm restart <service>. If a service is in maintenance mode, this can be cleared using #svcadm clear <service> then #svcadm enable <service>.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.