Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at Tue Apr 5 18:07:19 CEST 2011.
-------- --- yast2-users/yast2-users.changes 2011-03-23 12:12:53.000000000 +0100 +++ yast2-users/yast2-users.changes 2011-04-05 11:06:19.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Apr 5 11:01:12 CEST 2011 - [email protected] + +- added support for SHA-2 based crypto methods (fate309705) +- 2.21.3 + +------------------------------------------------------------------- +Fri Apr 1 10:13:20 CEST 2011 - [email protected] + +- check for 'sss' in nsswitch.conf for LDAP users (bnc#683782) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-users-2.21.2.tar.bz2 New: ---- yast2-users-2.21.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.jwyuJX/_old 2011-04-05 18:06:53.000000000 +0200 +++ /var/tmp/diff_new_pack.jwyuJX/_new 2011-04-05 18:06:53.000000000 +0200 @@ -19,11 +19,11 @@ Name: yast2-users -Version: 2.21.2 +Version: 2.21.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-users-2.21.2.tar.bz2 +Source0: yast2-users-2.21.3.tar.bz2 Prefix: /usr @@ -44,13 +44,16 @@ # String::RemoveShortcut Requires: yast2 >= 2.18.0 +# cryptsha256, cryptsha516 +Requires: yast2-core >= 2.21.0 + Summary: YaST2 - User and Group Configuration %description This package provides GUI for maintenance of linux users and groups. %prep -%setup -n yast2-users-2.21.2 +%setup -n yast2-users-2.21.3 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-users-2.21.2.tar.bz2 -> yast2-users-2.21.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/VERSION new/yast2-users-2.21.3/VERSION --- old/yast2-users-2.21.2/VERSION 2011-03-23 12:11:01.000000000 +0100 +++ new/yast2-users-2.21.3/VERSION 2011-04-05 11:01:39.000000000 +0200 @@ -1 +1 @@ -2.21.2 +2.21.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/UsersLDAP.pm new/yast2-users-2.21.3/src/UsersLDAP.pm --- old/yast2-users-2.21.2/src/UsersLDAP.pm 2010-05-24 13:01:27.000000000 +0200 +++ new/yast2-users-2.21.3/src/UsersLDAP.pm 2011-03-30 16:44:50.000000000 +0200 @@ -173,7 +173,7 @@ my $passwd_source = SCR->Read (".etc.nsswitch_conf.passwd"); if (defined $passwd_source) { foreach my $source (split (/ /, $passwd_source)) { - if ($source eq "ldap") { return 1; } + if ($source eq "ldap" || $source eq "sss") { return 1; } if ($source eq "compat") { $compat = 1; } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/UsersSimple.pm new/yast2-users-2.21.3/src/UsersSimple.pm --- old/yast2-users-2.21.2/src/UsersSimple.pm 2011-02-17 11:10:14.000000000 +0100 +++ new/yast2-users-2.21.3/src/UsersSimple.pm 2011-04-04 14:40:28.000000000 +0200 @@ -70,6 +70,8 @@ "des" => 8, "md5" => 127, "blowfish" => 72, + "sha256" => 127, # arbitrary high number, there's probably no limit + "sha512" => 127 ); # name of user that should be logged in automatically diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/UsersUI.ycp new/yast2-users-2.21.3/src/UsersUI.ycp --- old/yast2-users-2.21.2/src/UsersUI.ycp 2009-08-20 16:44:20.000000000 +0200 +++ new/yast2-users-2.21.3/src/UsersUI.ycp 2011-04-04 08:33:42.000000000 +0200 @@ -401,6 +401,10 @@ return cryptmd5 (pw); if (method == "blowfish") return cryptblowfish (pw); + if (method == "sha256") + return cryptsha256 (pw); + if (method == "sha512") + return cryptsha512 (pw); return crypt (pw); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/inst_user.ycp new/yast2-users-2.21.3/src/inst_user.ycp --- old/yast2-users-2.21.2/src/inst_user.ycp 2011-03-23 11:27:36.000000000 +0100 +++ new/yast2-users-2.21.3/src/inst_user.ycp 2011-03-23 12:11:32.000000000 +0100 @@ -7,7 +7,7 @@ * * Purpose: Start user management module from within installation workflow * - * $Id: inst_user.ycp 53782 2008-12-01 14:58:07Z jsuchome $ + * $Id: inst_user.ycp 63640 2011-03-23 11:11:31Z jsuchome $ */ { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/inst_user_first.ycp new/yast2-users-2.21.3/src/inst_user_first.ycp --- old/yast2-users-2.21.2/src/inst_user_first.ycp 2010-02-26 14:48:34.000000000 +0100 +++ new/yast2-users-2.21.3/src/inst_user_first.ycp 2011-04-05 11:00:58.000000000 +0200 @@ -100,6 +100,10 @@ "md5" : _("MD5"), // encryption type "blowfish" : _("Blowfish"), + // encryption type + "sha256" : _("SHA-256"), + // encryption type + "sha512" : _("SHA-512"), ]; term import_checkbox = `Left (`CheckBox (`id (`import_ch), // check box label @@ -162,6 +166,10 @@ `Left (`RadioButton (`id ("md5"), _("&MD5"))), // Radio button label: password encryption type `Left (`RadioButton (`id ("blowfish"), _("&Blowfish"))), + // Radio button label: password encryption type + `Left (`RadioButton (`id ("sha256"), _("SHA-&256"))), + // Radio button label: password encryption type + `Left (`RadioButton (`id ("sha512"), _("SHA-&512"))), `VSpacing (0.5) )) ); @@ -202,6 +210,7 @@ to encrypt passwords. </P>"); + // help text for main add user dialog string main_help () { // help text for main add user dialog @@ -773,7 +782,7 @@ // preselect the required packages for installation y2milestone ("preselect required packages for installation"); map<string,list<string> > required_packages = $[ - "ldap" : [ "yast2-ldap-client", "pam_ldap", "nss_ldap"], + "ldap" : [ "yast2-ldap-client", "sssd" ], "nis" : [ "yast2-nis-client", "ypbind" ], "samba" : [ "yast2-samba-client", "krb5", "samba-client", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/users_proposal.ycp new/yast2-users-2.21.3/src/users_proposal.ycp --- old/yast2-users-2.21.2/src/users_proposal.ycp 2009-11-19 08:32:46.000000000 +0100 +++ new/yast2-users-2.21.3/src/users_proposal.ycp 2011-04-01 07:56:23.000000000 +0200 @@ -34,6 +34,10 @@ "md5" : _("MD5"), // encryption type "blowfish" : _("Blowfish"), + // encryption type + "sha256" : _("SHA-256"), + // encryption type + "sha512" : _("SHA-512"), ]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.21.2/src/widgets.ycp new/yast2-users-2.21.3/src/widgets.ycp --- old/yast2-users-2.21.2/src/widgets.ycp 2010-05-24 14:19:11.000000000 +0200 +++ new/yast2-users-2.21.3/src/widgets.ycp 2011-04-05 11:00:28.000000000 +0200 @@ -173,20 +173,25 @@ `VSpacing( 0.7 ), `HBox( `HSpacing( 2 ), - `RadioButtonGroup( // frame label - `Frame( _("Encryption Type"), + `RadioButtonGroup(`id (`methods), `Frame( _("Encryption Type"), `VBox( `VSpacing( 0.5 ), // Radio buttons for password encryption: DES-crypt - `Left(`RadioButton(`id(`des), _("&DES (Linux default)"), + `Left(`RadioButton(`id("des"), _("&DES (Linux default)"), method == "des" ) ), // Radio buttons for password encryption: MD5-crypt - `Left(`RadioButton(`id(`md5), _("&MD5"), + `Left(`RadioButton(`id("md5"), _("&MD5"), method == "md5" ) ), // Radio buttons for password encryption: blowfish-crypt - `Left(`RadioButton(`id(`blowfish), _("&Blowfish"), - method == "blowfish" ) ) + `Left(`RadioButton(`id("blowfish"), _("&Blowfish"), + method == "blowfish" ) ), + // Radio buttons for password encryption: sha256 crypt + `Left(`RadioButton(`id("sha256"), _("SHA-&256"), + method == "sha256" ) ), + // Radio buttons for password encryption: sha512 crypt + `Left(`RadioButton(`id("sha512"), _("SHA-&512"), + method == "sha512" ) ) ) )), `HSpacing( 2 ) @@ -218,12 +223,7 @@ } else if ( button == `ok ) { - if ( (boolean) UI::QueryWidget( `id(`des), `Value ) ) - method = "des"; - else if ( (boolean) UI::QueryWidget( `id(`md5), `Value ) ) - method = "md5"; - else if ( (boolean) UI::QueryWidget( `id(`blowfish), `Value ) ) - method = "blowfish"; + method = (string) UI::QueryWidget (`id (`methods), `CurrentButton); y2milestone( "Changing encryption method to %1", method ); } } while ( button != `ok && button != `cancel ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
