meditate-tiny.jpg (4546 bytes)

Savannah.gnu.org

LDAP for PHP-Nuke

News:

You can now find LDAP For PHP-Nuke at Savannah. Further updates will be posted here and on Savannah.

Finally got PHP-Nuke 7.8 and built nukeldap 2.xx. It does not require UserManager support. It is still in beta so don't use it in production machines unless you have done a good bit of testing. It uses a completely new architecture.

- Bill Wong

 

Overview:

This package synchronizes the PHP-Nuke user database with an LDAP database
so names and passwords can be maintained in the LDAP database. Additional
data can be synchronized and additional external database support packages can
be easily added.

Download:

nukeldap.2.2.0.tgz           Production - administration interface,  only creates new LDAP users, will not merge yet (sig file)
nukeldap.2.1.0.beta.tgz    Beta - administration interface,  only creates new LDAP users, will not merge yet (sig file)

License info:

This package is covered under GPL 2.0.

 

Contact info:

Send comments and requests to Bill Wong. Installation questions will be answered as soon as possible although there is no guarantee that it will be a quick response.

Also check out my other PHP-Nuke project hosted on Savannah at Webpages for PHPNuke..

 

 

===========  Old UserManager and NukeLDAP 1.xx support  =========

Updated version including Usermanager support for PHP-Nuke and Samba.
Support for PHP-Nuke 6.5+ and 7.4.

Click here for my other PHP-Nuke Apps.

Overview:

This package synchronizes the PHP-Nuke user database with an LDAP database
so names and passwords can be maintained in the LDAP database. Additional
data can be synchronized and additional external database support packages can
be easily added.

The package adds the $synch_db and a matching object class that provides the
interface to the external database. Functions are called before or after major
user/password operations are made such as logging in, changing passwords or
deleting users. In general, information from the external database is copied to the
PHP-Nuke user database when a user logs in and vice versa when they log out
of when data is changed.

Features:

Downloads:
ldap.60.06.tar.gz            04-04-04    LDAP support for PHP-Nuke 6.5+ and 7.x
nukeldap.1.0.tar.gz         06-30-03    LDAP support for PHP-Nuke 6.5

Installation:
Installation details are found in the README.txt file. In general the GZIP file is first converted to a TAR file. The files are then extraced from the TAR file.

If you have a raw PHP-Nuke installation then you can copy all the files in the html directory
to your PHP-Nuke html directory. If not, you must locate all the // synch_db comments and copy these
lines into your version of the matching files. Changes have been made to three files.

Copy the synch*.php files in the db directory to the html/db directory if manual changes were made.

Use chmod and chown to change settings to match your installation. Usually the owner is set to apache and
the files are set to 644.

Perform the configuration in the next section and things should be ready to go.

 

Configuration:
LDAP configuration is done by changing the settings in the synch_ldap.php file.
Disable Samba support if not required. The LDAP settings should match those
found in the slapd.conf file assuming you are using Openldap (www.openldap.org).

If you wish to only implement password changes via the external database then you need to disable
password changes in the Your_Account module. The easiest way is to remove the password fields
from the form and the processing of the matching fields in the code. Examples are not currently
provided here.