diff options
author | Tomas Babej <tbabej@redhat.com> | 2015-09-15 11:28:18 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-09-16 17:13:42 +0200 |
commit | 73c82d00736ae032465b7e50a2ea51ad753c8093 (patch) | |
tree | 9dad94c7c56354bc51b2f75cbc3fb3f3782d1ff5 | |
parent | 60dd90cf77097cd305f9cad4b03d28f2977dd38b (diff) | |
download | freeipa-73c82d00736ae032465b7e50a2ea51ad753c8093.tar.gz freeipa-73c82d00736ae032465b7e50a2ea51ad753c8093.tar.xz freeipa-73c82d00736ae032465b7e50a2ea51ad753c8093.zip |
winsync: Add inetUser objectclass to the passsync sysaccount
https://bugzilla.redhat.com/show_bug.cgi?id=1262315
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r-- | install/updates/73-winsync.update | 3 | ||||
-rw-r--r-- | install/updates/Makefile.am | 1 | ||||
-rw-r--r-- | ipaserver/install/replication.py | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/install/updates/73-winsync.update b/install/updates/73-winsync.update new file mode 100644 index 000000000..538eaa1cb --- /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/install/updates/Makefile.am b/install/updates/Makefile.am index 2693e4f8f..1f4a91c9b 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -51,6 +51,7 @@ app_DATA = \ 62-ranges.update \ 71-idviews.update \ 72-domainlevels.update \ + 73-winsync.update \ 90-post_upgrade_plugins.update \ $(NULL) diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index aa2edd172..173f9696d 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -567,7 +567,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], ) |