diff --git a/general/auth.rst b/general/auth.rst index 7f9055ab2..e84d90b98 100644 --- a/general/auth.rst +++ b/general/auth.rst @@ -6,4 +6,6 @@ Authentication :titlesonly: auth/google - auth/azure \ No newline at end of file + auth/azure + auth/ldap + diff --git a/general/auth/ldap.rst b/general/auth/ldap.rst new file mode 100644 index 000000000..cdabd8335 --- /dev/null +++ b/general/auth/ldap.rst @@ -0,0 +1,44 @@ +======================================= +How to allow users to sign in with LDAP +======================================= + +- Install the LDAP module in General Settings. + +- Click on **Create** in Setup your LDAP Server. + +.. image:: media/ldap01.png + :align: center + +.. image:: media/ldap02.png + :align: center + +- Choose the company about to use the LDAP. + +.. image:: media/ldap03.png + :align: center + +- In **Server Information**, enter the IP address of your server and the port it listens to. + +- Tick **User TLS** if your server is compatible. + +.. image:: media/ldap04.png + :align: center + +- In **Login Information**, enter ID and password of the account used to query the server. If left empty, the server will be queried anonymously. + +.. image:: media/ldap05.png + :align: center + +- In **Process Parameter**, enter the domain name of your LDAP server in LDAP nomenclature (e.g. ``dc=example,dc=com``). + +- In **LDAP filter**, enter ``uid=%s`` + +.. image:: media/ldap06.png + :align: center + +- In **User Information**, tick *Create User* if you want Odoo to create a User profile the first time someone log in with LDAP. + +- In **Template User**, indicate a template for the new profiles created. If left blanked, the admin profile will be used as template. + +.. image:: media/ldap07.png + :align: center diff --git a/general/auth/media/ldap01.png b/general/auth/media/ldap01.png new file mode 100644 index 000000000..6dc4354bd Binary files /dev/null and b/general/auth/media/ldap01.png differ diff --git a/general/auth/media/ldap02.png b/general/auth/media/ldap02.png new file mode 100644 index 000000000..7e65eb5e1 Binary files /dev/null and b/general/auth/media/ldap02.png differ diff --git a/general/auth/media/ldap03.png b/general/auth/media/ldap03.png new file mode 100644 index 000000000..93482c002 Binary files /dev/null and b/general/auth/media/ldap03.png differ diff --git a/general/auth/media/ldap04.png b/general/auth/media/ldap04.png new file mode 100644 index 000000000..7199e9a2c Binary files /dev/null and b/general/auth/media/ldap04.png differ diff --git a/general/auth/media/ldap05.png b/general/auth/media/ldap05.png new file mode 100644 index 000000000..f80e9cd40 Binary files /dev/null and b/general/auth/media/ldap05.png differ diff --git a/general/auth/media/ldap06.png b/general/auth/media/ldap06.png new file mode 100644 index 000000000..b652747af Binary files /dev/null and b/general/auth/media/ldap06.png differ diff --git a/general/auth/media/ldap07.png b/general/auth/media/ldap07.png new file mode 100644 index 000000000..045f07472 Binary files /dev/null and b/general/auth/media/ldap07.png differ