Configuring AD with TLS for object access
Configuring Active Directory (AD) with Transport Layer Security (TLS) helps to encrypt the communication between the IBM Storage Scale system and AD server.
Configures AD with TLS as the authentication method for object access.
- The CA certificate for the AD server must be placed under the
/var/mmfs/tmp directory with the name ldap_cacert.pem
specifically on the protocol node where the command is run. Validate the CA cert availability with
the wanted name at the required location as shown in the following example:
# stat /var/mmfs/tmp/ldap_cacert.pem File: /var/mmfs/tmp/ldap_cacert.pem Size: 2130 Blocks: 8 IO Block: 4096 regular file Device: fd00h/64768d Inode: 103169903 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Context: unconfined_u:object_r:user_tmp_t:s0 Access: 2015-01-23 12:37:34.088837381 +0530 Modify: 2015-01-23 12:16:24.438837381 +0530 Change: 2015-01-23 12:16:24.438837381 +0530
- Run the following command to configure AD with TLS authentication for object
access:
The system displays the following output:# mmuserauth service create --type ad --data-access-method object --user-name "cn=Administrator,cn=Users,dc=IBM,dc=local" --base-dn "dc=IBM,DC=local" --enable-server-tls --ks-dns-name cluster-ces-ip.ibm --ks-admin-user admin --servers myADserver --user-id-attrib cn --user-name-attrib sAMAccountName --user-objectclass organizationalPerson --user-dn "cn=Users,dc=IBM,dc=local" --ks-swift-user swift
Object configuration with LDAP (Active Directory) as identity backend is completed successfully. Object Authentication configuration completed successfully.
- Run the following command to verify the authentication configuration:
The system displays the following output:# mmuserauth service list
FILE access not configured PARAMETERS VALUES ------------------------------------------------- OBJECT access configuration: AD PARAMETERS VALUES ------------------------------------------------- ENABLE_ANONYMOUS_BIND false ENABLE_SERVER_TLS true ENABLE_KS_SSL false USER_NAME cn=Administrator,cn=Users,dc=IBM,dc=local SERVERS myADserver BASE_DN dc=IBM,DC=local USER_DN cn=users,dc=ibm,dc=local USER_OBJECTCLASS organizationalPerson USER_NAME_ATTRIB sAMAccountName USER_ID_ATTRIB cn USER_MAIL_ATTRIB mail USER_FILTER none ENABLE_KS_CASIGNING false KS_ADMIN_USER admin