LDAP Information pagex


(Bogdan Costin) #1

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

BR.
Bogdan


(Giacomo Sanchietti) #2

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.


(Stéphane de Labrusse) #3

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


(Bogdan Costin) #4

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.


(Stéphane de Labrusse) #5

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


(Mark Edworthy) #6

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.


(Giacomo Sanchietti) #7

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?


(Bogdan Costin) #8

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


(Giacomo Sanchietti) #9

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.


(Bogdan Costin) #10

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


(Giacomo Sanchietti) #11

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


(Alessio Fattorini) #12

@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