[NetApp] Fix list of mandatory services for CIFS share creation

To create a CIFS share, it is mandatory to configure an active
directory service, but the code was requiring to configure also
the `ldap` and `kerberos` services to be configured during the
creation of a CIFS share.

This patch fixes this, removing `ldap` and `kerberos` from the
list of mandatory security services.

Change-Id: I34020da6a929f5c7ae1c63bc0f2ef338c49dbe10
Closes-bug: #1942124
This commit is contained in:
Nahim Alves de Souza 2021-08-31 14:52:11 +00:00
parent b50a0bb9de
commit 58031e3693
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Changes the list of security services required for CIFS share creation when
the NetApp driver is being used. For more details, please refer to
`launchpad bug #1942124 <https://bugs.launchpad.net/manila/+bug/1942124>`_

View File

@ -40,7 +40,7 @@ class NetAppCmodeMultiSvmShareDriver(driver.ShareDriver):
self.security_service_update_support = True
self.dhss_mandatory_security_service_association = {
'nfs': None,
'cifs': ['active_directory', 'ldap', 'kerberos', ]
'cifs': ['active_directory', ]
}
def do_setup(self, context):