fausp
(fpausp)
21
The owner of the files in /usr/share/phpldapadmin/htdocs is root:root:
17180073528 -rw-r--r-- 1 root root 5.8K Oct 1 2012 index.php
12884914660 drwxr-xr-x 3 root root 326 Mar 11 12:43 js
17180470025 -rw-r--r-- 1 root root 3.6K Oct 1 2012 login_form.php
17180470024 -rw-r--r-- 1 root root 989 Oct 1 2012 login.php
17180470026 -rw-r--r-- 1 root root 642 Oct 1 2012 logout.php
17180470027 -rw-r--r-- 1 root root 5.1K Oct 1 2012 mass_delete.php
17180470028 -rw-r--r-- 1 root root 3.5K Oct 1 2012 mass_edit.php
...
Is this correct?
stephdl
(Stéphane de Labrusse)
22
Yes good, I am at work, no computer right now
We use pam and ldap so it should work if you can use the remote ad to nauthenticate in NS
stephdl
(Stéphane de Labrusse)
23
it seems that it is httpd that it kicks you
[Thu Mar 12 10:01:59.664762 2020] [authz_core:error] [pid 26079] [client 192.168.xxx.xxx:50179] AH01630: client denied by server configuration: /usr/share/phpldapadmin/htdocs

what is the output of
[root@prometheus ~]# config show phpldapadmin
phpldapadmin=configuration
access=public
kamikaze=disabled
status=enabled
what is the httpd conf
cat /etc/httpd/conf.d/phpldapadmin.conf
fausp
(fpausp)
24
Nothing, just empty…
[root@srv01 ~]# cat /etc/httpd/conf.d/phpldapadmin.conf
#
# Web-based tool for managing LDAP servers
#
# Alias /phpldapadmin /usr/share/phpldapadmin/htdocs
# Alias /ldapadmin /usr/share/phpldapadmin/htdocs
Alias /phpldapadmin /phpldapadmin/htdocs
Alias /ldapadmin /phpldapadmin/htdocs
<Directory /usr/share/phpldapadmin/htdocs>
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.xxx.0/24
Allow from ::1
</IfModule>
</Directory>
stephdl
(Stéphane de Labrusse)
25
What do you mean …it cannot be empty
stephdl
(Stéphane de Labrusse)
28
go immediately read the wiki, please RTFM
fausp
(fpausp)
29
Sorry, what do you mean. Whats wrong?
stephdl
(Stéphane de Labrusse)
30
https://wiki.nethserver.org/doku.php?id=phpldapadmin
you missed I think to install nethserver-phpldapadmin
yum install nethserver-phpldapadmin --enablerepo=stephdl
1 Like
fausp
(fpausp)
31
Yes, sorry for wasting your time. I just used the very first post on top…
AGN sorry, I will follow your wiki…
1 Like
stephdl
(Stéphane de Labrusse)
33
1 Like