WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Paul Gilzow v1.10.7

wpDirAuth

WordPress directory authentication plugin through LDAP and LDAPS (SSL).

wpDirAuth

The facts

Rating
4.7★ from 12
Active installs
500+
Price
Free
Last updated
18 Aug 2023
Added
Aug 2007
Requires WP
2.2
Tested up to
WP 6.3.10
Downloads
48,086

Our analysis

AI-assisted

wpDirAuth is a WordPress plugin that enables authentication through central directory servers (LDAP). It allows users from these directories to log in to WordPress sites without prior registration, creating accounts automatically on their first login. The plugin supports both LDAP and LDAPS connections and offers flexibility in user management and password policies.

This plugin is suitable for organisations that use LDAP for user management and want to streamline access to their WordPress sites. It allows for the creation of WordPress user accounts based on existing directory entries and provides options for custom notifications and terms of service for directory users.

Best for: This plugin is best for organisations using LDAP for user authentication who need to integrate it with WordPress.

What it does well

  • Supports authentication via various LDAP servers
  • Automatically creates WordPress accounts for directory users
  • Allows for custom notifications and terms of service
  • Can still create WP-only users alongside directory users
  • Offers SSL connectivity options for secure authentication

Where it falls short

  • Limited information on specific features and settings
  • The 'remember me' feature is reduced for directory users

Verdict

wpDirAuth provides a practical solution for integrating LDAP authentication with WordPress, though details on its configuration and features could be clearer.

From the developer

Paul Gilzow's own description of wpDirAuth, lightly tidied.

Please see the Changelog (Development tab above) for recent updates/changes.

wpDirAuth shifts authentication from the local WordPress instance to a central directory (LDAP) server(s).

wpDirAuth allows users of central directory (LDAP) servers to login to authorized WordPress instances without having to register. The plugin creates a new account for each directory user on first login so that they have full access to preferences and functions, as any WP user would. Activating the plugin will not restrict you to using directory authentication and you will still be able to both create new WP-only users as well as turn on public registration in WordPress. You can also assign any privilege levels to your directory users, and the those users will be referred to their institutional password policy whenever they would normally able to update their WP passwords (on the profile screen, in user edit, etc).

Ldap/ldaps

Authentication should work with most LDAP enabled directory services, such as OpenLDAP, Apache Directory, Microsoft Active Directory, Novell eDirectory, Sun Java System Directory Server, and more. wpDirAuth supports LDAP and LDAPS (SSL) connectivity and can force SSL for WordPress authentication if it is available on the Web server. It also supports server connection pools, for pseudo load balancing and fault tolerance, or multiple source directory authentication. Because the key used to locate a user’s profile in the LDAP server is not always the same, depending on your LDAP server type and institutional choices, you can define your own through the wpDirAuth administration tool. When logging in as a directory user, the WP “remember me” feature is downgraded from 6 months for regular WP users to only 1 hour, so that institutional passwords are not overly endangered when accessing WP from public terminals.

Branding & Notifications

You can define notifications addressed to your directory users in key WordPress areas, such as the login screen and the profile edit screen. Since these admin-editable values support HTML (admin, coders, beware of xss!), you can point your directory users to central support information related to functions such as changing their institutional password, a WordPress usage related policy, etc. There is also a simple and optional terms of services concept, only implemented for directory users, which will simply record a one-time acceptance date when agreed upon. Note that agreeing to the TOS has no effect on the user’s level of access in the system, fact which could change in future version if there is a demand for it, or through direct code contribution to that effect.

Using wpDirAuth

Once installed and activated, you will be able to administer your directory settings through the dedicated plugin configuration tool found under the wpDirAuth menu found in the WordPress Settings admin section. Directory Authenticated users can now be pre-added to your wordpress system and granted roles by going to the Add Dir Auth User menu found in the WordPress Users admin section. Contextual help for this section is available for this section within WordPress’ built-in help menu. See the inline help found in the tool for more information on the settings. There is a secondary activation toggle, so you can install and activate the plugin, check out the options panel, but not immediately accept directory authentication, or even simply turn the feature on or off at any time.

Help and Support

Please post questions, request for help to the WordPress plugins forum or email wpdirauth@gilzow.com. Please be sure to include ‘wpdirauth’ in the subject line.

TO-DO’s

  • Internationalization
  • Refactor to a class
  • More action/filter hooks

Source and Development

wpDirAuth welcomes friendly contributors wanting to lend a hand, be it in the form of code through SVN patches, user support, platform portability testing, security consulting, localization help, etc. The [current] goal is to keep the plugin self-contained (ie: no 3rd-party lib) for easier security maintenance, while keeping the code clean and extensible. Focus is on security, features, security, and let’s not forget, security. Unit tests will hopefully be developed and constant security audit performed. Recurring quality patch contributions will lead to commit privileges to the project source repository. Please post questions/requests for help to the wordpress forums and/or email wpdirauth@gilzow.com

License

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for directory sites.

TablePress

Embed beautiful, accessible, and interactive tables into your WordPress website’s posts and pages, without hav...

Free 600k+ installs 5★ (4,625)
File Manager Pro

Best WordPress file manager without FTP access. Edit code with built-in editor, upload files, download plugins...

Free 100k+ installs 4.9★ (152)
User Profile Builder

Powerful user profile plugin to create front-end user registration forms, login & user profile forms. Incl...

Free 40k+ installs 4.7★ (735)
Ultimate Member

Membership & community plugin with user profiles, registration & login, member directories, content re...

Free 200k+ installs 4.4★ (1,444)
Media Sync

Simple plugin to scan "uploads" directory and bring those files into Media Library.

Free 50k+ installs 4.7★ (86)
HireZoot

Create modern careers page, list jobs, and manage applications directly from your WordPress dashboard.

Free 30k+ installs 4.8★ (193)