Hello community,

here is the log from the commit of package yast2-ldap-client for 
openSUSE:Factory
checked in at Fri Jun 24 10:34:41 CEST 2011.



--------
--- yast2-ldap-client/yast2-ldap-client.changes 2011-06-07 11:58:28.000000000 
+0200
+++ /mounts/work_src_done/STABLE/yast2-ldap-client/yast2-ldap-client.changes    
2011-06-24 10:13:26.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 24 10:11:46 CEST 2011 - jsuch...@suse.cz
+
+- Use ButtonBox widget when appropriate (bnc#701260)
+- 2.21.6
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  yast2-ldap-client-2.21.5.tar.bz2

New:
----
  yast2-ldap-client-2.21.6.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.5ESuRN/_old  2011-06-24 10:34:08.000000000 +0200
+++ /var/tmp/diff_new_pack.5ESuRN/_new  2011-06-24 10:34:08.000000000 +0200
@@ -19,11 +19,11 @@
 
 
 Name:           yast2-ldap-client
-Version:        2.21.5
+Version:        2.21.6
 Release:        1
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-ldap-client-2.21.5.tar.bz2
+Source0:        yast2-ldap-client-2.21.6.tar.bz2
 
 Prefix:         /usr
 
@@ -58,7 +58,7 @@
 OpenLDAP server will be used for user authentication.
 
 %prep
-%setup -n yast2-ldap-client-2.21.5
+%setup -n yast2-ldap-client-2.21.6
 
 %build
 %{prefix}/bin/y2tool y2autoconf

++++++ yast2-ldap-client-2.21.5.tar.bz2 -> yast2-ldap-client-2.21.6.tar.bz2 
++++++
++++ 1647 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/VERSION new/yast2-ldap-client-2.21.6/VERSION
--- old/yast2-ldap-client-2.21.5/VERSION        2011-06-07 11:55:36.000000000 
+0200
+++ new/yast2-ldap-client-2.21.6/VERSION        2011-06-24 10:12:32.000000000 
+0200
@@ -1 +1 @@
-2.21.5
+2.21.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/configure.in 
new/yast2-ldap-client-2.21.6/configure.in
--- old/yast2-ldap-client-2.21.5/configure.in   2011-05-26 10:28:34.000000000 
+0200
+++ new/yast2-ldap-client-2.21.6/configure.in   2011-06-23 15:51:37.000000000 
+0200
@@ -3,7 +3,7 @@
 dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-ldap-client, 2.21.4, http://bugs.opensuse.org/, 
yast2-ldap-client)
+AC_INIT(yast2-ldap-client, 2.21.5, http://bugs.opensuse.org/, 
yast2-ldap-client)
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])
 
@@ -18,7 +18,7 @@
 AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
 
 dnl Important YaST2 variables
-VERSION="2.21.4"
+VERSION="2.21.5"
 RPMNAME="yast2-ldap-client"
 MAINTAINER="Jiri Suchomel <jsuch...@suse.cz>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/src/Ldap.ycp 
new/yast2-ldap-client-2.21.6/src/Ldap.ycp
--- old/yast2-ldap-client-2.21.5/src/Ldap.ycp   2011-06-07 11:56:03.000000000 
+0200
+++ new/yast2-ldap-client-2.21.6/src/Ldap.ycp   2011-06-24 09:27:41.000000000 
+0200
@@ -1193,7 +1193,7 @@
 
 Retry connection without TLS/SSL?
 "))),
-               `HBox (
+               `ButtonBox (
                    `PushButton (`id(`yes), `opt(`key_F10,`default), 
Label::YesButton()),
                    `PushButton (`id(`no),`opt(`key_F9), Label::NoButton())
                )
@@ -1313,7 +1313,7 @@
                GetFirstServer (server), GetFirstPort (server))),
            // label (%1 is admin DN - string)
            `Label (sformat (_("Administrator: %1"), GetBindDN ())),
-            `HBox(
+            `ButtonBox (
               `PushButton (`id(`ok),`opt(`key_F10, `default),
                Label::OKButton()),
               // button label
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/src/LdapPopup.ycp 
new/yast2-ldap-client-2.21.6/src/LdapPopup.ycp
--- old/yast2-ldap-client-2.21.5/src/LdapPopup.ycp      2011-01-13 
11:52:00.000000000 +0100
+++ new/yast2-ldap-client-2.21.6/src/LdapPopup.ycp      2011-06-24 
09:59:36.000000000 +0200
@@ -44,16 +44,17 @@
                `ReplacePoint (`id (`reptree), `Tree (`id(`tree), root_dn, [])),
                `HSpacing ()
            ),
-           `HBox (
+           textmode ?  `HBox (
                `HSpacing (1.5),
                `PushButton (`id (`ok), `opt (`key_F10), Label::OKButton()),
-               `PushButton(`id (`cancel),`opt (`key_F9),Label::CancelButton()),
-               // pushbutton label
-               textmode ?
-                 // button label
-                 `Right (`PushButton (`id (`open), `opt (`key_F6),_("&Open"))):
-                 `Empty (),
+               `PushButton (`id (`cancel),`opt 
(`key_F9),Label::CancelButton()),
+               // button label
+               `Right (`PushButton (`id (`open), `opt (`key_F6),_("&Open"))),
                `HSpacing (1.5)
+           ) :
+           `ButtonBox (
+               `PushButton (`id (`ok), `opt (`key_F10), Label::OKButton()),
+               `PushButton(`id (`cancel),`opt (`key_F9),Label::CancelButton())
            ),
            `VSpacing (0.2)
        ));
@@ -308,11 +309,14 @@
        `VBox(
            `HSpacing (hsize > 50 ? hsize : 50),
            `ReplacePoint (`id(`rp), values),
-           `HBox(
+           single ?  `ButtonBox (
+               `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()),
+               `PushButton(`id(`cancel),`opt (`key_F9), Label::CancelButton()),
+               `PushButton(`id(`help),`opt (`key_F2), Label::HelpButton())
+           ) :  `ButtonBox (
                `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()),
                `PushButton(`id(`cancel),`opt (`key_F9), Label::CancelButton()),
                `PushButton(`id(`help),`opt (`key_F2), Label::HelpButton()),
-               (single)? `Empty() :
                add_button
            )
        ),
@@ -419,7 +423,7 @@
            `InputField (`id (`cn), `opt (`hstretch),
                // textentry label, do not translate "cn"
                _("&Name of New Module (\"cn\" Value)")),
-           `HBox(
+           `ButtonBox(
                `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()),
                `PushButton(`id(`cancel),`opt (`key_F9), Label::CancelButton())
            )
@@ -507,7 +511,7 @@
            // textentry label
            `InputField (`id (`val), `opt (`hstretch), _("Attribute &Value")),
            `VSpacing(0.5),
-           `HBox(
+           `ButtonBox(
                `PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()),
                `PushButton(`id(`cancel), `opt(`key_F9), Label::CancelButton()),
                `PushButton(`id(`help),`opt (`key_F2), Label::HelpButton())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/src/ldap_browser.ycp 
new/yast2-ldap-client-2.21.6/src/ldap_browser.ycp
--- old/yast2-ldap-client-2.21.5/src/ldap_browser.ycp   2010-08-18 
12:35:33.000000000 +0200
+++ new/yast2-ldap-client-2.21.6/src/ldap_browser.ycp   2011-06-24 
10:11:17.000000000 +0200
@@ -350,7 +350,7 @@
        `Left (`CheckBox (`id ("ldap_tls"), `opt (`notify), _("L&DAP TLS"),
            configuration["ldap_tls"]:false)
        ),
-        `HBox(
+        `ButtonBox(
             `PushButton (`id(`ok),`opt(`key_F10, `default), Label::OKButton()),
             // button label
            `PushButton (`id(`anon), `opt(`key_F6), _("A&nonymous Access")),
@@ -403,7 +403,7 @@
                `InputField (`id (`new),
                    // InputField label
                    _("Enter the name of the new LDAP connection")),
-               `HBox (
+               `ButtonBox (
                    `PushButton (`id(`ok), `opt(`default), Label::OKButton ()),
                    `PushButton (`id(`cancel), Label::CancelButton ())
                )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/src/ui.ycp new/yast2-ldap-client-2.21.6/src/ui.ycp
--- old/yast2-ldap-client-2.21.5/src/ui.ycp     2011-06-07 11:56:03.000000000 
+0200
+++ new/yast2-ldap-client-2.21.6/src/ui.ycp     2011-06-24 10:09:31.000000000 
+0200
@@ -139,7 +139,7 @@
                // multiselection box label
                _("LDAP &Servers Provided by SLP"), items)
            ),
-           `HBox (
+           `ButtonBox (
                `PushButton (`id(`ok), Label::OKButton()),
                `PushButton (`id(`cancel), Label::CancelButton())
            )
@@ -403,7 +403,7 @@
                        // InputField label
                        `InputField (`id (`url),  `opt (`hstretch),
                            _("CA Certificate URL for Download")),
-                       `HBox (
+                       `ButtonBox (
                            `PushButton(`id(`ok),`opt(`default,`key_F10), 
Label::OKButton()),
                            `PushButton(`id(`cancel),`opt (`key_F9), 
Label::CancelButton())
                        )
@@ -1196,7 +1196,7 @@
                        // pushbutton label
                        `PushButton (`id (`br_suf), _("Change Suffix"))
                    )),
-                   `HBox (
+                   `ButtonBox (
                        
`PushButton(`id(`ok),`opt(`default,`key_F10),Label::OKButton()),
                        `PushButton(`id(`cancel),`opt (`key_F9), 
Label::CancelButton())
                    )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/testsuite/tests/Export2.out 
new/yast2-ldap-client-2.21.6/testsuite/tests/Export2.out
--- old/yast2-ldap-client-2.21.5/testsuite/tests/Export2.out    1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.21.6/testsuite/tests/Export2.out    2011-06-21 
10:49:41.000000000 +0200
@@ -0,0 +1,27 @@
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."uri" nil
+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"."tls_cacertdir" 
"/etc/openldap/cacerts/"
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."tls_cacertfile" nil
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."tls_checkpeer" 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 ["+"]
+Read   .etc.krb5_conf.v.libdefaults.default_realm ["SUSE.CZ"]
+Read   .etc.krb5_conf.v."SUSE.CZ"."kdc" ["kdc.suse.cz"]
+Read   .etc.sssd_conf.v."domain/default"."krb5_realm" "SUSE.CZ"
+Read   .etc.sssd_conf.v."domain/default"."krb5_kdcip" "kdc.suse.cz"
+Read   .etc.sssd_conf.v."domain/default"."ldap_schema" "rfc2307"
+Read   .etc.sssd_conf.v."domain/default"."cache_credentials" "true"
+Read   .etc.sssd_conf.v."domain/default"."enumerate" "true"
+Return true
+Return $["base_config_dn":"", "bind_dn":"uid=manager,dc=suse,dc=cz", 
"create_ldap":false, "file_server":false, "krb5_kdcip":"kdc.suse.cz", 
"krb5_realm":"SUSE.CZ", "ldap_domain":"dc=suse,dc=cz", 
"ldap_server":"localhost", "ldap_tls":false, "ldap_v2":false, 
"login_enabled":true, "member_attribute":"member", "mkhomedir":true, 
"nss_base_group":"ou=group,dc=suse,dc=cz", "pam_password":"crypt", "sssd":true, 
"sssd_cache_credentials":true, "sssd_enumerate":true, 
"sssd_ldap_schema":"rfc2307", "start_autofs":false, "start_ldap":true, 
"tls_cacertdir":"/etc/openldap/cacerts/"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/testsuite/tests/Export2.ycp 
new/yast2-ldap-client-2.21.6/testsuite/tests/Export2.ycp
--- old/yast2-ldap-client-2.21.5/testsuite/tests/Export2.ycp    1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.21.6/testsuite/tests/Export2.ycp    2011-06-21 
10:50:06.000000000 +0200
@@ -0,0 +1,119 @@
+/**
+ *  Read.ycp
+ *  Test of Ldap:Read function
+ *  Author:    Jiri Suchomel <jsuch...@suse.cz>
+ *  $Id: Export2.ycp 64499 2011-06-21 08:50:04Z jsuchome $
+ */
+
+{
+
+    // testedfiles: Ldap.ycp
+    import "Testsuite";
+
+    map READ = $[
+       "etc": $[
+           "nsswitch_conf" : $[
+               "passwd"        : "sss",
+               "group"         : "sss",
+               "passwd_compat" : nil,
+               "group_compat"  : nil
+           ],
+           "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",
+                       "tls_cacertdir" : "/etc/openldap/cacerts/",
+                       "tls_cacertfile": nil,
+                       "tls_checkpeer" : nil,
+                       "uri"           : nil
+                   ]
+               ]
+           ],
+           "krb5_conf" : $[
+               "v" : $[
+                   "libdefaults": $[
+                       "default_realm": ["SUSE.CZ"],
+                   ],
+                   "SUSE.CZ": $[
+                       "kdc": ["kdc.suse.cz"],
+                   ],
+               ],
+           ],
+           // /etc/security/pam_*
+           "security": $[
+               "section": $[
+                   "/etc/security/pam_unix2.conf": $[],
+               ],
+               "v": $[
+                   "/etc/security/pam_unix2.conf": $[
+                       "auth"  : ""
+                   ],
+               ]
+           ],
+           "sssd_conf" : $[
+               "v"                     : $[
+                   "domain/default"    : $[
+                       "krb5_realm"    : "SUSE.CZ",
+                       "krb5_kdcip"    : "kdc.suse.cz",
+                       "ldap_schema"   : "rfc2307",
+                       "cache_credentials"     : "true",
+                       "enumerate"     : "true"
+                   ],
+               ],
+           ],
+       ],
+       "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"      : $[1:2],
+       ],
+    ];
+
+    map EX = $[
+       "target": $[
+           "bash": 0,
+           "bash_output": $[
+               // for Pam::Enabled ("mkhomedir") call
+               "stdout"        : "something:",
+           ]
+       ],
+       "passwd": $[
+           "init": true
+       ]
+    ];
+    Testsuite::Init ([READ,$[],$[]], nil);
+
+    import "Ldap";
+
+    Testsuite::Test (``(Ldap::Read ()), [ READ, $[], EX ], 0);
+
+    Testsuite::Test (``(Ldap::Export ()), [ READ, $[], EX ], 0);
+
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/testsuite/tests/Read2.out 
new/yast2-ldap-client-2.21.6/testsuite/tests/Read2.out
--- old/yast2-ldap-client-2.21.5/testsuite/tests/Read2.out      1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.21.6/testsuite/tests/Read2.out      2011-06-21 
09:31:57.000000000 +0200
@@ -0,0 +1,25 @@
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."uri" "ldap://localhost:333";
+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"."tls_cacertdir" 
"/etc/openldap/cacerts/"
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."tls_cacertfile" nil
+Read   .etc.ldap_conf.v."/etc/ldap.conf"."tls_checkpeer" "no"
+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" nil
+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 ["+"]
+Read   .etc.sssd_conf.v."domain/default"."krb5_realm" "SUSE.CZ"
+Read   .etc.sssd_conf.v."domain/default"."krb5_kdcip" "kdc.suse.cz"
+Read   .etc.sssd_conf.v."domain/default"."ldap_schema" nil
+Read   .etc.sssd_conf.v."domain/default"."cache_credentials" "True"
+Read   .etc.sssd_conf.v."domain/default"."enumerate" nil
+Return true
+Dump   ldap: -true-
+Dump   sssd: -true-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/yast2-ldap-client-2.21.5/testsuite/tests/Read2.ycp 
new/yast2-ldap-client-2.21.6/testsuite/tests/Read2.ycp
--- old/yast2-ldap-client-2.21.5/testsuite/tests/Read2.ycp      1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-ldap-client-2.21.6/testsuite/tests/Read2.ycp      2011-06-21 
10:35:50.000000000 +0200
@@ -0,0 +1,120 @@
+/**
+ *  Read.ycp
+ *  Test of Ldap:Read function
+ *  Author:    Jiri Suchomel <jsuch...@suse.cz>
+ *  $Id: Read2.ycp 64498 2011-06-21 08:35:48Z jsuchome $
+ */
+
+{
+    // testedfiles: Ldap.ycp
+
+    import "Ldap";
+    import "Testsuite";
+
+    map READ = $[
+       "etc": $[
+           "nsswitch_conf" : $[
+               "passwd"        : "sss",
+               "group"         : "sss",
+               "passwd_compat" : nil,
+               "group_compat"  : nil
+           ],
+           "ldap_conf" : $[
+               "v" : $[
+                   "/etc/ldap.conf": $[
+                       "host" : "localhost",
+                       "base" : "dc=suse,dc=cz",
+                       "nss_base_passwd" : nil,
+                       "nss_base_shadow" : nil,
+                       "nss_base_group" : nil,
+                       "ldap_version": nil,
+                       "ssl": nil,
+                       "pam_password": "crypt",
+                       "tls_cacertdir" : "/etc/openldap/cacerts/",
+                       "tls_cacertfile": nil,
+                       "tls_checkpeer" : "no",
+                       "uri"   : "ldap://localhost:333";
+                   ]
+               ]
+           ],
+           "krb5_conf" : $[
+               "v" : $[
+                   "libdefaults": $[
+                       "default_realm": ["SUSE.CZ"],
+                   ],
+                   "SUSE.CZ": $[
+                       "kdc": ["kdc.suse.cz"],
+                   ],
+               ],
+           ],
+           // /etc/security/pam_*
+           "security": $[
+               "section": $[
+                   "/etc/security/pam_unix2.conf": $[],
+               ],
+               "v": $[
+                   "/etc/security/pam_unix2.conf": $[
+                       "auth"  : ""
+                   ],
+               ]
+           ],
+           "sssd_conf" : $[
+               "v"                     : $[
+                   "domain/default"    : $[
+                       "krb5_realm"    : "SUSE.CZ",
+                       "krb5_kdcip"    : "kdc.suse.cz",
+                       "ldap_schema"   : nil,
+                       "cache_credentials"     : "True",
+                       "enumerate"     : nil
+                   ],
+               ],
+           ],
+       ],
+       "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"      : $[ 1:2 ],
+       ],
+    ];
+
+    map EX = $[
+       "target": $[
+           "bash": 0,
+           "bash_output": $[
+               "stdout"        : "",
+           ]
+       ],
+       "passwd": $[
+           "init": true
+       ]
+    ];
+
+    Testsuite::Init ([READ,$[],$[]], nil);
+
+    Testsuite::Test (``(Ldap::Read ()), [ READ, $[], EX ], 0);
+
+    Testsuite::Dump ( sformat ("ldap: -%1-", Ldap::start) );
+
+    Testsuite::Dump ( sformat ("sssd: -%1-", Ldap::sssd) );
+
+}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to