URL: https://github.com/freeipa/freeipa/pull/577
Author: pvomacka
 Title: #577: WebUI: Add support for AD users short name resolution
Action: opened

PR body:
"""
https://pagure.io/freeipa/issue/6372
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/577/head:pr577
git checkout pr577
From 46c9354a67431bf69eabc55829d000a6bc1b4f5c Mon Sep 17 00:00:00 2001
From: Pavel Vomacka <pvoma...@redhat.com>
Date: Mon, 13 Mar 2017 17:30:57 +0100
Subject: [PATCH] WebUI: Add support for AD users short name resolution

https://pagure.io/freeipa/issue/6372
---
 install/ui/src/freeipa/idviews.js      | 2 ++
 install/ui/src/freeipa/serverconfig.js | 7 +++++++
 ipaserver/plugins/internal.py          | 1 +
 3 files changed, 10 insertions(+)

diff --git a/install/ui/src/freeipa/idviews.js b/install/ui/src/freeipa/idviews.js
index 25c043c..f856385 100644
--- a/install/ui/src/freeipa/idviews.js
+++ b/install/ui/src/freeipa/idviews.js
@@ -205,6 +205,7 @@ return {
     adder_dialog: {
         fields: [
             'cn',
+            'ipadomainresolutionorder',
             {
                 $type: 'textarea',
                 name: 'description'
@@ -266,6 +267,7 @@ return {
                         'gidnumber',
                         'loginshell',
                         'homedirectory',
+                        'ipadomainresolutionorder',
                         {
                             $type: 'sshkeys',
                             name: 'ipasshpubkey',
diff --git a/install/ui/src/freeipa/serverconfig.js b/install/ui/src/freeipa/serverconfig.js
index 2bc4e88..beb7744 100644
--- a/install/ui/src/freeipa/serverconfig.js
+++ b/install/ui/src/freeipa/serverconfig.js
@@ -106,6 +106,13 @@ return {
                     ]
                 },
                 {
+                    name: 'aduser',
+                    label: '@i18n:objects.config.aduser',
+                    fields: [
+                        'ipadomainresolutionorder'
+                    ]
+                },
+                {
                     name: 'group',
                     label: '@i18n:objects.config.group',
                     fields: [
diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py
index 5e70a79..c2fe741 100644
--- a/ipaserver/plugins/internal.py
+++ b/ipaserver/plugins/internal.py
@@ -493,6 +493,7 @@ class i18n_messages(Command):
                 "version": _("Version"),
             },
             "config": {
+                "aduser": _("AD User Options"),
                 "group": _("Group Options"),
                 "search": _("Search Options"),
                 "selinux": _("SELinux Options"),
-- 
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