Brief description of the problem
Pressing on to Active Directory service i get error ‘realm: Already joined to this domain’
Detailed step by step instructions to reproduce the problem
Configured samba and ntp services. Trying to join Active Directory (samba ad dc)
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 195, in post
join_domain(config, method=method)
File "/opt/rockstor/src/rockstor/system/directory_services.py", line 270, in join_domain
return run_command(cmd, input=("{}\n".format(config.get("password"))), log=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/rockstor/src/rockstor/system/osi.py", line 263, in run_command
raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/sbin/realm join --membership-software=samba -U administrator DIGIXXXXX.LOCAL. rc = 1. stdout = ['']. stderr = ['realm: Already joined to this domain', '']
###Debug i have done below:
If i run realm list i see that rockstor is joined to domain(client-software: winbind), even i have error when enabling service.
Realm list gives client-software: winbind as joined.
I realm leave client-software: winbind and realm list is empty afterwards.
When i press again button(WebUI) to start active Directory service i get error of already joined and realm list brings again realm joined by client-software: winbind.
If i realm join manually with --membership-software=samba , join is successful by sssd. if i try to start service from WebUI, i get already joined and now realm list has 2 joined winbind and sssd.
Rockstor Version 5.0.6-0
Initial installation from iso 4.5.8.0
Regards,
Julio
1 post - 1 participant