Brief description of the problem
Active directory domain end up in error
Detailed step by step instructions to reproduce the problem
- install
- config active directory service
- toggle active directory service status button
- end up in error
- think it maybe an known bug, update to latest stable version
- cleanup left over from previous failed attemp(https://forum.rockstor.com/t/cant-enable-samba-service-after-update)
- config active directory service again, just in case i type something wrong.
- toggle active directory service status button
- 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 = [’’]