summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/ipaldap.py
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2008-09-11 10:56:55 -0600
committerRob Crittenden <rcritten@redhat.com>2008-10-13 14:09:07 -0400
commit5a5bfa2c70a15a0be20d92fae72faefcc619d18b (patch)
treebf823efd6ed0485f2be2647934e27192ad08353e /ipa-server/ipaserver/ipaldap.py
parent2a2bc851bdccb9402ec02a08deaa4e9945925908 (diff)
downloadfreeipa-5a5bfa2c70a15a0be20d92fae72faefcc619d18b.tar.gz
freeipa-5a5bfa2c70a15a0be20d92fae72faefcc619d18b.tar.xz
freeipa-5a5bfa2c70a15a0be20d92fae72faefcc619d18b.zip
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.
Diffstat (limited to 'ipa-server/ipaserver/ipaldap.py')
-rw-r--r--ipa-server/ipaserver/ipaldap.py2
1 files changed, 2 insertions, 0 deletions
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