| | |
| | | } |
| | | } |
| | | } |
| | | String bindDn = conn.getBindDn().toString(); |
| | | DN bindDn = conn.getBindDn(); |
| | | String pwd = conn.getBindPassword(); |
| | | for (ServerDescriptor s : serversToUpdate) |
| | | { |
| | |
| | | * configuration. |
| | | */ |
| | | private void removeReferencesInServer(ServerDescriptor server, |
| | | String replicationServer, String bindDn, String pwd, |
| | | String replicationServer, DN bindDn, String pwd, |
| | | Collection<String> baseDNs, boolean updateReplicationServers, |
| | | Set<PreferredConnection> cnx) |
| | | throws ReplicationCliException |
| | |
| | | |
| | | private ConnectionWrapper getConnection(TopologyCache cache, ServerDescriptor server) throws NamingException |
| | | { |
| | | String dn = getBindDN(cache.getAdsContext().getDirContext()); |
| | | String pwd = getBindPassword(cache.getAdsContext().getDirContext()); |
| | | ConnectionWrapper conn = cache.getAdsContext().getConnection(); |
| | | DN dn = conn.getBindDn(); |
| | | String pwd = conn.getBindPassword(); |
| | | TopologyCacheFilter filter = new TopologyCacheFilter(); |
| | | filter.setSearchMonitoringInformation(false); |
| | | filter.setSearchBaseDNInformation(false); |