The default setup for 'advertised_enc_types' is 'rc4,des'.
I'm trying to change the 'advertised_enc_types' to 'aes-256,aes-128' for communication with our AD servers.
I can not use 'na_ontap_cifs_server' because it fails with connection to AD server. (due to 'rc4,des')
When I change 'advertised_enc_types' with the following code I get an error:
- name: Enable security settings 1.
netapp.ontap.na_ontap_rest_cli:
<<: *auth
command: 'cifs/security'
verb: PATCH
params:
vserver: '{{ svm.name }}'
body:
advertised_enc_types: "{{ cifs.advertised_enc_types }}"
register: result
msg: 'Error: {''message'': "Failed to get CIFS server. Reason: entry doesn''t exist. ", ''code'': ''655399''}'
How do I resolve this issue?