[pmg-devel] [PATCH pmg-gui 1/3] fix #1945: enable dns names for ldap servers on gui

Dominik Csapak d.csapak at proxmox.com
Wed Mar 13 15:17:10 CET 2019


was only available in the backend, allow it also on the gui

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/LDAPConfig.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/LDAPConfig.js b/js/LDAPConfig.js
index 172a75b..79f23f8 100644
--- a/js/LDAPConfig.js
+++ b/js/LDAPConfig.js
@@ -65,7 +65,7 @@ Ext.define('PMG.LDAPInputPanel', {
 		xtype: 'textfield',
 		fieldLabel: gettext('Server'),
 		allowBlank: false,
-		vtype: 'IP64Address',
+		vtype: 'DnsOrIp',
 		name: 'server1'
 	    },
 	    {
@@ -73,7 +73,7 @@ Ext.define('PMG.LDAPInputPanel', {
 		fieldLabel: gettext('Server'),
 		allowBlank: true,
 		deleteEmpty: me.isCreate ? false : true,
-		vtype: 'IP64Address',
+		vtype: 'DnsOrIp',
 		name: 'server2'
 	    },
 	    {
-- 
2.11.0




More information about the pmg-devel mailing list