LDAP CONFIGURATION on 4.1.3

  • Hello, I´m trying to configure OMV to access my Active Directory server but all the tutorial are old. I follow the first entry: (LDAP Plugin)


    I need the groups and user from windows active directory appears in the user and groups in OMV to set permissions on folders.


    Some help? Thanks.

    • Offizieller Beitrag

    The plugin is quite old and there is newer technology available. Maybe someone will write a plugin someday. Here is how I do it. https://forum.openmediavault.o…Directory-LDAP-Revisited/. There is a script there. It uses sssd which takes some of the guess work out of it. I keep thinking I will rewrite it but never get around to it. I have done it on 3.x and 4.x with 2008 and 2012, others on 2016.


    There is also this https://forum.openmediavault.o…-Active-Directory-domain/ for another opinion.

  • Hi man I have an LDAP (openLDAP) and I'm in the same situation I have just tested the old suggested link and..... no connection for me.
    Before I have tested https://www.openmediavault.org/?p=782


    I have tested the connection to LDAP and it is


    - Browseable
    - Administrable


    I have tested with a lot of tool to be sure that all give the same result


    1)LDAP ADMIN http://www.ldapadmin.org/
    2)Ldap admin softerra https://www.ldapadministrator.com/
    3)Apache directory studio http://directory.apache.org/studio
    4)JXplorer http://jxplorer.org


    Now the connection param


    I have this structure under my LDAP and it can be explored anonymously or with password and edit option is enabled.



    >dc=directory,dc=nh
    ->ou=Groups
    -->cn= domain admins
    -->cn=locales
    ->ou=People
    -->uid=admin
    -->uid=user1
    ->cn=ldapservice
    ->cn=libuser


    So for connection I have to put


    Host: 192.168.2.78
    Port: 636
    Version: 3
    Base: dc=directory,dc=nh
    Authentication:SSL
    Username: uid=admin,ou=people,dc=directory,dc=nh
    Password: the admin password


    Under OMV i have also added


    ou=People and ou=Groups


    I Try it in a clean machine.


    I save and apply
    Go under user .... no user listed


    go under Logs



    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: could not connect to any LDAP server as cn=ldapserviceu,dc=directory,dc=nh - Can't contact LDAP server
    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: failed to bind to LDAP server ldaps://192.168.2.78:636: Can't contact LDAP server
    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: could not search LDAP server - Server is unavailable
    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: could not connect to any LDAP server as cn=ldapserviceu,dc=directory,dc=nh - Can't contact LDAP server
    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: failed to bind to LDAP server ldaps://192.168.2.78:636: Can't contact LDAP server
    Apr 19 17:09:40 openmediavault aster process (/etc/php/7.0/fpm/php-fpm.conf): nss_ldap: could not search LDAP server - Server is unavaila




    So i'm stuck is there also a solution for ldap users

    • Offizieller Beitrag

    I am not using openldap but I think you should start your own thread. That said I have been avoiding the plugin for years. There are two newer packages that help a lot, sssd and realmd. sssd works fine on windows for me. realmd may also work. For other solutions realmd may work better. The links in my post above show both methods.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!