ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject ambari git commit: AMBARI-14744. Ldap: unnecessary logging during sync (Oliver Szabo via rlevas)
Date Mon, 25 Jan 2016 17:17:26 GMT
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 <oszabo@hortonworks.com>
Authored: Mon Jan 25 12:17:11 2016 -0500
Committer: Robert Levas <rlevas@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();


Mime
View raw message