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-14745. Ambari server throws error when unused configs are present in blueprint (Oliver Szabo via rlevas)
Date Mon, 25 Jan 2016 16:14:47 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b2d2b72c4 -> 150eb0e92


AMBARI-14745. Ambari server throws error when unused configs are present in blueprint (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/150eb0e9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/150eb0e9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/150eb0e9

Branch: refs/heads/trunk
Commit: 150eb0e92c89efe8e2e36c88e083e6f962b9e121
Parents: b2d2b72
Author: Oliver Szabo <oszabo@hortonworks.com>
Authored: Mon Jan 25 11:14:32 2016 -0500
Committer: Robert Levas <rlevas@hortonworks.com>
Committed: Mon Jan 25 11:14:40 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/150eb0e9/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