Hello community,
here is the log from the commit of package yast2-users
checked in at Mon Aug 4 12:36:47 CEST 2008.
--------
--- yast2-users/yast2-users.changes 2008-07-21 16:10:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2008-08-04 08:30:50.607219000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 24 15:42:24 CEST 2008 - jsuchome@suse.cz
+
+- checkbox to force a change of password (bnc#368613)
+- 2.17.3
+
+-------------------------------------------------------------------
Old:
----
yast2-users-2.17.2.tar.bz2
New:
----
yast2-users-2.17.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.Z22984/_old 2008-08-04 12:36:39.000000000 +0200
+++ /var/tmp/diff_new_pack.Z22984/_new 2008-08-04 12:36:39.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.17.2)
+# spec file for package yast2-users (Version 2.17.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,26 +12,25 @@
Name: yast2-users
-Version: 2.17.2
+Version: 2.17.3
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.17.2.tar.bz2
+Source0: yast2-users-2.17.3.tar.bz2
Prefix: /usr
BuildRequires: cracklib-devel doxygen gcc-c++ perl-Digest-SHA1 perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-security yast2-testsuite
Requires: yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
Obsoletes: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
Provides: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
-# LDAPInitWithTLSCheck
-Requires: yast2-ldap-client >= 2.15.8
+# this forces using yast2-ldap with orrect LDAP object names (fate#303596)
+Requires: yast2-ldap-client >= 2.17.1
# new ag_anyxml
Requires: yast2 >= 2.16.40
Summary: YaST2 - User and Group Configuration
%description
-This package is required for easy user creation in the YaST2
-installation.
+This package provides GUI for maintenance of linux users and groups.
@@ -46,7 +45,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-users-2.17.2
+%setup -n yast2-users-2.17.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -89,6 +88,9 @@
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Thu Jul 24 2008 jsuchome@suse.cz
+- checkbox to force a change of password (bnc#368613)
+- 2.17.3
* Mon Jul 21 2008 jsuchome@suse.cz
- do not lowecase LDAP object names (fate#303596):
internal user/group keys (not only LDAP) adapted to new schema
++++++ yast2-users-2.17.2.tar.bz2 -> yast2-users-2.17.3.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/cmdline.ycp new/yast2-users-2.17.3/src/cmdline.ycp
--- old/yast2-users-2.17.2/src/cmdline.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/cmdline.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Command line interface functions.
* Authors: Jiri Suchomel
*
- * $Id: cmdline.ycp 44478 2008-02-15 07:34:29Z jsuchome $
+ * $Id: cmdline.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*
* All command line interface functions.
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/dialogs.ycp new/yast2-users-2.17.3/src/dialogs.ycp
--- old/yast2-users-2.17.2/src/dialogs.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/dialogs.ycp 2008-07-24 15:43:37.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Johannes Buchhold ,
* Jiri Suchomel
*
- * $Id: dialogs.ycp 47697 2008-05-20 08:43:51Z jsuchome $
+ * $Id: dialogs.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
@@ -622,6 +622,7 @@
define term get_password_term () {
string last_change = GetString (user["shadowLastChange"]:nil, "0");
+ string last_change_label= "";
string expires = GetString (user["shadowExpire"]:nil, "0");
if (expires == "")
expires = "0";
@@ -635,12 +636,12 @@
{
map out = (map)SCR::Execute (.target.bash_output, sformat ("date --date='1970-01-01 00:00:01 %1 days' +\"%%x\"", last_change));
// label (date of last password change)
- last_change = out["stdout"]:_("Unknown");
+ last_change_label = out["stdout"]:_("Unknown");
}
else
{
// label (date of last password change)
- last_change = _("Never");
+ last_change_label = _("Never");
}
if (expires != "0" && expires != "-1" && expires != "")
{
@@ -656,7 +657,13 @@
`HSquash(`VBox(
`Left (`Label (sformat (
// label
- _("Last Password Change: %1"), last_change ))),
+ _("Last Password Change: %1"), last_change_label ))),
+ `VSpacing (0.2),
+ `Left (
+ // check box label
+ `CheckBox (`id (`force_pw), _("Force Password Change"),
+ last_change == "0")
+ ),
`VSpacing (1),
`IntField (`id ("shadowWarning"),
// intfield label
@@ -1480,6 +1487,11 @@
}
}
}
+ if (UI::QueryWidget (`id (`force_pw), `Value) == true)
+ {
+ // force password change
+ user["shadowLastChange"] = "0";
+ }
}
// inside plugins dialog
@@ -1668,6 +1680,11 @@
if (ret == `passwordsettings)
{
UI::ReplaceWidget(`tabContents, get_password_term ());
+ if (GetString (user["shadowLastChange"]:nil, "0") == "0")
+ {
+ // forcing password change cannot be undone
+ UI::ChangeWidget (`id (`force_pw), `Enabled, false);
+ }
Wizard::SetHelpText (EditUserPasswordDialogHelp());
current = ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/helps.ycp new/yast2-users-2.17.3/src/helps.ycp
--- old/yast2-users-2.17.2/src/helps.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/helps.ycp 2008-07-24 15:38:10.000000000 +0200
@@ -470,8 +470,11 @@
* @return string help text
*/
define string EditUserPasswordDialogHelp() ``{
-// Help text 1/5
- return _("<p>
+ // Help text 1/6
+ return _("<p>Activate <b>Force Password Change</b> to force user to change the password at the next login. If <b>Last Password Change</b> is set to <i>Never</i>, user will be forced to change the password.</p>") +
+
+// Help text 2/6
+_("<p>
<b>Days before Password Expiration to Issue Warning</B><BR>
Users can be warned before their passwords expire. Set
how long before expiration the warning should be issued. Set -1 to disable
@@ -479,24 +482,24 @@
</p>
")
+
-// Help text 2/5
+// Help text 3/6
_("<P><B>Days after Password Expires with Usable Login</B><BR>
Users can log in after their passwords have expired. Set how many days to
allow login. Use -1 for unlimited access.
</P>
")
+
-//Help text 3/5
+//Help text 4/6
_("<P><B>Maximum Number of Days for the Same Password</B><BR>Set how many days a user
can use the same password before it expires.</P>
")
+
-// Help text 4/5
+// Help text 5/6
_("<P><B>Minimum Number of Days for the Same Password</B><BR>Set the minimum age of
a password before a user is allowed to change it.</P>
")
+
-// Help text 5/5 : Don't reorder letters YYYY-MM-DD, date must be set in this format
+// Help text 6/6 : Don't reorder letters YYYY-MM-DD, date must be set in this format
_("<P><B>Expiration Date</B><BR>Set the date when this account expires.
The date must be in the format YYYY-MM-DD.
Leave it empty if this account never expires.</P>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/inst_root_first.ycp new/yast2-users-2.17.3/src/inst_root_first.ycp
--- old/yast2-users-2.17.2/src/inst_root_first.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/inst_root_first.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -5,7 +5,7 @@
* Dialog for setting root's password during 1st stage of the installation
* Authors: Jiri Suchomel
*
- * $Id: inst_root_first.ycp 48906 2008-07-08 08:33:36Z jsuchome $
+ * $Id: inst_root_first.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
textdomain "users";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/inst_root.ycp new/yast2-users-2.17.3/src/inst_root.ycp
--- old/yast2-users-2.17.2/src/inst_root.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/inst_root.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -14,7 +14,7 @@
*
* Authors: Klaus K�mpf
*
- * $Id: inst_root.ycp 48906 2008-07-08 08:33:36Z jsuchome $
+ * $Id: inst_root.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
textdomain "users";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/inst_user_first.ycp new/yast2-users-2.17.3/src/inst_user_first.ycp
--- old/yast2-users-2.17.2/src/inst_user_first.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/inst_user_first.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Dialog for creating the first user during installation
* Authors: Jiri Suchomel
*
- * $Id: inst_user_first.ycp 48906 2008-07-08 08:33:36Z jsuchome $
+ * $Id: inst_user_first.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
import "Arch";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/inst_user.ycp new/yast2-users-2.17.3/src/inst_user.ycp
--- old/yast2-users-2.17.2/src/inst_user.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/inst_user.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -7,7 +7,7 @@
*
* Purpose: Start user management module from within installation workflow
*
- * $Id: inst_user.ycp 48413 2008-06-19 08:16:54Z jsuchome $
+ * $Id: inst_user.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/users_auto.ycp new/yast2-users-2.17.3/src/users_auto.ycp
--- old/yast2-users-2.17.2/src/users_auto.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/users_auto.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: users_auto.ycp 20592 2004-12-17 09:35:25Z jsuchome $
+ * $Id: users_auto.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*
* This is a client for autoinstallation. It takes its arguments,
* goes through the configuration and return the setting.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/users_plugin_ldap_all.ycp new/yast2-users-2.17.3/src/users_plugin_ldap_all.ycp
--- old/yast2-users-2.17.2/src/users_plugin_ldap_all.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/users_plugin_ldap_all.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -12,7 +12,7 @@
* Authors:
* Jiri Suchomel
*
- * $Id: users_plugin_ldap_all.ycp 45728 2008-03-26 09:56:17Z jsuchome $
+ * $Id: users_plugin_ldap_all.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/users_plugin_ldap_shadowaccount.ycp new/yast2-users-2.17.3/src/users_plugin_ldap_shadowaccount.ycp
--- old/yast2-users-2.17.2/src/users_plugin_ldap_shadowaccount.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/users_plugin_ldap_shadowaccount.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -12,7 +12,7 @@
* Authors:
* Jiri Suchomel
*
- * $Id: users_plugin_ldap_shadowaccount.ycp 45728 2008-03-26 09:56:17Z jsuchome $
+ * $Id: users_plugin_ldap_shadowaccount.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/Users.pm new/yast2-users-2.17.3/src/Users.pm
--- old/yast2-users-2.17.2/src/Users.pm 2008-07-21 15:17:24.000000000 +0200
+++ new/yast2-users-2.17.3/src/Users.pm 2008-07-21 16:08:42.000000000 +0200
@@ -4,7 +4,7 @@
# Package: Configuration of users and groups
# Summary: I/O routines + main data structures
#
-# $Id: Users.pm 47757 2008-05-21 12:37:23Z jsuchome $
+# $Id: Users.pm 49295 2008-07-21 14:10:36Z jsuchome $
#
package Users;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/users_proposal.ycp new/yast2-users-2.17.3/src/users_proposal.ycp
--- old/yast2-users-2.17.2/src/users_proposal.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/users_proposal.ycp 2008-08-01 11:59:47.000000000 +0200
@@ -3,7 +3,7 @@
* Author: Jiri Suchomel
* Purpose: Proposal for user and root setting
*
- * $Id: users_proposal.ycp 46588 2008-04-14 14:06:23Z jsuchome $
+ * $Id: users_proposal.ycp 49567 2008-08-01 10:01:55Z jsuchome $
*/
{
textdomain "users";
@@ -94,7 +94,7 @@
if (UsersSimple::EncryptionMethod () != "blowfish")
{
// summary line
- rest = sformat (_("Password Encrypttion Method: %1"),
+ rest = sformat (_("Password Encryption Method: %1"),
encoding2label[UsersSimple::EncryptionMethod ()]:"");
}
ret = $[
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/src/widgets.ycp new/yast2-users-2.17.3/src/widgets.ycp
--- old/yast2-users-2.17.2/src/widgets.ycp 2008-07-21 14:51:53.000000000 +0200
+++ new/yast2-users-2.17.3/src/widgets.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Widgets definitions and helper functions
* Authors: Jiri Suchomel
*
- * $Id: widgets.ycp 45217 2008-03-05 14:52:46Z jsuchome $
+ * $Id: widgets.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/testsuite/tests/ConvertMap.ycp new/yast2-users-2.17.3/testsuite/tests/ConvertMap.ycp
--- old/yast2-users-2.17.2/testsuite/tests/ConvertMap.ycp 2008-07-21 14:39:31.000000000 +0200
+++ new/yast2-users-2.17.3/testsuite/tests/ConvertMap.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -1,7 +1,7 @@
/**
* Test for UsersLDAP::ConvertMap
* Author: Jiri Suchomel
- * $Id: ConvertMap.ycp 25712 2005-09-29 14:20:52Z jsuchome $
+ * $Id: ConvertMap.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
// testedfiles: Users.pm UsersLDAP.pm
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/testsuite/tests/EditUser.ycp new/yast2-users-2.17.3/testsuite/tests/EditUser.ycp
--- old/yast2-users-2.17.2/testsuite/tests/EditUser.ycp 2008-07-21 14:38:07.000000000 +0200
+++ new/yast2-users-2.17.3/testsuite/tests/EditUser.ycp 2008-07-21 16:08:42.000000000 +0200
@@ -4,7 +4,7 @@
* Summary : Test of Users::EditUser function
* Author : Jiri Suchomel
*
- * $Id: EditUser.ycp 42127 2007-11-16 14:30:35Z jsuchome $
+ * $Id: EditUser.ycp 49295 2008-07-21 14:10:36Z jsuchome $
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.2/VERSION new/yast2-users-2.17.3/VERSION
--- old/yast2-users-2.17.2/VERSION 2008-07-21 14:15:37.000000000 +0200
+++ new/yast2-users-2.17.3/VERSION 2008-07-24 15:42:49.000000000 +0200
@@ -1 +1 @@
-2.17.2
+2.17.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org