From 98f8a313201cdf2c7a2cb573c6e74de18281e2d5 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 31 Mar 2008 18:27:42 -0400 Subject: No need to use a regular expression to find the replication host 430015 --- ipa-server/ipa-install/ipa-replica-manage | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ipa-server/ipa-install') diff --git a/ipa-server/ipa-install/ipa-replica-manage b/ipa-server/ipa-install/ipa-replica-manage index 6761a0e53..dd58907c5 100644 --- a/ipa-server/ipa-install/ipa-replica-manage +++ b/ipa-server/ipa-install/ipa-replica-manage @@ -57,9 +57,7 @@ def list_masters(replman, verbose): for dn in dns: entry = replman.conn.search_s(dn, ldap.SCOPE_SUBTREE)[0] - cn = entry.cn - other = re.search("meTo([a-zA-Z\.]*)[0-9]*", cn).groups()[0] - print other + print entry.getValue('nsds5replicahost') if verbose: print " last init status: %s" % entry.nsds5replicalastinitstatus -- cgit