Phpldapadmin

From SME Server


phpLDAPadmin for SME 8.x and SME 9.X

PythonIcon.png Skill level: medium
The instructions on this page require a basic knowledge of linux.


Maintainer

Michel Van hees

Website: http://www.vanhees.cc/index.php?&newlang=eng

Version

Contrib 10:
Contrib 9:
smeserver-phpldapadmin
The latest version of smeserver-phpldapadmin is available in the SME repository, click on the version number(s) for more information.


Description

Automatic installation of phpldapadmin on SmeServer.

phpldapadmin is a ldap client. Its powerfull multilangage administration interface allows you to edit the ldap server that comes with SME Server.


Installation

yum --enablerepo=smecontribs install smeserver-phpldapadmin
yum --enablerepo=smecontribs install smeserver-phpldapadmin

then

signal-event post-upgrade; signal-event reboot

OR if you do not wish to have to reboot your server, instead of the post upgrade & reboot commands, do

signal-event console-save

or

/sbin/e-smith/expand-template /etc/phpldapadmin/config.php
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith sigusr1
yum --enablerepo=smecontribs install smeserver-phpldapadmin

then

signal-event post-upgrade; signal-event reboot

OR if you do not wish to have to reboot your server, instead of the post upgrade & reboot commands, do

/sbin/e-smith/expand-template /etc/phpldapadmin/config.php
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith sigusr1

Uninstall

yum remove phpldapadmin smeserver-phpldapadmin

Usage

You can access the phpldapadmin interface by opening your web browser at the address:

https://[IP or NAME]/phpldapadmin

To login use the system admin login and password.

Settings

By default, the installation process limits the access to phpldapadmin to the local network.

To enable access to phpldapadmin from the internet and your local network :

db configuration setprop phpldapadmin access public
signal-event console-save

To limit access to local network :

db configuration setprop phpldapadmin access private
signal-event console-save

To allow modification of ldap ( by default read only :kamikaze is disabled)

db configuration setprop phpldapadmin kamikaze enabled
/sbin/e-smith/expand-template /etc/phpldapadmin/config.php
Warning.png Warning:
You will need to close your browser and clean cookies after this change to be sure change of user to connect to ldap are effectives .


Additional information

Michel Van hees (MasterSleepy)

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-phpldapadmin component or use this link .

IDProductVersionStatusSummary
10641SME ContribsFuturCONFIRMEDmcrypt deprecated in PHP 7.1

Changelog

Only versions released in smecontrib are listed here.

smeserver-phpldapadmin Changelog: SME 10 (smecontribs)
2021/06/01 Jean-Philippe Pialasse 1.5.0-3.sme
- Initial release to contribs10 [SME: 11611]
2015/08/22 stephane de Labrusse 1.5.0-2.sme
- Initial release to contribs9
2014/06/21 stephane de Labrusse 1.5.0-1.sme
- Initial release to sme9

2013/11/06 JP Pialasse 1.2.3-6.sme
- fix bug [SME: 5762]

- default admin read only but kamikaze mod for root modify access.

2013/11/04 JP Pialasse 1.2.3-4.sme
- wrong template path for config file [SME: 7975]
- patching also incorrect template.

- error binding to server swith to http auth to prevent