Hello community,
here is the log from the commit of package yast2-ldap-client
checked in at Wed Feb 20 16:29:26 CET 2008.
--------
--- yast2-ldap-client/yast2-ldap-client.changes 2008-02-07 07:53:49.000000000 +0100
+++ /mounts/work_src_done/NOARCH/yast2-ldap-client/yast2-ldap-client.changes 2008-02-20 16:15:44.578318000 +0100
@@ -1,0 +2,12 @@
+Wed Feb 20 16:13:58 CET 2008 - jsuchome@suse.cz
+
+- allow more spaces as host name separators (bnc#362946)
+- 2.16.9
+
+-------------------------------------------------------------------
+Tue Feb 19 15:13:42 CET 2008 - jsuchome@suse.cz
+
+- do not export nss_base_* when they are same as base DN (#362120)
+- 2.16.8
+
+-------------------------------------------------------------------
Old:
----
yast2-ldap-client-2.16.7.tar.bz2
New:
----
yast2-ldap-client-2.16.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.G10532/_old 2008-02-20 16:29:19.000000000 +0100
+++ /var/tmp/diff_new_pack.G10532/_new 2008-02-20 16:29:19.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ldap-client (Version 2.16.7)
+# spec file for package yast2-ldap-client (Version 2.16.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -10,13 +10,14 @@
# norootforbuild
+
Name: yast2-ldap-client
-Version: 2.16.7
+Version: 2.16.9
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ldap-client-2.16.7.tar.bz2
+Source0: yast2-ldap-client-2.16.9.tar.bz2
Prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-network yast2-pam yast2-testsuite
PreReq: %fillup_prereq
@@ -46,7 +47,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-ldap-client-2.16.7
+%setup -n yast2-ldap-client-2.16.9
%build
%{prefix}/bin/y2tool y2autoconf
@@ -86,6 +87,12 @@
%doc %{prefix}/share/doc/packages/yast2-ldap-client
/var/adm/fillup-templates/sysconfig.ldap
%changelog
+* Wed Feb 20 2008 jsuchome@suse.cz
+- allow more spaces as host name separators (bnc#362946)
+- 2.16.9
+* Tue Feb 19 2008 jsuchome@suse.cz
+- do not export nss_base_* when they are same as base DN (#362120)
+- 2.16.8
* Thu Feb 07 2008 jsuchome@suse.cz
- enable setting TLS status for LDAP browser (bnc#329779)
- 2.16.7
++++++ yast2-ldap-client-2.16.7.tar.bz2 -> yast2-ldap-client-2.16.9.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/agents/Makefile.am new/yast2-ldap-client-2.16.9/agents/Makefile.am
--- old/yast2-ldap-client-2.16.7/agents/Makefile.am 2005-09-08 10:36:24.000000000 +0200
+++ new/yast2-ldap-client-2.16.9/agents/Makefile.am 2008-02-18 10:49:29.000000000 +0100
@@ -1,7 +1,7 @@
#
# Makefile.am for y2c_ldap_client/agents
#
-# $Id: Makefile.am 10923 2003-08-06 15:58:51Z jsuchome $
+# $Id: Makefile.am 44572 2008-02-18 09:39:48Z mvidner $
#
scrconf_DATA = ldap_conf.scr \
@@ -9,6 +9,4 @@
fillup_DATA = sysconfig.ldap
-fillupdir = /var/adm/fillup-templates
-
EXTRA_DIST = $(scrconf_DATA) $(fillup_DATA)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/doc/autodocs/Makefile.am new/yast2-ldap-client-2.16.9/doc/autodocs/Makefile.am
--- old/yast2-ldap-client-2.16.7/doc/autodocs/Makefile.am 2005-09-08 10:36:25.000000000 +0200
+++ new/yast2-ldap-client-2.16.9/doc/autodocs/Makefile.am 2008-02-18 10:49:29.000000000 +0100
@@ -1,9 +1,3 @@
# Makefile.am for YCP module .../doc/autodocs
-htmldir = @docdir@/autodocs
-
-html_DATA = index.html $(wildcard *.html)
-CLEANFILES = $(html_DATA)
-
-index.html: $(srcdir)/../../src/*.ycp
- ${YCPDOC} -d. $(srcdir)/../../src/*.ycp
+include $(top_srcdir)/autodocs-ycp.ami
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/src/ldap_browser.ycp new/yast2-ldap-client-2.16.9/src/ldap_browser.ycp
--- old/yast2-ldap-client-2.16.7/src/ldap_browser.ycp 2008-02-07 07:29:17.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/src/ldap_browser.ycp 2008-02-07 07:54:03.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Simple browser and editor of LDAP tree
* Author: Jiri Suchomel
*
- * $Id: ldap_browser.ycp 43755 2008-01-21 09:30:16Z jsuchome $
+ * $Id: ldap_browser.ycp 44218 2008-02-07 06:54:02Z jsuchome $
*
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/src/Ldap.ycp new/yast2-ldap-client-2.16.9/src/Ldap.ycp
--- old/yast2-ldap-client-2.16.7/src/Ldap.ycp 2007-12-03 15:07:07.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/src/Ldap.ycp 2008-02-19 15:42:52.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Thorsten Kukuk
* Anas Nashif
*
- * $Id: Ldap.ycp 42205 2007-11-20 10:27:03Z jsuchome $
+ * $Id: Ldap.ycp 44643 2008-02-19 14:42:51Z jsuchome $
*/
{
@@ -423,14 +423,17 @@
"bind_dn" : bind_dn,
"file_server" : file_server,
"base_config_dn" : base_config_dn,
- "nss_base_passwd" : nss_base_passwd,
- "nss_base_shadow" : nss_base_shadow,
- "nss_base_group" : nss_base_group,
"pam_password" : pam_password,
"member_attribute" : member_attribute,
"create_ldap" : create_ldap,
"login_enabled" : login_enabled
];
+ if (nss_base_passwd != base_dn)
+ e["nss_base_passwd"] = nss_base_passwd;
+ if (nss_base_shadow != base_dn)
+ e["nss_base_shadow"] = nss_base_shadow;
+ if (nss_base_group != base_dn)
+ e["nss_base_group"] = nss_base_group;
if (_autofs_allowed)
e["start_autofs"] = _start_autofs;
return e;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/src/ui.ycp new/yast2-ldap-client-2.16.9/src/ui.ycp
--- old/yast2-ldap-client-2.16.7/src/ui.ycp 2007-12-10 16:29:45.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/src/ui.ycp 2008-02-20 11:21:27.000000000 +0100
@@ -98,6 +98,7 @@
boolean ret = true;
foreach (string server, splitstring (servers, " \t"), {
+ if (server == "") return;
if (issubstring (server, ":"))
{
integer pos = search (server, ":");
@@ -389,7 +390,7 @@
continue;
}
- if (server == "")
+ if (server == "" || deletechars (server, " \t") == "")
{
// error popup label
Report::Error(_("Enter at least one address of an LDAP server."));
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/testsuite/tests/Export.out new/yast2-ldap-client-2.16.9/testsuite/tests/Export.out
--- old/yast2-ldap-client-2.16.7/testsuite/tests/Export.out 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/testsuite/tests/Export.out 2008-02-19 15:37:26.000000000 +0100
@@ -0,0 +1,18 @@
+Dump ==== reading... ============================
+Read .etc.ldap_conf.v."/etc/ldap.conf"."host" "localhost"
+Read .etc.ldap_conf.v."/etc/ldap.conf"."base" "dc=suse,dc=cz"
+Read .etc.ldap_conf.v."/etc/ldap.conf"."ldap_version" nil
+Read .etc.ldap_conf.v."/etc/ldap.conf"."ssl" nil
+Read .etc.ldap_conf.v."/etc/ldap.conf"."nss_base_passwd" nil
+Read .etc.ldap_conf.v."/etc/ldap.conf"."nss_base_shadow" nil
+Read .etc.ldap_conf.v."/etc/ldap.conf"."nss_base_group" "ou=group,dc=suse,dc=cz"
+Read .etc.ldap_conf.v."/etc/ldap.conf"."pam_password" "crypt"
+Read .sysconfig.ldap.BASE_CONFIG_DN nil
+Read .sysconfig.ldap.FILE_SERVER "no"
+Read .sysconfig.ldap.BIND_DN "uid=manager,dc=suse,dc=cz"
+Read .etc.ldap_conf.v."/etc/ldap.conf"."nss_map_attribute" 0
+Execute .passwd.init $["base_directory":"/etc"] true
+Read .passwd.passwd.pluslines ["+"]
+Return true
+Dump ============================================
+Return $["base_config_dn":"", "bind_dn":"uid=manager,dc=suse,dc=cz", "create_ldap":false, "file_server":false, "ldap_domain":"dc=suse,dc=cz", "ldap_server":"localhost", "ldap_tls":false, "ldap_v2":false, "login_enabled":true, "member_attribute":"member", "nss_base_group":"ou=group,dc=suse,dc=cz", "pam_password":"crypt", "start_autofs":false, "start_ldap":true]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/testsuite/tests/Export.ycp new/yast2-ldap-client-2.16.9/testsuite/tests/Export.ycp
--- old/yast2-ldap-client-2.16.7/testsuite/tests/Export.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/testsuite/tests/Export.ycp 2008-02-19 15:42:52.000000000 +0100
@@ -0,0 +1,97 @@
+/**
+ * Read.ycp
+ * Test of Ldap:Read function
+ * Author: Jiri Suchomel
+ * $Id: Export.ycp 44643 2008-02-19 14:42:51Z jsuchome $
+ */
+
+{
+
+ include "testsuite.ycp";
+ // testedfiles: Ldap.ycp
+
+ map READ = $[
+ "etc": $[
+ "nsswitch_conf" : $[
+ "passwd" : "compat",
+ "group" : "compat",
+ "passwd_compat": "ldap",
+ "group_compat": "ldap",
+ ],
+ "ldap_conf" : $[
+ "v" : $[
+ "/etc/ldap.conf": $[
+ "host" : "localhost",
+ "base" : "dc=suse,dc=cz",
+ "nss_base_passwd" : nil,
+ "nss_base_shadow" : nil,
+ "nss_base_group" : "ou=group,dc=suse,dc=cz",
+ "ldap_version": nil,
+ "ssl": nil,
+ "pam_password": "crypt",
+ ]
+ ]
+ ],
+ // /etc/security/pam_*
+ "security": $[
+ "section": $[
+ "/etc/security/pam_unix2.conf": $[],
+ ],
+ "v": $[
+ "/etc/security/pam_unix2.conf": $[
+ "auth" : ""
+ ],
+ ]
+ ],
+ ],
+ "sysconfig": $[
+ "ldap": $[
+ "BASE_CONFIG_DN": nil,
+ "BIND_DN": "uid=manager,dc=suse,dc=cz",
+ "FILE_SERVER": "no"
+ ]
+ ],
+ "init": $[
+ "scripts": $[
+ "exists": false,
+ ],
+ ],
+ "passwd": $[
+ "passwd": $[
+ "plusline": "+",
+ "pluslines": ["+"]
+ ]
+ ],
+ "product" : $[ "features" :
+ $[ "EVMS_CONFIG" : "nazdar" ],
+ ],
+ "target" : $[
+ "size" : -1,
+ "stat" : $[],
+ ],
+ ];
+
+ map EX = $[
+ "target": $[
+ "bash": 0,
+ "bash_output": $[
+ "stdout" : "",
+ ]
+ ],
+ "passwd": $[
+ "init": true
+ ]
+ ];
+ TESTSUITE_INIT([READ,$[],$[]], nil);
+
+ import "Ldap";
+
+ DUMP ("==== reading... ============================");
+
+ TEST(``(Ldap::Read ()), [ READ, $[], EX ], 0);
+
+ DUMP ("============================================");
+ // nss_base_* should not be exported when same as base DN (#362120)
+ TEST(``(Ldap::Export ()), [ READ, $[], EX ], 0);
+
+}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.16.7/VERSION new/yast2-ldap-client-2.16.9/VERSION
--- old/yast2-ldap-client-2.16.7/VERSION 2008-02-07 07:46:40.000000000 +0100
+++ new/yast2-ldap-client-2.16.9/VERSION 2008-02-20 16:14:15.000000000 +0100
@@ -1 +1 @@
-2.16.7
+2.16.9
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org