PhpLDAPadmin: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 54: | Zeile 54: | ||
verwalten können. | verwalten können. | ||
In der Regel können Sie mit Ihrem Browser auf PLA über die Adresse | In der Regel können Sie mit Ihrem Browser auf PLA über die Adresse | ||
http://<webserver>/phpldapadmin zugreifen. | http://<webserver>/phpldapadmin zugreifen. | ||
= TMP = | |||
{{Lowercase title}} | |||
[[Category:Web admin interfaces]] | |||
[[ja:PhpLDAPadmin]] | |||
[http://phpldapadmin.sourceforge.net/ phpLDAPadmin] is an web-based [[LDAP]] adminstration interface. | |||
== Pre-Installation == | |||
See [[LAMP]] for a guide to setting up Apache, MySQL, and PHP. | |||
== Installation == | |||
[[Install]] the {{Pkg|phpldapadmin}} package. | |||
== Configuration == | |||
=== 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'); | |||
== 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/ |
Version vom 24. August 2022, 10:40 Uhr
topic kurze Beschreibung
Beschreibung
Installation
Anwendungen
Syntax
Optionen
Parameter
Umgebungsvariablen
Exit-Status
Konfiguration
Dateien
Sicherheit
Dokumentation
RFC
Man-Pages
Info-Pages
Siehe auch
Links
Projekt-Homepage
Weblinks
Einzelnachweise
Testfragen
Testfrage 1
Testfrage 2
Testfrage 3
Testfrage 4
Testfrage 5
TMP
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.
TMP
Vorlage:Lowercase title ja:PhpLDAPadmin phpLDAPadmin is an web-based LDAP adminstration interface.
Pre-Installation
See LAMP for a guide to setting up Apache, MySQL, and PHP.
Installation
Install the Vorlage:Pkg package.
Configuration
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');
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/