Mailinglist Archive: opensuse-commit (1092 mails)

< Previous Next >
commit yast2-users
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 27 Feb 2008 10:16:51 +0100
  • Message-id: <20080227091651.E6D2E678338@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-users
checked in at Wed Feb 27 10:16:51 CET 2008.

--------
--- yast2-users/yast2-users.changes 2008-02-25 16:30:58.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes
2008-02-27 10:01:41.211971000 +0100
@@ -1,0 +2,6 @@
+Wed Feb 27 09:52:03 CET 2008 - jsuchome@xxxxxxx
+
+- fixed enabling LDAP users with password policy (bnc#364837)
+- 2.16.13
+
+-------------------------------------------------------------------

Old:
----
yast2-users-2.16.11.tar.bz2

New:
----
yast2-users-2.16.13.tar.bz2

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.e19438/_old 2008-02-27 10:16:45.000000000 +0100
+++ /var/tmp/diff_new_pack.e19438/_new 2008-02-27 10:16:45.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.16.11)
+# spec file for package yast2-users (Version 2.16.13)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@


Name: yast2-users
-Version: 2.16.11
+Version: 2.16.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.16.11.tar.bz2
+Source0: yast2-users-2.16.13.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
@@ -46,7 +46,7 @@
Jiri Suchomel <jsuchome@xxxxxxx>

%prep
-%setup -n yast2-users-2.16.11
+%setup -n yast2-users-2.16.13

%build
%{prefix}/bin/y2tool y2autoconf
@@ -89,6 +89,9 @@
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Wed Feb 27 2008 jsuchome@xxxxxxx
+- fixed enabling LDAP users with password policy (bnc#364837)
+- 2.16.13
* Mon Feb 25 2008 jsuchome@xxxxxxx
- proposing of username uses same method on installed system
as in installation

++++++ yast2-users-2.16.11.tar.bz2 -> yast2-users-2.16.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-users-2.16.11/src/dialogs.ycp
new/yast2-users-2.16.13/src/dialogs.ycp
--- old/yast2-users-2.16.11/src/dialogs.ycp 2008-02-25 15:07:25.000000000
+0100
+++ new/yast2-users-2.16.13/src/dialogs.ycp 2008-02-25 16:31:10.000000000
+0100
@@ -5,7 +5,7 @@
* Authors: Johannes Buchhold <jbuch@xxxxxxx>,
* Jiri Suchomel <jsuchome@xxxxxxx>
*
- * $Id: dialogs.ycp 44478 2008-02-15 07:34:29Z jsuchome $
+ * $Id: dialogs.ycp 44994 2008-02-25 15:31:10Z jsuchome $
*/

{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-users-2.16.11/src/inst_user_first.ycp
new/yast2-users-2.16.13/src/inst_user_first.ycp
--- old/yast2-users-2.16.11/src/inst_user_first.ycp 2008-02-25
16:14:02.000000000 +0100
+++ new/yast2-users-2.16.13/src/inst_user_first.ycp 2008-02-27
09:55:21.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Dialog for creating the first user during installation
* Authors: Jiri Suchomel <jsuchome@xxxxxxx>
*
- * $Id: inst_user_first.ycp 44768 2008-02-21 15:35:17Z jsuchome $
+ * $Id: inst_user_first.ycp 44994 2008-02-25 15:31:10Z jsuchome $
*/
{
import "Arch";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore
old/yast2-users-2.16.11/src/UsersPluginLDAPPasswordPolicy.pm
new/yast2-users-2.16.13/src/UsersPluginLDAPPasswordPolicy.pm
--- old/yast2-users-2.16.11/src/UsersPluginLDAPPasswordPolicy.pm
2008-02-25 14:30:50.000000000 +0100
+++ new/yast2-users-2.16.13/src/UsersPluginLDAPPasswordPolicy.pm
2008-02-27 09:51:20.000000000 +0100
@@ -41,6 +41,11 @@
# if Password Policy is enabled on the server
my $ppolicy_enabled = undef;

+
+# value to write into pwdaccountlockedtime if user should be disabled
+# see slapo-ppolicy man-page
+my $disabled_user = "000001010000Z";
+
##----------------------------------------
##--------------------- internal functions

@@ -260,7 +265,7 @@
my ($self, $config, $data) = @_;
y2debug ("Disable LDAPAll called");

- $data->{'pwdaccountlockedtime'} = "000001010000Z"; # see slapo-ppolicy
man-page
+ $data->{'pwdaccountlockedtime'} = $disabled_user;
return $data;
}

@@ -324,6 +329,13 @@
");
return undef;
}
+ if (!defined $config->{"org_data"}{"enabled"}) {
+ $data->{"enabled"} = YaST::YCP::Boolean (1);
+ if (($config->{"org_data"}{"pwdaccountlockedtime"} || "") eq
$disabled_user) {
+ $data->{"enabled"} = YaST::YCP::Boolean (0);
+ y2milestone ("user is disabled");
+ }
+ }
return $data;
}

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-users-2.16.11/src/widgets.ycp
new/yast2-users-2.16.13/src/widgets.ycp
--- old/yast2-users-2.16.11/src/widgets.ycp 2008-02-25 13:13:58.000000000
+0100
+++ new/yast2-users-2.16.13/src/widgets.ycp 2008-02-25 16:31:10.000000000
+0100
@@ -4,7 +4,7 @@
* Summary: Widgets definitions and helper functions
* Authors: Jiri Suchomel <jsuchome@xxxxxxx>
*
- * $Id: widgets.ycp 43901 2008-01-25 11:20:19Z jsuchome $
+ * $Id: widgets.ycp 44994 2008-02-25 15:31:10Z jsuchome $
*/
{

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/yast2-users-2.16.11/VERSION
new/yast2-users-2.16.13/VERSION
--- old/yast2-users-2.16.11/VERSION 2008-02-21 16:23:57.000000000 +0100
+++ new/yast2-users-2.16.13/VERSION 2008-02-27 09:54:58.000000000 +0100
@@ -1 +1 @@
-2.16.11
+2.16.13


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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread