##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1560:ee329948 default
r2791:27d869d5 stable
Show More
ldap-active-directory.rst
28 lines | 926 B | text/x-rst | RstLexer
/ docs / auth / ldap-active-directory.rst

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.

# 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
E-mail Attribute     = userEmail

Below is example setup that can be used with Active Directory and ldap groups.

LDAP/AD setup example