Step by Step Guide to enable miniOrange WP LDAP Login plugin for WordPress


LDAP Login Cloud catered towards sites hosted on shared web hosts which do not allow to install plugin dependencies such as cURL and PHP LDAP. It also assists in cases where a secure LDAP connection needs to be made between the website hosted on a shared host and an on-premise LDAP Directory.

Step 1: Download and install miniOrange LDAP/AD Login for Cloud

From your WordPress dashboard

  • Click on PluginsAdd New tab.
  • Unable to load Image
  • Search for cloud ldap. Install miniOrange LDAP/AD Login for Cloud.
  • Unable to load Image
  • Activate the plugin from your Plugins page.
  • Unable to load Image

From WordPress.org

  • Download miniOrange LDAP/AD Login for Cloud.
  • Unable to load image
  • Go to PluginsAdd New.
  • Unable to load image
  • Click on Upload Plugin and choose the downloaded plugin zip.
  • Unable to load image Unable to load image
  • Click on Install Now and activate miniOrange LDAP/AD Login for the cloud from your Plugins page.
  • Unable to load image Unable to load image

Step 2: Setup miniOrange LDAP/AD Login for cloud plugin

  • Register/Login into miniOrange account.
  • Unable to load Image
  • Once you are successfully logged in, LDAP configuration tab will be shown. Scroll down to configure LDAP settings.
  • Select the directory server protocol (LDAP/LDAPS) from dropdown.
  • Enter the hostname or IP address of the directory server.
  • Enter the LDAP server port number.
  • Enter the username and password to establish the connection to your LDAP server.
  • Unable to load Image
  • Enter the LDAP Search Base and LDAP Search filter for your LDAP implementation.
  • Search Base: Provide the distinguished name of the Search Base object. If you have users in different locations in the directory(OU's), separate the distinguished names of the search base objects by a semi-colon(;).
    eg. cn=Users,dc=domain,dc=com
    eg. cn=Users,dc=domain,dc=com; ou=people,dc=domian,dc=com.

  • LDAP Search Filter: Enter the LDAP Search Filter. You will need to enter the username during LDAP login based on the search filter attribute configured.
    eg. (&(objectClass=*)(mail=?)), (&(objectClass=*)(|(samaccountname=?)(mail=?)))

  • Click on Test Connection and Save.
  • Unable to load Image
  • Once the connection is successful , you can perform test authentication to verify whether the LDAP Authentication is working fine or not by entering the username and password of any LDAP user account.


  • Unable to load image
  • Configure Enable login using LDAP settings to login in WordPress site with LDAP credentials.
    • Enable LDAP login: This option is disabled by default. You can enable LDAP login once you are done with the "Test Connection & Save" in LDAP Connection Information.

    • Authenticate users from both LDAP and WordPress: This option allows users to use either of WordPress credentials or LDAP credentials to login in WordPress site.

    • Redirect after authentication: By default it is "None". You can select redirect option for users after login into wordpress site to "Home Page", "Profile Page", "Custom Page".

    • Enable Auto Registering users if they do not exist in WordPress: This option is enabled by default and allow the users to register in WordPress after they login into the WordPress site with LDAP credentials.

    • Protect all website content by login: You can protect the website contents by enabling this option. The users will need to enter their LDAP credentials while accessing any page of WordPress site.

    • Unable to load image

Step 3: Setup Role Mapping

  • After successful "Test Authentication". Naviagte to Role Mapping tab to map the users of LDAP groups with WordPress roles.

  • LDAP Groups to WP User Role Mapping: Enter the LDAP group distinguished name in LDAP Group Name and select the WordPress role you want to assign for the members of that group.

  • LDAP Group Attributes Name: Specify attribute which stores group names to which LDAP Users belong. Click on Save Mapping

  • Unable to load image
  • Test Role Mapping Configuration: Enter the username of the LDAP user which is a member of one of the specified LDAP groups.

  • Click on Test Configuration. A new window will open where you can see the results for test role mapping.

  • Unable to load image

    Note: WordPress roles will be assigned to the user only after LDAP Login in WordPress site.

Step 4: Setup Attribute Mapping

  • Navigate to Attribute Mapping tab and configure the basic LDAP attributes. You can also add extra LDAP user attributes in Add Custom Attributes section.

  • Enable Attribute Mapping: This option allows to map LDAP user attributes to WordPress user profile attributes after LDAP login.

  • Click on Save Configuration.

miniOrange Authentication and Single Sign-on products have ready integrations with a number of leading providers, these ready solutions allow enterprises quickly increase the security of information and resources without worrying about time for initial set up or future upgrades.

Click here to see our step by step guide for Single Sign on.

Click here to see our step by step guide for b Authentication.

If you dont find what you are looking for, Please contact us at info@xecurify.com or call us at +1 978 658 9387 to find an answer to your question about Single Sign on or b Authentication.


Watch the videos to learn more  Watch Demo