PhpLDAPadmin: Unterschied zwischen den Versionen

Aus Foxwiki
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 ===

Version vom 12. Mai 2023, 11:21 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

Syntax

Optionen

Parameter

Umgebungsvariablen

Exit-Status

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

RFC
Man-Pages
Info-Pages

Links

Einzelnachweise
Projekt
Weblinks
  1. phpLDAPadmin is an web-based LDAP adminstration interface.

TMP