NethServer Version: 7.4
I’m kind of stuck with remote bind using service account in order to connect a range of webapplication that i don’t want to host on Nethserver also from a green network.
I can see my packet using tcpdump, i used slapd.log but still unable to get connect under SSL or STARTTLS from an out-netserver applications.
There is my example:
I want to connect a Racktables to the ldap so there it is my configuration :
# Default setting is to authenticate users locally, but it is possible to # employ existing LDAP or Apache user accounts. Check RackTables wiki for # more information, in particular, this page for LDAP configuration details: # http://wiki.racktables.org/index.php?title=LDAP $LDAP_options = array ( 'server' => 'ldap://192.168.1.1', // 'port' => '389', // 'domain' => 'directory.nh', 'search_attr' => 'uid', 'search_dn' => 'dc=directory,dc=nh', // The following credentials will be used when searching for the user's DN: // u=People,dc=directory,dc=nh 'search_bind_rdn' => 'cn=ldapservice,dc=directory,dc=nh', 'search_bind_password' => '*******************', 'displayname_attrs' => 'cn', 'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3,LDAP_OPT_DEBUG_LEVEL => 7), 'use_tls' => 1 , // 0 == don't attempt, 1 == attempt, 2 == require );
I dug my logs whitout finding any leads.
Then i get stuck so i tried to troubleshoot this by trying to setup nextcloud for the gui config.
I’m stuck also with nextcloud as event if i made anonymous bind using ldap/ldaps i can’t log with my users.
I generated a valid letsencrypt certificate in order to avoid error about tls on linux.
I feel a bit lost as it’s not my first ldap server ( i tried Zentyal whitout issue about theses settings months ago).
Could someone guide me on the right path as my main focus is to centralized lots of remote applications on the Nethserver LDAP provider.
Hope i’m clear enough in my description.