Skip to content

Commit

Permalink
HPCC-28546 OUs created with Authenticated Users access rights
Browse files Browse the repository at this point in the history
Removed Authenticated Users access rights for OUs when created

Signed-Off-By: Kenneth Rowland [email protected]
  • Loading branch information
kenrowland committed Jul 24, 2024
1 parent d081e53 commit 6eb5b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/security/LdapSecurity/ldapconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1671,8 +1671,8 @@ class CLdapClient : implements ILdapClient, public CInterface
//Create base LDAP OU tree. Specify PT_ADMINISTRATORS_ONLY to ensure each OU
//grants access to Administrators only
createLdapBasedn(NULL, m_ldapconfig->getResourceBasedn(RT_DEFAULT), PT_ADMINISTRATORS_ONLY, nullptr);
createLdapBasedn(NULL, m_ldapconfig->getResourceBasedn(RT_FILE_SCOPE), PT_DEFAULT, nullptr);
createLdapBasedn(NULL, m_ldapconfig->getResourceBasedn(RT_WORKUNIT_SCOPE), PT_DEFAULT, nullptr);
createLdapBasedn(NULL, m_ldapconfig->getResourceBasedn(RT_FILE_SCOPE), PT_ADMINISTRATORS_ONLY, nullptr);
createLdapBasedn(NULL, m_ldapconfig->getResourceBasedn(RT_WORKUNIT_SCOPE), PT_ADMINISTRATORS_ONLY, nullptr);

createLdapBasedn(NULL, m_ldapconfig->getUserBasedn(), PT_ADMINISTRATORS_ONLY, nullptr);
createLdapBasedn(NULL, m_ldapconfig->getGroupBasedn(), PT_ADMINISTRATORS_ONLY, nullptr);
Expand Down

0 comments on commit 6eb5b91

Please sign in to comment.