Hi,

attached patch fixes:

https://bugzilla.redhat.com/show_bug.cgi?id=1262315

Tomas
From 33efad1eb25402fe802a7584870755215f0bfa14 Mon Sep 17 00:00:00 2001
From: Tomas Babej <tba...@redhat.com>
Date: Tue, 15 Sep 2015 11:28:18 +0200
Subject: [PATCH] winsync: Add inetUser objectclass to the passsync sysaccount

https://bugzilla.redhat.com/show_bug.cgi?id=1262315
---
 install/updates/73-winsync.update | 3 +++
 ipaserver/install/replication.py  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 install/updates/73-winsync.update

diff --git a/install/updates/73-winsync.update b/install/updates/73-winsync.update
new file mode 100644
index 0000000000000000000000000000000000000000..538eaa1cb6f97a73bfaadd61ac2ce9e9137739cf
--- /dev/null
+++ b/install/updates/73-winsync.update
@@ -0,0 +1,3 @@
+# Add a inetUser objectclass to the passsync user
+dn: uid=passsync,cn=sysaccounts,cn=etc,$SUFFIX
+addifexist: objectClass: inetUser
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
index 2b36a5eb9287bf1789009a3198e540e333869e98..4bd3849e5e91c7251856362891f6c8848da43448 100644
--- a/ipaserver/install/replication.py
+++ b/ipaserver/install/replication.py
@@ -565,7 +565,7 @@ class ReplicationManager(object):
             print "Adding Windows PassSync system account"
             entry = conn.make_entry(
                 pass_dn,
-                objectclass=["account", "simplesecurityobject"],
+                objectclass=["account", "simplesecurityobject", "inetUser"],
                 uid=["passsync"],
                 userPassword=[password],
             )
-- 
2.1.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to