Author: jsuchome Date: Thu Jan 15 14:46:41 2009 New Revision: 54645 URL: http://svn.opensuse.org/viewcvs/yast?rev=54645&view=rev Log: - show port in the server field, read the data if there were not read yet (patch from L3 team, bnc#464203) Modified: trunk/ldap-client/package/yast2-ldap-client.changes trunk/ldap-client/src/Ldap.ycp Modified: trunk/ldap-client/package/yast2-ldap-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/package/yast2-ldap-client.changes?rev=54645&r1=54644&r2=54645&view=diff ============================================================================== --- trunk/ldap-client/package/yast2-ldap-client.changes (original) +++ trunk/ldap-client/package/yast2-ldap-client.changes Thu Jan 15 14:46:41 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jan 15 14:45:54 CET 2009 - jsuchome@suse.cz + +- show port in the server field, read the data if there were + not read yet (patch from L3 team, bnc#464203) + +------------------------------------------------------------------- Wed Jan 14 15:38:41 CET 2009 - jsuchome@suse.cz - no exit confirmation popup if no changes were made (bnc#460161) Modified: trunk/ldap-client/src/Ldap.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/src/Ldap.ycp?rev=54645&r1=54644&r2=54645&view=diff ============================================================================== --- trunk/ldap-client/src/Ldap.ycp (original) +++ trunk/ldap-client/src/Ldap.ycp Thu Jan 15 14:46:41 2009 @@ -945,6 +945,12 @@ // this is a hack global define integer GetFirstPort (string servers) ``{ + if (bind_pass == nil && servers == "") + { + y2milestone ("--- server not read yet or empty, reading now"); + servers = ReadLdapConfEntry ("host", ""); + } + list l_servers = splitstring (servers, " \t"); string srv = l_servers[0]:""; if (!issubstring (srv, ":")) @@ -1122,7 +1128,8 @@ // password entering label `Password(`id(`pw), `opt (`hstretch), _("&LDAP Server Password")), // label - `Label (sformat (_("Server: %1"), GetFirstServer (server))), + `Label (sformat (_("Server: %1:%2"), + GetFirstServer (server), GetFirstPort (server))), // label (%1 is admin DN - string) `Label (sformat (_("Administrator: %1"), GetBindDN ())), `HBox( -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org