You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2016/01/25 18:17:26 UTC
ambari git commit: AMBARI-14744. Ldap: unnecessary logging during
sync (Oliver Szabo via rlevas)
Repository: ambari
Updated Branches:
refs/heads/trunk c0b4e5528 -> 94c03505d
AMBARI-14744. Ldap: unnecessary logging during sync (Oliver Szabo via rlevas)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/94c03505
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/94c03505
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/94c03505
Branch: refs/heads/trunk
Commit: 94c03505d245fbce820603eef0dbcff7662168af
Parents: c0b4e55
Author: Oliver Szabo <os...@hortonworks.com>
Authored: Mon Jan 25 12:17:11 2016 -0500
Committer: Robert Levas <rl...@hortonworks.com>
Committed: Mon Jan 25 12:17:22 2016 -0500
----------------------------------------------------------------------
.../apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/94c03505/ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java b/ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
index 3d2685e..21492cf 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
@@ -556,6 +556,7 @@ public class AmbariLdapDataPopulator {
final LdapTemplate ldapTemplate = loadLdapTemplate();
PagedResultsDirContextProcessor processor = createPagingProcessor();
SearchControls searchControls = new SearchControls();
+ searchControls.setReturningObjFlag(true);
searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE);
LdapUserContextMapper ldapUserContextMapper = new LdapUserContextMapper(ldapServerProperties);
String encodedFilter = filter.encode();