-
Notifications
You must be signed in to change notification settings - Fork 3
Other configurations
Peter Willendrup edited this page Feb 8, 2016
·
5 revisions
How to set up phpldapadmin behind a password protected page.
- Install via apt-get
- Configure for local LDAP profile
- Serve via nginx server entry:
location /ldapadmin { alias /srv/mcweb/wordpress/ldapadmin; auth_basic "Restricted"; auth_basic_user_file /srv/mcweb/htpasswd; }
- with proper htpasswd generated htpasswd file in right location
htpasswd passwordfile username password
How to install the change LDAP password widget 'self-service-password'
- Download Debian package from http://ltb-project.org/wiki/documentation/self-service-password/0.9/start and install it:
$ wget http://tools.ltb-project.org/attachments/download/801/self-service-password_0.9-1_all.deb $ dpkg -i self-service-password_0.9-1_all.deb $ aptitude install php5 php5-ldap php5-mcrypt
- Package php files will be installed to /usr/share/self-service-password/
- Put/edit config.inc.php from https://github.com/McStasMcXtrace/McWeb/blob/master/configs-platform/ssp/conf/config.inc.php in /usr/share/self-service-password/conf/config.inc.php
- Put style.css and e-neutrons-logo-blue-small.png from https://github.com/McStasMcXtrace/McWeb/tree/master/configs-platform/ssp/style in /usr/share/self-service-password/style
- Enable as ordinary php application in Nginx, e.g. by putting a link to the folder below the webroot (e.g. in /srv/mcweb), and creating a location with an alias for that link.
Create and serve a frontpage of some kind, linking to the services.