This is something that took me much longer than it probably should have.
We have a couple new F5 Big-IP LTM load balancers that we’re in the middle of setting it up. We wanted to have Active Directory authentication.
First we need specify how to connect to our Active Directory:
- Log into the web console with the admin account
- Navigate to System -> Users -> Authentication
- Leave Authentication at Basic and click the Change… button.
- Set User Directory to Remote – Active Directory
- Set Host to your domain name. If you need a specific domain controller, enter that instead.
- Set Remote Directory Tree to the distinguished name of the container in which your user accounts reside. F5 recommends this be as specific as possible. This should be something like: ou=AdminAccounts,dc=contoso,dc=com.
- Next, you can either specify a specific account to bind to LDAP with, or use the user’s credentials. We used the user’s credentials. To do that, you can set the User Template attribute and do not enter anything in Bind. Our User Template looks something like: %email@example.com. The %s indicates what the user types into the logon screen.
- Leave the rest as defaults.
- Click Finished.
You probably have something that looks like this:
We now need to specify which groups have what access.
- Click the Remote Role Groups tab.
- Click the Create… button.
- Enter a Group Name.
- Enter a Line Order. The LTM will process groups in order of their Line Order number. F5 recommends your first group starts at 1000, so you have room before and after.
- For Attribute String, enter an LDAP attribute to match off of. Most people will use an Active Directory group containing the administrative accounts. This is done with the Attribute String like: memberOf=cn=LTMAdmins,ou=AdminGroups,dc=contoso,dc=com.
- Set Remote Access to Enabled in order to allow the group remote access. (Probably want this enabled)
- Set Assigned Role to the role these users should reside in. Administratorgives full access.
- We set Partition Access to All. Set this appropriately.
- Terminal Access specifies the terminal which the users have access. tmsh is the default.
- Click Finished.
You should now have something like this:
That should get you basic Active Directory authentication working with a group of Administrators.