• DrayOS 4, imported, ad_ldap, ssl, user_management, user_profile, external_auth, login_auth

Authenticate users with an AD/LDAP server (DrayOS4)

AD/LDAP Profile Setup

1. Go to Application >> Active Directory/ LDAP >> General Setup, enable AD/LDAP and enter the information of AD/LDAP server as follows:

  1. Bind Type: Regular Mode
  2. Server Address: The IP address of AD/LDAP server
  3. Regular DN: The distinguished name (DN) of administrator account of AD/LDAP server
  4. Regular Password: The password of the administrator account  
  5. Use SSL: Tick the Use SSL option to secure the LDAP session if the AD/LDAP server supports LDAP over SSL.

2. Click OK to save the configuration, and click OK again when being asked to reboot the router.

3. Create an AD/LDAP profile: Go to Application >> Active Directory/ LDAP >> AD/LDAP Profiles page, click on an available index number.

a screenshot of DrayOS AD/LDAP profile list

4. Edit the profile as follows:

  1. Give this profile a Name
  2. Enter the Common Name Identifier that the AD/LDAP server uses (which might be cn by default)
  3. Enter Base Distinguished Name as the directory from where the router can start searching.
a screenshot of DrayOS AD/LDAP server profiles

User Management Setup

5. Go to User Management >> General Setup to make sure the User Management mode is "User-Based."

a screenshot of User Management setup

6. Create a new user profile: Go to User Management >> User Profile, click on an available index.

a screenshot of DrayOS local user profile list

7. Edit the profile as follows:

  1. Enable this account
  2. Give it a Username
  3. At External Server Authentication, select "LDAP" and choose the profile we created in step 3.
  4. Click OK to save.

User Login

8. Now, when LAN clients access the Internet for the first time, the router will redirect them to a login page. They should log in with a user account on the AD/LDAP database.

9. From User Management >> User Online Status page, Network Administrator will see the users who are authenticated by the AD/LDAP server.