##// END OF EJS Templates
db-models: added some helpers for auth, and external identity code.
db-models: added some helpers for auth, and external identity code.

File last commit:

r1560:ee329948 default
r3251:be2709fe default
Show More
ldap-active-directory.rst
28 lines | 926 B | text/x-rst | RstLexer
/ docs / auth / ldap-active-directory.rst
project: added all source files and assets
r1 .. _ldap-act-dir-ref:
Active Directory
----------------
|RCM| can use Microsoft Active Directory for user authentication. This is
done through an LDAP or LDAPS connection to Active Directory. Use the
following example LDAP configuration setting to set your Active Directory
authentication.
.. code-block:: ini
# Set the Base DN
Base DN = OU=SBSUsers,OU=Users,OU=MyBusiness,DC=v3sys,DC=local
# Set the Active Directory SAM-Account-Name
Login Attribute = sAMAccountName
# Set the Active Directory user name
First Name Attribute = usernameame
# Set the Active Directory user surname
Last Name Attribute = user_surname
# Set the Active Directory user email
docs: added example ldap/ad configuration inside rhodecode-auth
r1560 E-mail Attribute = userEmail
Below is example setup that can be used with Active Directory and ldap groups.
.. image:: ../images/ldap-groups-example.png
:alt: LDAP/AD setup example
:scale: 50 %