Overview


Active Directory / LDAP for staff is additional authentication plugin you can add to your HostBill. It allows your staff to authenticate in HostBill using their Active Directory / LDAP credentials. 

Activating the module


  1. If the plugin is included in your HostBill edition you can download it from your client portal.
  2. If the plugin is not included in your HostBill edition you can purchase it from our marketplace and then download it from the client area.
  3. Once you download the plugin extract it in the main HostBill directory.
  4. Go to Settings → Modules, find and activate Auth_LDAP plugin.
  5. Once the plugin is activated you will be directed to Settings→ Modules→ Plugins to configure LDAP authentication.

Module requires php-ldap extension to be installed in system to function properly

Module confiuration


For the AD/LDAP module the following configuration options are available:

After saving changes you can use Test Connection option to check if HostBill can connect/login to domain controller using admin user/password specified.

After confirming you can connect you can also use "Test user" feature in module description to verify whether module can find user entered in test field using current module settings, without the need of re-login


Recovering default login method on lockout


Once module is enabled and no fallback login method is enabled, you may not be able to login in case ldap connection fails for some reason.

To revert to default  authentication method you need to disable module in database directly. In order to do so perform following sql query against your HostBill database:

UPDATE hb_modules_configuration SET active = 0 WHERE filename = 'class.auth_ldap.php';




AD/LDAP auth flow