Hello community,
here is the log from the commit of package yast2-ldap-client
checked in at Thu Oct 16 02:09:48 CEST 2008.
--------
--- yast2-ldap-client/yast2-ldap-client.changes 2008-10-13 16:35:36.000000000 +0200
+++ /d/STABLE/yast2-ldap-client/yast2-ldap-client.changes 2008-10-15 12:53:36.809147000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 15 12:47:13 CEST 2008 - jsuchome@suse.cz
+
+- use domainname to get the domain name (workaround for bnc#393951)
+- 2.17.13
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-ldap-client-2.17.12.tar.bz2
New:
----
yast2-ldap-client-2.17.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.D23923/_old 2008-10-16 02:08:01.000000000 +0200
+++ /var/tmp/diff_new_pack.D23923/_new 2008-10-16 02:08:01.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ldap-client (Version 2.17.12)
+# spec file for package yast2-ldap-client (Version 2.17.13)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-ldap-client
-Version: 2.17.12
+Version: 2.17.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ldap-client-2.17.12.tar.bz2
+Source0: yast2-ldap-client-2.17.13.tar.bz2
Prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-network yast2-pam yast2-testsuite
PreReq: %fillup_prereq
@@ -54,7 +54,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-ldap-client-2.17.12
+%setup -n yast2-ldap-client-2.17.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -94,6 +94,9 @@
%doc %{prefix}/share/doc/packages/yast2-ldap-client
/var/adm/fillup-templates/sysconfig.ldap
%changelog
+* Wed Oct 15 2008 jsuchome@suse.cz
+- use domainname to get the domain name (workaround for bnc#393951)
+- 2.17.13
* Mon Oct 13 2008 jsuchome@suse.cz
- restart of dbus is back, there's no reload
- 2.17.12
++++++ yast2-ldap-client-2.17.12.tar.bz2 -> yast2-ldap-client-2.17.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.17.12/src/Ldap.ycp new/yast2-ldap-client-2.17.13/src/Ldap.ycp
--- old/yast2-ldap-client-2.17.12/src/Ldap.ycp 2008-10-13 12:45:21.000000000 +0200
+++ new/yast2-ldap-client-2.17.13/src/Ldap.ycp 2008-10-15 12:47:10.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Thorsten Kukuk
* Anas Nashif
*
- * $Id: Ldap.ycp 51493 2008-09-25 07:22:26Z jsuchome $
+ * $Id: Ldap.ycp 52145 2008-10-13 14:35:51Z jsuchome $
*/
{
@@ -678,6 +678,13 @@
&& FileUtils::Exists ("/usr/bin/dig") && !Mode::test())
{
string domain = Hostname::CurrentDomain ();
+ // workaround for bug#393951
+ if (domain == "" && Stage::cont ())
+ {
+ map out = (map) SCR::Execute (.target.bash_output,"domainname");
+ if (out["exit"]:0 == 0)
+ domain = deletechars (out["stdout"]:"", "\n");
+ }
map out = (map) SCR::Execute (.target.bash_output, sformat ("dig SRV _ldap._tcp.%1 +short", domain));
string first = splitstring (out["stdout"]:"", "\n")[0]:"";
string srv = splitstring (first, " ")[3]:"";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.17.12/VERSION new/yast2-ldap-client-2.17.13/VERSION
--- old/yast2-ldap-client-2.17.12/VERSION 2008-10-13 16:35:04.000000000 +0200
+++ new/yast2-ldap-client-2.17.13/VERSION 2008-10-15 12:47:32.000000000 +0200
@@ -1 +1 @@
-2.17.12
+2.17.13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org