Hello community,
here is the log from the commit of package yast2-ldap-client
checked in at Fri Mar 31 16:00:33 CEST 2006.
--------
--- yast2-ldap-client/yast2-ldap-client.changes 2006-03-09 13:02:39.000000000 +0100
+++ yast2-ldap-client/yast2-ldap-client.changes 2006-03-31 15:27:54.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Mar 31 15:09:40 CEST 2006 - jsuchome@suse.cz
+
+- restrict the set of characters allowed for host names (#159741)
+- 2.13.11
+
+-------------------------------------------------------------------
Old:
----
yast2-ldap-client-2.13.10.tar.bz2
New:
----
yast2-ldap-client-2.13.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.fLjZKF/_old 2006-03-31 16:00:09.000000000 +0200
+++ /var/tmp/diff_new_pack.fLjZKF/_new 2006-03-31 16:00:09.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ldap-client (Version 2.13.10)
+# spec file for package yast2-ldap-client (Version 2.13.11)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-ldap-client
-Version: 2.13.10
+Version: 2.13.11
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ldap-client-2.13.10.tar.bz2
+Source0: yast2-ldap-client-2.13.11.tar.bz2
prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-pam yast2-testsuite
PreReq: %fillup_prereq
@@ -40,7 +40,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-ldap-client-2.13.10
+%setup -n yast2-ldap-client-2.13.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -79,6 +79,9 @@
/var/adm/fillup-templates/sysconfig.ldap
%changelog -n yast2-ldap-client
+* Fri Mar 31 2006 - jsuchome@suse.cz
+- restrict the set of characters allowed for host names (#159741)
+- 2.13.11
* Thu Mar 09 2006 - jsuchome@suse.cz
- merged proofread texts
- 2.13.10
++++++ yast2-ldap-client-2.13.10.tar.bz2 -> yast2-ldap-client-2.13.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.13.10/VERSION new/yast2-ldap-client-2.13.11/VERSION
--- old/yast2-ldap-client-2.13.10/VERSION 2006-03-09 12:42:07.000000000 +0100
+++ new/yast2-ldap-client-2.13.11/VERSION 2006-03-31 15:10:44.000000000 +0200
@@ -1 +1 @@
-2.13.10
+2.13.11
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.13.10/src/ui.ycp new/yast2-ldap-client-2.13.11/src/ui.ycp
--- old/yast2-ldap-client-2.13.10/src/ui.ycp 2006-03-09 12:41:42.000000000 +0100
+++ new/yast2-ldap-client-2.13.11/src/ui.ycp 2006-03-31 15:09:20.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Thorsten Kukuk
* Anas Nashif
*
- * $Id: ui.ycp 27499 2006-01-31 14:55:27Z jsuchome $
+ * $Id: ui.ycp 28750 2006-03-09 12:02:57Z jsuchome $
*
* All user interface functions.
*/
@@ -25,6 +25,7 @@
import "Service";
import "SLP";
import "Stage";
+ import "String";
import "Wizard";
include "ldap/routines.ycp";
@@ -103,12 +104,13 @@
list items = [];
foreach (map service, SLP::FindSrvs ("service:ldap", ""), {
- string s = service["pcHost"]:service["srvurl"]:"";
+ string s = service["pcHost"]:"";
/* TODO take address+port from url
if (service["pcHost"]:"" == "")
s = service["srvurl"]:"";
*/
- items = add (items, s);
+ if (s != "")
+ items = add (items, s);
});
UI::CloseDialog ();
UI::OpenDialog (`VBox(
@@ -288,6 +290,7 @@
{
UI::ChangeWidget (`id (`ldapno), `Enabled, false);
}
+ UI::ChangeWidget (`id(`ldapa), `ValidChars, String::CAlnum() + ": .");
symbol result = `not_next;
do {
@@ -534,7 +537,6 @@
string base_config_dn = Ldap::GetMainConfigDN();
boolean create_ldap = Ldap::create_ldap;
boolean append_base = (bind_dn != "" && find (bind_dn, base_dn) > -1);
-
string nss_base_passwd = Ldap::nss_base_passwd;
string nss_base_shadow = Ldap::nss_base_shadow;
string nss_base_group = Ldap::nss_base_group;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...