commit yast2-ldap-client for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package yast2-ldap-client for openSUSE:Factory checked in at Mon Mar 21 09:39:12 CET 2011. -------- --- yast2-ldap-client/yast2-ldap-client.changes 2011-03-17 09:15:15.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-ldap-client/yast2-ldap-client.changes 2011-03-18 15:31:10.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 18 15:29:33 CET 2011 - jsuchome@suse.cz + +- added command line options for SSSD (bnc#680848) +- 2.21.2 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-ldap-client-2.21.1.tar.bz2 New: ---- yast2-ldap-client-2.21.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ldap-client.spec ++++++ --- /var/tmp/diff_new_pack.kFfjwa/_old 2011-03-21 09:33:00.000000000 +0100 +++ /var/tmp/diff_new_pack.kFfjwa/_new 2011-03-21 09:33:00.000000000 +0100 @@ -19,11 +19,11 @@ Name: yast2-ldap-client -Version: 2.21.1 +Version: 2.21.2 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ldap-client-2.21.1.tar.bz2 +Source0: yast2-ldap-client-2.21.2.tar.bz2 Prefix: /usr @@ -58,7 +58,7 @@ OpenLDAP server will be used for user authentication. %prep -%setup -n yast2-ldap-client-2.21.1 +%setup -n yast2-ldap-client-2.21.2 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-ldap-client-2.21.1.tar.bz2 -> yast2-ldap-client-2.21.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ldap-client-2.21.1/VERSION new/yast2-ldap-client-2.21.2/VERSION --- old/yast2-ldap-client-2.21.1/VERSION 2011-03-17 09:13:08.000000000 +0100 +++ new/yast2-ldap-client-2.21.2/VERSION 2011-03-18 15:30:01.000000000 +0100 @@ -1 +1 @@ -2.21.1 +2.21.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ldap-client-2.21.1/src/Ldap.ycp new/yast2-ldap-client-2.21.2/src/Ldap.ycp --- old/yast2-ldap-client-2.21.1/src/Ldap.ycp 2011-03-17 09:12:31.000000000 +0100 +++ new/yast2-ldap-client-2.21.2/src/Ldap.ycp 2011-03-17 09:14:41.000000000 +0100 @@ -5,7 +5,7 @@ * Authors: Thorsten Kukuk <kukuk@suse.de> * Anas Nashif <nashif@suse.de> * - * $Id: Ldap.ycp 63567 2011-03-11 14:02:48Z jsuchome $ + * $Id: Ldap.ycp 63583 2011-03-17 08:14:40Z jsuchome $ */ { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ldap-client-2.21.1/src/ldap.ycp new/yast2-ldap-client-2.21.2/src/ldap.ycp --- old/yast2-ldap-client-2.21.1/src/ldap.ycp 2010-08-18 12:35:33.000000000 +0200 +++ new/yast2-ldap-client-2.21.2/src/ldap.ycp 2011-03-18 15:29:07.000000000 +0100 @@ -93,6 +93,50 @@ } } + if (options["sssd"]:"" != "") + { + boolean sssd = (options["sssd"]:"" == "yes"); + if (Ldap::sssd != sssd) + { + Ldap::sssd = sssd; + Ldap::modified = true; + } + } + + if (options["cache_credentials"]:"" != "") + { + boolean cache_credentials = (options["cache_credentials"]:"" == "yes"); + if (Ldap::sssd_cache_credentials!= cache_credentials) + { + Ldap::sssd_cache_credentials= cache_credentials; + Ldap::modified = true; + } + } + + if (options["realm"]:"" != "") + { + string realm = options["realm"]:""; + if (Ldap::krb5_realm != realm) + { + Ldap::krb5_realm = realm; + Ldap::modified = true; + } + } + if (options["kdc"]:"" != "") + { + string kdc = options["kdc"]:""; + if (Ldap::krb5_kdcip != kdc) + { + Ldap::krb5_kdcip = kdc; + Ldap::modified = true; + } + } + + if (Ldap::krb5_kdcip != "" && Ldap::krb5_realm != "") + { + Ldap::sssd_with_krb = true; + } + if (haskey (options, "createconfig")) { if (Ldap::bind_pass == nil) @@ -202,14 +246,38 @@ "type" : "enum", "typespec" : [ "yes", "no" ], ], + "sssd" : $[ + // help text for the 'sssd' option + "help" : _("Use System Security Services Daemon (SSSD)"), + "type" : "enum", + "typespec" : [ "yes", "no" ], + ], + "cache_credentials" : $[ + // help text for the 'cache_credentials' option + "help" : _("SSSD Offline Authentication"), + "type" : "enum", + "typespec" : [ "yes", "no" ], + ], + "realm" :$[ + // command line help text for the 'realm' option + "help" : _("Kerberos Realm"), + "type" : "string" + ], + "kdc" :$[ + // command line help text for the 'kdc' option + "help" : _("KDC Server Address"), + "type" : "string" + ], ], "mappings" : $[ "pam" : [ "enable", "disable", "server", "base", - "createconfig", "ldappw", "automounter", "mkhomedir", "tls" + "createconfig", "ldappw", "automounter", "mkhomedir", "tls", + "sssd", "realm", "kdc", "cache_credentials" ], "summary" : [], "configure" : [ "server", "base", "createconfig", "ldappw", - "automounter", "mkhomedir", "tls" + "automounter", "mkhomedir", "tls", + "sssd", "realm", "kdc", "cache_credentials" ], ] ]; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de