All
Happy to report that I have just release a new vqmod-based plugin that Opencart's authentication framework to allow for integration with Microsoft Active Directory (AD) for authentication purposes.
http://www.opencart.com/index.php?route ... n_id=25443
It provides settings on the default store's admin section to enable/disable authentication with AD, and also, if enabled specify the ldap URL to the ActiveDirectory server.
The plugin assumes that the user has been registered and has a customer profile on the opencart store and shares the same username as what is configured in AD.
Assuming the AD authentication is enabled, when the user tries to log in this plugin will try to authenticate the credentials against the AD configured and if successful will allow the user to log in as normal. If however the authentication fails against AD the user will not be able to log in.
Supported OpenCart Versions:
This plugin is currently certified only for opencart 1.5.x.x.
Dependencies
The following php library/module must be installed for this plugin to work: php5-ldap
Rgds
Soteri
--
Soteri Panagou
Freelance Developer and Opencart Zealot
http://www.opencart.com/index.php?route ... @gmail.com
If you have any specific requirements, I will be happy to extend this plugin, please just ping me with what you need.
--
Soteri Panagou
Freelance Developer and Opencart Zealot
http://www.opencart.com/index.php?route ... @gmail.com
The plugin has been updated, and now supports both OpenCart 2 and OpenCart 3. Additionally it has been extended to now work witih ActiveDirectory as well as OpenLDAP
https://www.opencart.com/index.php?rout ... n_id=25443
What does it do:
This plugin extends opencart to allow for integration with any LDAP-compliant authentication server, such as OpenLDAP and Microsoft ActiveDirectory, for authentication purposes.
It provides settings on the default store's admin section to enable/disable authentication with OpenLDAP.AD, and also, if enabled specify the ldap URL to the OpenLDAP/ActiveDirectory installation.
The plugin assumes that the user has been registered and has a customer profile on the opencart store and shares the same email address as what is configured in OpenLDAP/AD.
Assuming the authentication is enabled, when the user tries to log in this plugin will try to authenticate the credentials against the OpenLDAP/AD configured and if successful will allow the user to log in as normal.
If however the authentication fails against OpenLDAP/AD the user will not be able to log in.
This plugin is compatible with opencart 1.5.x.x, 2.x.x.x, 3.x.x.x, and has been tested with Microsoft ActiveDirectory and OpenLDAP.
Plugin Configuration
The plugin, if enabled, relies on two settings:
a) LDAP Server URL - for example, ldap://myserver:389
b) LDAP Bind String - the Bind string that must be used. The email address provided by the user will be a part of the bind string, and represented by a special [EMAIL_ADDRESS] placeholder, for example: cn=[EMAIL_ADDRESS],ou=users,dc=test,dc=com
Dependencies
The following php library/module must be installed for this plugin to work:
php5-ldap or php7-ldap, depending on the version of PHP that you have installed.
How to install it
The zip file contains VQMODs for all versions of OpenCart that are supported. Please copy the contents of the folder that most closely matches your version of Opencart into the "vqmod/xml" folder. Note that mo files are overwritten and it's required to have VQMOD installed.
Supported OpenCart Versions:
panagos@gmail.com
soteri@opencartplugins.net
History
https://www.opencart.com/index.php?rout ... n_id=25443
What does it do:
This plugin extends opencart to allow for integration with any LDAP-compliant authentication server, such as OpenLDAP and Microsoft ActiveDirectory, for authentication purposes.
It provides settings on the default store's admin section to enable/disable authentication with OpenLDAP.AD, and also, if enabled specify the ldap URL to the OpenLDAP/ActiveDirectory installation.
The plugin assumes that the user has been registered and has a customer profile on the opencart store and shares the same email address as what is configured in OpenLDAP/AD.
Assuming the authentication is enabled, when the user tries to log in this plugin will try to authenticate the credentials against the OpenLDAP/AD configured and if successful will allow the user to log in as normal.
If however the authentication fails against OpenLDAP/AD the user will not be able to log in.
This plugin is compatible with opencart 1.5.x.x, 2.x.x.x, 3.x.x.x, and has been tested with Microsoft ActiveDirectory and OpenLDAP.
Plugin Configuration
The plugin, if enabled, relies on two settings:
a) LDAP Server URL - for example, ldap://myserver:389
b) LDAP Bind String - the Bind string that must be used. The email address provided by the user will be a part of the bind string, and represented by a special [EMAIL_ADDRESS] placeholder, for example: cn=[EMAIL_ADDRESS],ou=users,dc=test,dc=com
Dependencies
The following php library/module must be installed for this plugin to work:
php5-ldap or php7-ldap, depending on the version of PHP that you have installed.
How to install it
The zip file contains VQMODs for all versions of OpenCart that are supported. Please copy the contents of the folder that most closely matches your version of Opencart into the "vqmod/xml" folder. Note that mo files are overwritten and it's required to have VQMOD installed.
Supported OpenCart Versions:
- 1.5.4 or greater
- 2.x
- 3.x
panagos@gmail.com
soteri@opencartplugins.net
History
- 3.0.0.0 - Port of the plugin to OpenCart 3
- 2.0.0.0 - Added support for bind strings, and also ported the plugin to version 2 of opencart
- 1.0.0.0 - initial version
--
Soteri Panagou
Freelance Developer and Opencart Zealot
http://www.opencart.com/index.php?route ... @gmail.com
Who is online
Users browsing this forum: No registered users and 37 guests