Can't join active directory in new install

Brief description of the problem

Active directory domain end up in error

Detailed step by step instructions to reproduce the problem

  1. install
  2. config active directory service
  3. toggle active directory service status button
  4. end up in error
  5. think it maybe an known bug, update to latest stable version
  6. cleanup left over from previous failed attemp(https://forum.rockstor.com/t/cant-enable-samba-service-after-update)
  7. config active directory service again, just in case i type something wrong.
  8. toggle active directory service status button
  9. end up in same error

Web-UI screenshot

Error Traceback provided on the Web-UI

Traceback (most recent call last): File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception yield File “/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py”, line 227, in post self._join_domain(config, method=method) File “/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py”, line 78, in _join_domain return run_command(cmd, input=(’%s\n’ % config.get(‘password’))) File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command raise CommandException(cmd, out, err, rc) CommandException: Error running a command. cmd = /usr/bin/net ads join -U ctrlyare. rc = 255. stdout = [“Enter ctrlyare’s password:”, ‘Failed to join domain: Invalid configuration (“workgroup” set to ‘WORKGROUP’, should be ‘HZKY’) and configuration modification was not requested’, ‘’]. stderr = [’’]

Hello @FRXDQ,

Can you go to System > Services and then click the little wrench icon next to “Samba” and make sure the Workgroup is configured to the same as your domain.

Thanks!