|
|
590d18 |
From e2c2bd871a0282628364dcb83d1feba44c5f71dc Mon Sep 17 00:00:00 2001
|
|
|
590d18 |
From: Tomas Babej <tbabej@redhat.com>
|
|
|
590d18 |
Date: Tue, 15 Sep 2015 11:28:18 +0200
|
|
|
590d18 |
Subject: [PATCH] winsync: Add inetUser objectclass to the passsync sysaccount
|
|
|
590d18 |
|
|
|
590d18 |
https://bugzilla.redhat.com/show_bug.cgi?id=1262315
|
|
|
590d18 |
|
|
|
590d18 |
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
|
|
|
590d18 |
---
|
|
|
590d18 |
install/updates/73-winsync.update | 3 +++
|
|
|
590d18 |
install/updates/Makefile.am | 1 +
|
|
|
590d18 |
ipaserver/install/replication.py | 2 +-
|
|
|
590d18 |
3 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
590d18 |
create mode 100644 install/updates/73-winsync.update
|
|
|
590d18 |
|
|
|
590d18 |
diff --git a/install/updates/73-winsync.update b/install/updates/73-winsync.update
|
|
|
590d18 |
new file mode 100644
|
|
|
590d18 |
index 0000000000000000000000000000000000000000..538eaa1cb6f97a73bfaadd61ac2ce9e9137739cf
|
|
|
590d18 |
--- /dev/null
|
|
|
590d18 |
+++ b/install/updates/73-winsync.update
|
|
|
590d18 |
@@ -0,0 +1,3 @@
|
|
|
590d18 |
+# Add a inetUser objectclass to the passsync user
|
|
|
590d18 |
+dn: uid=passsync,cn=sysaccounts,cn=etc,$SUFFIX
|
|
|
590d18 |
+addifexist: objectClass: inetUser
|
|
|
590d18 |
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
|
|
|
590d18 |
index 2693e4f8f81dc1464a43041e5104ea4363440933..1f4a91c9bb4222f99ad7a7ad16e376aeef7f525b 100644
|
|
|
590d18 |
--- a/install/updates/Makefile.am
|
|
|
590d18 |
+++ b/install/updates/Makefile.am
|
|
|
590d18 |
@@ -51,6 +51,7 @@ app_DATA = \
|
|
|
590d18 |
62-ranges.update \
|
|
|
590d18 |
71-idviews.update \
|
|
|
590d18 |
72-domainlevels.update \
|
|
|
590d18 |
+ 73-winsync.update \
|
|
|
590d18 |
90-post_upgrade_plugins.update \
|
|
|
590d18 |
$(NULL)
|
|
|
590d18 |
|
|
|
590d18 |
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
|
|
|
590d18 |
index 2b36a5eb9287bf1789009a3198e540e333869e98..4bd3849e5e91c7251856362891f6c8848da43448 100644
|
|
|
590d18 |
--- a/ipaserver/install/replication.py
|
|
|
590d18 |
+++ b/ipaserver/install/replication.py
|
|
|
590d18 |
@@ -565,7 +565,7 @@ class ReplicationManager(object):
|
|
|
590d18 |
print "Adding Windows PassSync system account"
|
|
|
590d18 |
entry = conn.make_entry(
|
|
|
590d18 |
pass_dn,
|
|
|
590d18 |
- objectclass=["account", "simplesecurityobject"],
|
|
|
590d18 |
+ objectclass=["account", "simplesecurityobject", "inetUser"],
|
|
|
590d18 |
uid=["passsync"],
|
|
|
590d18 |
userPassword=[password],
|
|
|
590d18 |
)
|
|
|
590d18 |
--
|
|
|
590d18 |
2.4.3
|
|
|
590d18 |
|