Difference between revisions of "Phpldapadmin"

From SME Server
Jump to navigationJump to search
(corrected template location, added explanation re avoiding reboot)
m
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Languages|Phpldapadmin}}
 
{{Languages|Phpldapadmin}}
  
=phpLDAPadmin for SME 7.x=
+
===phpLDAPadmin for SME 10.X===
 
{{Level|medium}}
 
{{Level|medium}}
  
Line 8: Line 8:
  
 
Website: http://www.vanhees.cc/index.php?&newlang=eng
 
Website: http://www.vanhees.cc/index.php?&newlang=eng
 +
 +
===Version===
 +
{{#smeversion: smeserver-phpldapadmin }}
 +
{{#smeversion: phpldapadmin }}
  
 
==Description==
 
==Description==
 
Automatic installation of [http://phpldapadmin.sourceforge.net/ phpldapadmin] on SmeServer.
 
Automatic installation of [http://phpldapadmin.sourceforge.net/ phpldapadmin] on SmeServer.
  
[http://phpldapadmin.sourceforge.net/ phpldapadmin] is a ldap client. Its powerfull multilangage administration interface allows you to edit the ldap server that comes with SME Server.
+
[http://phpldapadmin.sourceforge.net/ phpldapadmin] is a ldap client. Its powerful multilangage administration interface allows you to edit the ldap server that comes with SME Server.
 +
 
 +
The original is no longer maintained and was forked to this repo where they keep 1.2 and are working on 2.0:
 +
https://github.com/leenooks/phpLDAPadmin
 +
 
 +
We have imported this to SME.
  
The installed version is 0.9.8.3, newer versions exist but they require php5.
 
 
==Installation==
 
==Installation==
yum --enablerepo=smecontribs install smeserver-phpldapadmin
 
  
 +
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install smeserver-phpldapadmin phpldapadmin
 +
 +
</tab><tab name="For SME 9">
 +
yum --enablerepo=smecontribs install smeserver-phpldapadmin phpldapadmin
 
then  
 
then  
 
  signal-event post-upgrade; signal-event reboot
 
  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:
  
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/config.php
+
  /sbin/e-smith/expand-template /etc/phpldapadmin/config.php
 
  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 
  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 
  service httpd-e-smith sigusr1
 
  service httpd-e-smith sigusr1
 +
</tab>
 +
</tabs>
  
 
==Uninstall==
 
==Uninstall==
  yum remove smeserver-phpldapadmin
+
  yum remove phpldapadmin smeserver-phpldapadmin
 +
 
 
==Usage==
 
==Usage==
 
You can access the [http://phpldapadmin.sourceforge.net/ phpldapadmin] interface by opening your web browser at the address:
 
You can access the [http://phpldapadmin.sourceforge.net/ phpldapadmin] interface by opening your web browser at the address:
Line 38: Line 54:
 
By default, the installation process limits the access to [http://phpldapadmin.sourceforge.net/ phpldapadmin] to the local network.
 
By default, the installation process limits the access to [http://phpldapadmin.sourceforge.net/ phpldapadmin] to the local network.
  
To enable access to [http://phpldapadmin.sourceforge.net/ phpldapadmin] from the internet and your local network :
+
To enable access to [http://phpldapadmin.sourceforge.net/ phpldapadmin] from the internet and your local network:
 
  db configuration setprop phpldapadmin access public
 
  db configuration setprop phpldapadmin access public
 
  signal-event console-save
 
  signal-event console-save
To limit access to local network :
+
To limit access to local network:
 
  db configuration setprop phpldapadmin access private
 
  db configuration setprop phpldapadmin access private
 
  signal-event console-save
 
  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 box|'''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==
 
==Additional information==
 
*[http://phpldapadmin.sourceforge.net Site web]
 
*[http://phpldapadmin.sourceforge.net Site web]
  
 
''Michel Van hees (MasterSleepy)''
 
''Michel Van hees (MasterSleepy)''
 +
 +
== Bugs ==
 +
For the smeserver component please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-phpldapadmin component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-phpldapadmin|title=this link}}.
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-phpldapadmin |noresultsmessage="No open bugs found."}}
 +
 +
 +
For the core phpldapadmin component please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the phpldapadmin component or use {{BugzillaFileBug|product=SME%20Contribs|component=phpldapadmin|title=this link}}.
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=phpldapadmin |noresultsmessage="No open bugs found."}}
 +
 +
 +
==Changelog==
 +
Only versions released in smecontrib are listed here.
 +
 +
{{#smechangelog: smeserver-phpldapadmin}}
 +
 +
{{#smechangelog: phpldapadmin}}
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Administration]]
 
[[Category: Administration]]

Latest revision as of 15:35, 24 July 2022


phpLDAPadmin for SME 10.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.


Contrib 10:
Contrib 9:
phpldapadmin
The latest version of 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 powerful multilangage administration interface allows you to edit the ldap server that comes with SME Server.

The original is no longer maintained and was forked to this repo where they keep 1.2 and are working on 2.0: https://github.com/leenooks/phpLDAPadmin

We have imported this to SME.

Installation

yum --enablerepo=smecontribs install smeserver-phpldapadmin phpldapadmin
yum --enablerepo=smecontribs install smeserver-phpldapadmin 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

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

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

"No open bugs found."


For the core phpldapadmin component please raise bugs under the SME-Contribs section in bugzilla and select the phpldapadmin component or use this link .

"No open bugs found."


Changelog

Only versions released in smecontrib are listed here.

smeserver-phpldapadmin Changelog: SME 10 (smecontribs)

2022/07/31 Jean-Philippe Pialasse 1.6.0-9.sme
- update to template httpd24 syntax [SME: 12055]

add Requires: e-smith-apache >= 2.6.0-19
2022/07/27 Zsolt Vasarhelyi 1.6.0-7.sme
- update to template httpd24 syntax [SME: 12055]
2022/07/23 Jean-Philippe Pialasse 1.6.0-6.sme
- update access to httpd24 syntax [SME: 12055]
2021/10/06 Brian Read 1.6.0-5.sme
- Remove-intial-req-to-login.patch [SME: 11699]
2021/10/05 Brian Read 1.6.0-4.sme
- Alter auth-type config parameter to cookie from http [SME: 11699]


phpldapadmin Changelog: SME 10 (smecontribs)
2021/10/04 Brian Read 1.2.6-4.sme
- Remove deps on php74 and add in AutoReqProv [SME: 11699]
2021/09/30 John Crisp - 1.2.6-3.sme
- Update php versions to php74 [SME: 11700]

2021/09/29 John Crisp - 1.2.6-2.sme
- Fix the bug number for consistency

- Set requires php to 7.3
2021/09/28 John Crisp - 1.2.6-1.sme
- Import for Koozali SME v10 [SME: 11700]

2018/11/15 John Crisp - 1.2.3.11.sme
- Imported as -10 to match current contrib

- fix missing source.tar.gz