phpLDAPadmin HowTo

U could disable repo as well ! and if u need some packeges from it use yum --enablerepo=epel -y install

wow great. tnx @Nas
Maybe as seen in older posts, for the epel repo is better to disable it in the howto
so noone (like me) can forget it enabled

eorepo centos-base centos-updates nethserver-base nethserver-updates

what do you think?

1 Like

ok howto works, of course i’ve move all the conversation… @alefattorini can you fix it ? :stuck_out_tongue:

5 posts were split to a new topic: Proxy with authenticated group of user from external Openldap

Hi
I try following the step on Nethserver 7, it cans not login for cn=libuser,dc=directory,dc=nh
but when use Anonymous, can log in.
the Nethserver 7 is not allow to libuser login ?

Thank you

Don’t use libuser! We are working on LDAP ACLs, on rc3 you should use admin credentials. On rc2 you’d better wait

Good news are @stephdl is working on a RPM for phpLDAPadmin!

1 Like

Thank you, when the rc3 will be release.

We have to close some issues before the release
https://github.com/NethServer/dev/projects/2

Thanks for the reminder :slight_smile:

1 Like

Tried to install phpldapadmin but when I use the url http://myserverip/ldapadmin/ I get:

grafik

Are you on your lan, default is restricted to the local network, did you use the default admin user ?

Yes I am.

No, because I get the error immediately bevor credetials are asked…

Ldap or samba ad ?

This Nethserver is a member of a MS AD.

Not tested this case, normally it just should work.

OK, any idea what I could do?

Check httpd/messages/secure log to understand what it occurs

cat /var/log/httpd/error_log

[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

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?

Yes good, I am at work, no computer right now :slight_smile:

We use pam and ldap so it should work if you can use the remote ad to nauthenticate in NS