Hi @Flyer
I downloaded the log files which says something about being in the wrong workgroup.
This is correct that I had this problem with trying to join the domain.
I then changed the workgroup to SDU under the Samba service and then I could join.
You think I should remove the AD and shares. Then reconnect with AD and do the shares again?
Here is the output.
[06/Feb/2018 09:51:26] ERROR [storageadmin.util:44] exception: Error running a command. cmd = /usr/bin/net ads join -U atvn. rc = 255. stdout = [“Enter account’s password:”, ‘Failed to join domain: Invalid configuration (“workgroup” set to ‘WORKGROUP’, should be ‘SDU’) and configuration modification was not requested’, ‘’]. stderr = [’’]
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 115, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/net ads join -U account. rc = 255. stdout = [“Enter account’s password:”, ‘Failed to join domain: Invalid configuration (“workgroup” set to ‘WORKGROUP’, should be ‘SDU’) and configuration modification was not requested’, ‘’]. stderr = [’’]
[06/Feb/2018 10:13:50] ERROR [storageadmin.util:44] exception: Share(ShareA) cannot be deleted as it is shared via Samba. Unshare and try again
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py”, line 34, in run
client, addr = self.socket.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[06/Feb/2018 15:03:54] ERROR [storageadmin.util:44] exception: Exception while running command([’/bin/chown’, ‘-R’, u’sysop:ADM\dl-adm-it-service faggruppe netv\u0102\u015ark’, u’/mnt2/ShareA’]): ‘ascii’ codec can’t encode characters in position 42-43: ordinal not in range(128)
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/storageadmin/views/share_acl.py”, line 60, in post
options[‘orecursive’])
File “/opt/rockstor/src/rockstor/system/acl.py”, line 32, in chown
return run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 107, in run_command
raise Exception(msg)
Exception: Exception while running command([’/bin/chown’, ‘’, u’/mnt2/ShareA’]): ‘ascii’ codec can’t encode characters in position 42-43: ordinal not in range(128)