From 5a5bfa2c70a15a0be20d92fae72faefcc619d18b Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 11 Sep 2008 10:56:55 -0600 Subject: Added support to IPA server install to install the winsync plugin configuration entry Added support to ipa-replica-manage to add winsync agreements. I mostly used the existing code for setting up replication agreements since replication and winsync are quite similar in their configuration. I just had to add some extra attributes to the sync agreement configuration. The tricky part was importing the Windows CA cert. --- ipa-server/ipaserver/ipaldap.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipa-server/ipaserver/ipaldap.py') diff --git a/ipa-server/ipaserver/ipaldap.py b/ipa-server/ipaserver/ipaldap.py index 3006d479..c2dbe4e2 100644 --- a/ipa-server/ipaserver/ipaldap.py +++ b/ipa-server/ipaserver/ipaldap.py @@ -243,6 +243,8 @@ class IPAdmin(SimpleLDAPObject): self.dbdir = os.path.dirname(ent.getValue('nsslapd-directory')) except (ldap.INSUFFICIENT_ACCESS, ldap.CONNECT_ERROR): pass # usually means + except ldap.OPERATIONS_ERROR, e: + pass # usually means this is Active Directory except ldap.LDAPError, e: print "caught exception ", e raise -- cgit