How to configure active directory on Rockstor NAS?

Good afternoon. I am trying to configure active directory but I have the following error. I need help. Greetings

        Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/rest_framework_custom/”, line 41, in _handle_exception
File “/opt/rockstor/src/rockstor/smart_manager/views/”, line 195, in post
join_domain(config, method=method)
File “/opt/rockstor/src/rockstor/system/”, line 270, in join_domain
return run_command(cmd, input=(“{}\n”.format(config.get(“password”))), log=True)
File “/opt/rockstor/src/rockstor/system/”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/realm join --membership-software=samba --automatic-id-mapping=no -U grm\administrador rc = 1. stdout = ['Password for grm\administrador: ', ‘’]. stderr = [“realm: Couldn’t join realm: Joining the domain failed”, ‘’]

@josemsuau welcome to the Rockstor community!
Can you provide some more information, please? Which version of Rockstor are you using (top-right of the WebUI), as between the stable and latest testing release there have been quite a few changes in many areas …