Module LDAP En: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 34: Line 34:
If you need to use Google LDAP, you may need to install STunnel on a server to use a client LDAP certificate when connecting to Google LDAP. Dolibarr will connect to this server and stunnel will connect to Google using the required LDAP client certificate:
If you need to use Google LDAP, you may need to install STunnel on a server to use a client LDAP certificate when connecting to Google LDAP. Dolibarr will connect to this server and stunnel will connect to Google using the required LDAP client certificate:


* ''Install stunnel. For example, on Ubuntu:<code>$  sudo apt-get install stunnel4</code>''
* ''Install stunnel. For example, on Ubuntu:
 
<syntaxHighlight>
sudo apt-get install stunnel4
</syntaxHighlight>


* ''Create a configuration file /etc/stunnel/google-ldap.conf (that will contain the location of the certificates) with the following contents (assuming ldap-client.crt is the cert, and ldap-client.key is the key)
* ''Create a configuration file /etc/stunnel/google-ldap.conf (that will contain the location of the certificates) with the following contents (assuming ldap-client.crt is the cert, and ldap-client.key is the key)