Module LDAP En: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 37: Line 37:
*''Install stunnel. For example, on Ubuntu:''
*''Install stunnel. For example, on Ubuntu:''


<syntaxHighlight>
<syntaxHighlight lang="bash">
sudo apt-get install stunnel4
sudo apt-get install stunnel4
</syntaxHighlight>
</syntaxHighlight>
Line 43: Line 43:
*''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)''


<syntaxHighlight>
<syntaxHighlight lang="bash">
[ldap]
[ldap]
client = yes
client = yes
Line 56: Line 56:
*Restart stunnel.
*Restart stunnel.


<syntaxHighlight>
<syntaxHighlight lang="bash">
sudo /etc/init.d/stunnel4 restart
sudo /etc/init.d/stunnel4 restart
</syntaxHighlight>
</syntaxHighlight>

Navigation menu