How can we configure a RHEL Active Directory, as it is not a predefined LDAP profile?
Objective
Q:
How can we configure a RHEL Active Directory, as it is not a predefined LDAP profile?
Environment
9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10
Procedure
A:
The following steps are a walkthrough of creating a RHEL active directory:
Note: Because the Setup Wizard will only work with one of the default Profiles, it is necessary to edit one of the original profiles, then run the wizard and then rename the profile. To preserve the original profile we suggest to copy the original profile before editing it (step 1a) and then rename the copy back to the original name (step 2e). These two steps can be omitted if the original eDirectoryProfile will not be needed.
1. Creating the RedHatProfile.ini
b. In the new eDirectoryProfile.ini Rename ProfileName to BKeDirectoryProfile.in.
c. Return to the original eDirectoryProfile and modify the following values:
ObjectClassOU – nsContainer
GroupObjectClass – ipausergroup
UserGroups – memberOf
2. Adding the RHEL directory
b. PVWA > Administration > System Configuration > Setup Wizard > LDAP Integration, Next. Modify the following values:
Directory Type – eDirectoryProfile.ini
Address - <AD address>
Port - <AD Port>
LDAP Bind User - uid=<username>,cn=users,cn=accounts,dc=<dc context>
LDAP Bind Password - <bind user password>
LDAP Base Context - dc=<dc context>
d. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Profiles > Rename eDirectoryProfile.ini ProfileName to RedHatProfile.ini.
e. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Directories in the directory just added Modify:
g. Press OK to save the above changes.
Additional Information
Details
Q:
How can we configure a RHEL Active Directory, as it is not a predefined LDAP profile?
A:
The following steps are a walkthrough of creating a RHEL active directory:
Note: Because the Setup Wizard will only work with one of the default Profiles, it is necessary to edit one of the original profiles, then run the wizard and then rename the profile. To preserve the original profile we suggest to copy the original profile before editing it (step 1a) and then rename the copy back to the original name (step 2e). These two steps can be omitted if the original eDirectoryProfile will not be needed.
1. Creating the RedHatProfile.ini
a. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Profiles COPY the eDirectoryProfile.ini (right click on eDirectoryProfile.ini and Copy) and paste profile into Profiles (right click on Profiles and Paste).
b. In the new eDirectoryProfile.ini Rename ProfileName to BKeDirectoryProfile.in.
c. Return to the original eDirectoryProfile and modify the following values:
ObjectClassDomain – domain
ObjectClassOU – nsContainer
GroupObjectClass – ipausergroup
UserGroups – memberOf
d. Press OK to save this
2. Adding the RHEL directory
a. If you plan to use the DomainName, please ensure to update the Vault hosts file so it can be resolved.
b. PVWA > Administration > System Configuration > Setup Wizard > LDAP Integration, Next. Modify the following values:
Name - <LDAP Profile name>
Directory Type – eDirectoryProfile.ini
Address - <AD address>
Port - <AD Port>
LDAP Bind User - uid=<username>,cn=users,cn=accounts,dc=<dc context>
LDAP Bind Password - <bind user password>
LDAP Base Context - dc=<dc context>
c. Press Save and Continue, add the group mappings as required and press Finish.
d. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Profiles > Rename eDirectoryProfile.ini ProfileName to RedHatProfile.ini.
e. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Directories in the directory just added Modify:
Directory Type – RedHatProfile.ini
f. PVWA > Administration > System Configuration > LDAP Integration > LDAP > Profiles > Rename BKeDirectoryProfile.ini ProfileName to eDirectoryProfile.ini.
g. Press OK to save the above changes.