PhpLDAPadmin: Unterschied zwischen den Versionen
K Textersetzung - „== Syntax ==“ durch „== Aufruf ==“ |
|||
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
'''phpLDAPadmin''' - Webbasierter LDAP-Client | '''phpLDAPadmin''' - Webbasierter LDAP-Client | ||
== Beschreibung == | == Beschreibung == | ||
Zeile 15: | Zeile 15: | ||
== | == Aufruf == | ||
=== Optionen === | === Optionen === | ||
=== Parameter === | === Parameter === | ||
=== | === Umgebung === | ||
=== | === Rückgabewert === | ||
== Anwendung == | == Anwendung == | ||
; Accessing your phpLDAPadmin installation | ; Accessing your phpLDAPadmin installation | ||
Zeile 27: | Zeile 27: | ||
== Konfiguration == | == Konfiguration == | ||
=== Apache === | |||
Create the Apache configuration file: | |||
{{hc|/etc/httpd/conf/extra/phpldapadmin.conf| | |||
Alias /phpldapadmin "/usr/share/webapps/phpldapadmin" | |||
<Directory "/usr/share/webapps/phpldapadmin"> | |||
DirectoryIndex index.php | |||
AllowOverride All | |||
Options FollowSymlinks | |||
Require all granted | |||
</Directory> | |||
}} | |||
And include it in {{ic|/etc/httpd/conf/httpd.conf}}: | |||
# phpLDAPadmin configuration | |||
Include conf/extra/phpldapadmin.conf | |||
By default, everyone can see the phpLDAPadmin page, to change this, edit {{ic|/etc/httpd/conf/extra/phpldapadmin.conf}} to your liking. For example, if you only want to be able to access it from the same machine, replace {{ic|Require all granted}} by {{ic|Require local}}. | |||
=== PHP === | |||
You need to enable the {{ic|ldap}} and {{ic|gettext}} extensions in PHP by editing {{ic|/etc/php/php.ini}} and uncommenting the following lines: | |||
extension=ldap | |||
extension=gettext | |||
You need to make sure that PHP can access {{ic|/usr/share/webapps}} and {{ic|/etc/webapps}}. Add them to {{ic|open_basedir}} in {{ic|/etc/php/php.ini}} : | |||
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps | |||
=== phpLDAPadmin configuration === | |||
phpLDAPadmin's configuration file is located at {{ic|/etc/webapps/phpldapadmin/config.php}}. If you have a local LDAP server, it should be usable without making any modifications. | |||
If your LDAP server is not on the localhost, uncomment and edit the following line: | |||
$servers->setValue('server','host','127.0.0.1'); | |||
Although not strictly necessary you can name your server by editing the following line: | |||
$servers->setValue('server','name','My LDAP server'); | |||
=== Dateien === | === Dateien === | ||
<noinclude> | <noinclude> | ||
== Anhang == | == Anhang == | ||
=== Siehe auch === | === Siehe auch === | ||
Zeile 34: | Zeile 70: | ||
==== Sicherheit ==== | ==== Sicherheit ==== | ||
==== Dokumentation ==== | ==== Dokumentation ==== | ||
==== Links ==== | ==== Links ==== | ||
<references /> | <references /> | ||
===== Projekt ===== | ===== Projekt ===== | ||
# https://phpldapadmin.sourceforge.net | |||
===== Weblinks ===== | ===== Weblinks ===== | ||
[[Kategorie:Server | [[Kategorie:Server/Management]] | ||
[[Kategorie:LDAP]] | [[Kategorie:LDAP]] | ||
</noinclude> |
Aktuelle Version vom 12. November 2024, 18:49 Uhr
phpLDAPadmin - Webbasierter LDAP-Client
Beschreibung
phpLDAPadmin ist ein webbasierter LDAP-Client. Er ermöglicht eine von überall erreichbare, mehrsprachige Verwaltung für Ihren LDAP-Server. Die hierarchische Anzeige von Bäumen und fortschrittliche Suchfunktionen machen die Verwaltung Ihres LDAP-Verzeichnisses und die Suche darin intuitiv. Da phpLDAPadmin eine Webanwendung ist, funktioniert dieser LDAP-Browser auf vielen Plattformen, so dass Sie Ihren LDAP-Server einfach von jedem Ort verwalten können. In der Regel können Sie mit Ihrem Browser auf PLA über die Adresse
http://<webserver>/phpldapadmin zugreifen.
Installation
Aufruf
Optionen
Parameter
Umgebung
Rückgabewert
Anwendung
- Accessing your phpLDAPadmin installation
Your phpLDAPadmin installation is now complete. Before start using it you need to restart Apache.
You can access your phpLDAPadmin installation by going to http://localhost/phpldapadmin/
Konfiguration
Apache
Create the Apache configuration file: Vorlage:Hc
And include it in Vorlage:Ic:
# phpLDAPadmin configuration Include conf/extra/phpldapadmin.conf
By default, everyone can see the phpLDAPadmin page, to change this, edit Vorlage:Ic to your liking. For example, if you only want to be able to access it from the same machine, replace Vorlage:Ic by Vorlage:Ic.
PHP
You need to enable the Vorlage:Ic and Vorlage:Ic extensions in PHP by editing Vorlage:Ic and uncommenting the following lines:
extension=ldap extension=gettext
You need to make sure that PHP can access Vorlage:Ic and Vorlage:Ic. Add them to Vorlage:Ic in Vorlage:Ic :
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps
phpLDAPadmin configuration
phpLDAPadmin's configuration file is located at Vorlage:Ic. If you have a local LDAP server, it should be usable without making any modifications.
If your LDAP server is not on the localhost, uncomment and edit the following line:
$servers->setValue('server','host','127.0.0.1');
Although not strictly necessary you can name your server by editing the following line:
$servers->setValue('server','name','My LDAP server');
Dateien
Anhang
Siehe auch
Sicherheit
Dokumentation
Links
Projekt
Weblinks