Hello all,
I am trying to create a CIFS server via the na_ontap_cifs_server module and join it to the domain:
netapp.ontap.na_ontap_cifs_server:
state: present
vserver:
name:
domain:
ou:
admin_user_name:
admin_password:
kdc_encryption: True
session_security: sign
use_ldaps: False
service_state: started
https: true
use_rest: always
However, I get an error message from AD:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error on creating cifs: calling: protocols/cifs/services: got {'message': 'Failed to create the Active Directory machine account "<SVM>". Reason: Kerberos Error: KDC has no support for encryption type Details: Error: Machine account creation procedure failed\n [ 308] Loaded the preliminary configuration.\n [ 349] Successfully connected to ip 10.150.0.2, port 88 using TCP\n**[ 530] FAILURE: Could not authenticate as\n** \'svc-domainjoin@AD.ABC.DE\': KDC has no support for\n** encryption type (KRB5KDC_ERR_ETYPE_NOSUPP)\n. ', 'code': '655914'}."}
If I run the following two commands on the CLI beforehand, I can then use the playbook to create the CIFS server and join it to the domain:
vserver cifs security modify -vserver <SVM> -session-security-for-ad-ldap sign
vserver cifs security modify -vserver <SVM> -is-aes-encryption-enabled true
What do I need to use as parameters for the module to set these options? I have already tried everything possible, but do not get it right