LDAP Information pagex

Hi guys, I need to get the LDAP information. Is it a page like the one that Zentyal has ?

BR.
Bogdan

There isn’t a page like this, we could add it.
What do you think @davidep?

You can find all information here: http://docs.nethserver.org/projects/nethserver-devel/en/latest/directory.html
Fell free to ask if something is not clear enough.

1 Like

the question was already asked but on another topic, see my answer Trying to install Joomla on NethServer

Hi Giacomo, Stephane,
Thanks for the links, I’ve been looking into the documentation pretty much before asking this but it is too cryptic to me… My skills are limited in interpreting the LDAP schema :frowning:

Question: How we can add a simple page to NS to provide that information?

Where can I find the information ?
Then i can try to make a php page to display it.

PS. I’ve run " ldapsearch -Y EXTERNAL " but i only get the records of the single users existing in ldap.

I assume that I’m not really at ease with LDAP, but what about of ‘slapcat’, you will retrieve the whole catalogue

I agree, a LDAP information page or a module that provides a LDAP browser and directory client (akin to MS Active Directory Explorer / Apache Directory Server - Studio) would be extremely useful.

We can create a widget for the Dashboard or a new page inside the Organization page.

What do you exactly need? What is your goal?

Hi,
I’m trying to use Apache Directory to manage the LDAP and also to be able to use the details to join a linux machine to the NS Ldap.
Unfortunatelly I’ve tried Staphane’s suggestions but I did not succeded…

Also this information should be usefull if you have any application that needs to connect to LDAP

LDAP configuration:

basedn: dc=directory,dc=nh
users: ou=People,dc=directory,dc=nh
groups: ou=Groups,dc=directory,dc=nh
bindDN: cn=libuser,dc=directory,dc=nh
password: cat /var/lib/nethserver/secrets/libuser

Also the LDAP can be accessed using the FQDN.
Example:
FQDN: server.mydomain.com
baseDN: dc=mydomain,dc=com

Hope this helps.

1 Like

Hi Giacomo, Thank you very much for this :smile: I really apreciate the help

I’ll try to connect as soon as i reach home.

PS: can we add this to NS in the dashboard as a widget ?

Best regards
Bogdan

You can use one of this examples:

A brief introduction to web interface programming: http://docs.nethserver.org/projects/nethserver-devel/en/latest/web_interface.html

@Ctek feel to free to ask and share your work, @davidep and @giacomo will be happy to support you :wink:
This is the right place: http://community.nethserver.org/c/development