[yast-commit] [ci_new_pac] JFYI yast2-users -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-users -> sle12 Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-users/yast2-users.changes 2014-03-12 17:04:55.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2-users/yast2-users.changes 2014-03-13 16:49:30.000000000 +0100 @@ -1,0 +2,13 @@ +Thu Mar 13 15:35:00 UTC 2014 - varkoly@suse.com + +- Adapt testsuit +- 3.1.16 + +------------------------------------------------------------------- +Wed Mar 12 16:15:56 UTC 2014 - varkoly@suse.com + +- Add plugin for creating kerberos accounts +- Modify check for aviability of LDAP +- 3.1.15 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-auth-server - yast2-ftp-server - yast2-inetd - yast2-mail - yast2-samba-server - yast2-schema - yast2-sudo - yast2-users ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-users (Old) and /mounts/work_src_done/SLE12/yast2-users (BS:build ID:34322 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-users", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-users-3.1.14.tar.bz2 New: ---- yast2-users-3.1.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.qGYuYW/_old 2014-03-14 11:51:55.000000000 +0100 +++ /var/tmp/diff_new_pack.qGYuYW/_new 2014-03-14 11:51:55.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.14 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-users-3.1.14.tar.bz2 -> yast2-users-3.1.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/package/yast2-users.changes new/yast2-users-3.1.16/package/yast2-users.changes --- old/yast2-users-3.1.14/package/yast2-users.changes 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/package/yast2-users.changes 2014-03-13 16:44:32.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Thu Mar 13 15:35:00 UTC 2014 - varkoly@suse.com + +- Adapt testsuit +- 3.1.16 + +------------------------------------------------------------------- +Wed Mar 12 16:15:56 UTC 2014 - varkoly@suse.com + +- Add plugin for creating kerberos accounts +- Modify check for aviability of LDAP +- 3.1.15 + +------------------------------------------------------------------- Mon Mar 3 10:31:26 UTC 2014 - ckornacker@suse.com - migrate ldap/kerberos-client to auth-client (bnc#865812) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/package/yast2-users.spec new/yast2-users-3.1.16/package/yast2-users.spec --- old/yast2-users-3.1.14/package/yast2-users.spec 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/package/yast2-users.spec 2014-03-13 16:44:32.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.14 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/src/Makefile.am new/yast2-users-3.1.16/src/Makefile.am --- old/yast2-users-3.1.14/src/Makefile.am 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/src/Makefile.am 2014-03-13 16:44:32.000000000 +0100 @@ -12,6 +12,7 @@ modules/UsersCache.pm \ modules/UsersPluginLDAPAll.pm \ modules/UsersPluginLDAPPasswordPolicy.pm \ + modules/UsersPluginKerberos.pm \ modules/UsersPasswd.pm module1dir = @moduledir@/YaPI @@ -64,4 +65,4 @@ EXTRA_DIST = $(module_DATA) $(module1_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(agent_SCRIPTS) $(schemafiles_DATA) $(desktop_DATA) -include $(top_srcdir)/Makefile.am.common \ No newline at end of file +include $(top_srcdir)/Makefile.am.common diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/src/modules/UsersLDAP.pm new/yast2-users-3.1.16/src/modules/UsersLDAP.pm --- old/yast2-users-3.1.14/src/modules/UsersLDAP.pm 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/src/modules/UsersLDAP.pm 2014-03-13 16:44:32.000000000 +0100 @@ -190,20 +190,10 @@ my $self = shift; my $compat = 0; - my $passwd_source = SCR->Read (".etc.nsswitch_conf.passwd"); - if (defined $passwd_source) { - foreach my $source (split (/ /, $passwd_source)) { - if ($source eq "ldap" || $source eq "sss") { return 1; } - if ($source eq "compat") { $compat = 1; } - } - } - if ($compat) { - $passwd_source = SCR->Read (".etc.nsswitch_conf.passwd_compat"); - if (defined $passwd_source) { - foreach my $source (split (/ /, $passwd_source)) { - if ($source eq "ldap") { return 1; } - } - } + my $binddn = SCR->Read (".ldap_conf.v.binddn"); + + if (defined $binddn) { + return 1; } return 0; } @@ -225,7 +215,6 @@ ReadLdap (); } Ldap->SetGUI ($use_gui); - my $ldap_mesg = Ldap->LDAPInitWithTLSCheck ({}); if ($ldap_mesg ne "") { Ldap->LDAPErrorMessage ("init", $ldap_mesg); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/src/modules/UsersPluginKerberos.pm new/yast2-users-3.1.16/src/modules/UsersPluginKerberos.pm --- old/yast2-users-3.1.14/src/modules/UsersPluginKerberos.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-users-3.1.16/src/modules/UsersPluginKerberos.pm 2014-03-13 16:44:32.000000000 +0100 @@ -0,0 +1,255 @@ +#! /usr/bin/perl -w +# ------------------------------------------------------------------------------ +# Copyright (c) 2014 SUSE LINUX Products All Rights Reserved. +# +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of version 2 of the GNU General Public License as published by the +# Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, contact Novell, Inc. +# +# To contact Novell about this file by physical or electronic mail, you may find +# current contact information at www.novell.com. +# ------------------------------------------------------------------------------ +# + +# +# This is the API part of UsersPluginKerberos plugin: +# Creates the Kerberos principials +# +# For documentation and examples of function arguments and return values, see +# UsersPluginLDAPAll.pm + +package UsersPluginKerberos; + +use strict; + +use YaST::YCP qw(:LOGGING sformat); +use YaPI; +use Data::Dumper; + +textdomain("users"); + +our %TYPEINFO; + +##-------------------------------------- +##--------------------- global imports + +YaST::YCP::Import ("SCR"); + +##-------------------------------------- +##--------------------- global variables + +# error message, returned when some plugin function fails +my $error = ""; + +# internal name +my $name = "UsersPluginKerberos"; + +##---------------------------------------- +##--------------------- internal functions + +# internal function: +# check if given key (second parameter) is contained in a list (1st parameter) +# if 3rd parameter is true (>0), ignore case +sub contains { + my ($list, $key, $ignorecase) = @_; + if (!defined $list || ref ($list) ne "ARRAY" || @{$list} == 0) { + return 0; + } + if ($ignorecase) { + if ( grep /^\Q$key\E$/i, @{$list} ) { + return 1; + } + } else { + if ( grep /^\Q$key\E$/, @{$list} ) { + return 1; + } + } + return 0; +} + +##------------------------------------------ +##--------------------- global API functions + +# All functions have 2 "any" parameters: these mean: +# 1st: configuration map (hash) - e.g. saying if we work with user or group +# 2nd: data map (hash) of user/group to work with +# for details, see UsersPluginLDAPAll.pm + +# Return the names of provided functions +BEGIN { $TYPEINFO{Interface} = ["function", ["list", "string"], "any", "any"];} +sub Interface { + + my $self = shift; + my @interface = ( + "Name", + "Summary", + "Restriction", + "Write", + "Add", + "AddBefore", + "Edit", + "EditBefore", + "Interface", + "PluginPresent", + "PluginRemovable", + "Error", + ); + return \@interface; +} + +# return error message, generated by plugin +BEGIN { $TYPEINFO{Error} = ["function", "string", "any", "any"];} +sub Error { + + return $error; +} + + +# return plugin name, used for GUI (translated) +BEGIN { $TYPEINFO{Name} = ["function", "string", "any", "any"];} +sub Name { + + # plugin name + return __("Kerberos Configuration"); +} + +##------------------------------------ +# Return plugin summary (to be shown in table with all plugins) +BEGIN { $TYPEINFO{Summary} = ["function", "string", "any", "any"];} +sub Summary { + + my ($self, $config, $data) = @_; + + # user plugin summary (table item) + return __("No Kerberos Management for Groups") if ($config->{"what"} eq "group"); + + # user plugin summary (table item) + return __("Manage Kerberos Principials"); +} + +##------------------------------------ +# Checks the current data map of user/group (2nd parameter) and returns +# true if given user/group has this plugin enabled +BEGIN { $TYPEINFO{PluginPresent} = ["function", "boolean", "any", "any"];} +sub PluginPresent { + my ($self, $config, $data) = @_; + + if ($config->{"what"} eq "group") { + y2debug ("Kerberos plugin not present"); + return 0; + } + my $out = SCR->Execute (".target.bash_output", '/usr/lib/mit/sbin/kadmin.local -nq "list_principals '.$data->{uid}.'*" | grep '.$data->{uid}.'*'); + if ($out->{"stdout"} =~ /^$data->{uid}/ ) { + y2milestone ("Kerberos plugin present"); + return 1; + } else { + y2milestone ("Kerberos plugin not present"); + return 0; + } +} + +##------------------------------------ +# Is it possible to remove this plugin from user/group: setting all quota +# values to 0. +BEGIN { $TYPEINFO{PluginRemovable} = ["function", "boolean", "any", "any"];} +sub PluginRemovable { + + return YaST::YCP::Boolean (0); +} + + +##------------------------------------ +# Type of objects this plugin is restricted to. +# Plugin is restricted to local users +BEGIN { $TYPEINFO{Restriction} = ["function", + ["map", "string", "any"], "any", "any"];} +sub Restriction { + + return { + "ldap" => 1, + "group" => 0, + "user" => 1 + }; +} + + +# this will be called at the beggining of Users::AddUser/AddGroup +# Check if it is possible to add this plugin here. +# (Could be called multiple times for one user/group) +BEGIN { $TYPEINFO{AddBefore} = ["function", + ["map", "string", "any"], + "any", "any"]; +} +sub AddBefore { + + my ($self, $config, $data) = @_; + + return $data; +} + +# This will be called at the end of Users::Add* : modify the object map +# with quota data +BEGIN { $TYPEINFO{Add} = ["function", ["map", "string", "any"], "any", "any"];} +sub Add { + + my ($self, $config, $data) = @_; + y2debug ("Add Kerveros called"); + return $data; +} + +# This will be called at the beggining of Users::EditUser/EditGroup +# Check if it is possible to add this plugin here. +# (Could be called multiple times for one user/group) +BEGIN { $TYPEINFO{EditBefore} = ["function", + ["map", "string", "any"], + "any", "any"]; +} +sub EditBefore { + + my ($self, $config, $data) = @_; + + return $data; +} + +# This will be called at the end of Users::Edit* : modify the object map +# with quota data +BEGIN { $TYPEINFO{Edit} = ["function", + ["map", "string", "any"], + "any", "any"]; +} +sub Edit { + my ($self, $config, $data) = @_; + y2debug ("Edit Kerberos called"); + return $data; +} + +# What should be done after user is finally written (this is called only once) +BEGIN { $TYPEINFO{Write} = ["function", "boolean", "any", "any"];} +sub Write { + + my ($self, $config, $data) = @_; + +#y2milestone(Dumper($data)); + if( $data->{what} eq 'add_user' ) { + my $out = SCR->Execute (".target.bash_output", '/usr/lib/mit/sbin/kadmin.local -q "addprinc -pw '.$data->{text_userpassword}.' '.$data->{uid}.'"'); + } + elsif( $data->{what} eq 'del_user' ) { + my $out = SCR->Execute (".target.bash_output", '/usr/lib/mit/sbin/kadmin.local -q "delprinc '.$data->{uid}.'"'); + } + elsif( $data->{what} eq 'edit_user' ) { + if( defined $data->{text_userpassword} ) { + my $out = SCR->Execute (".target.bash_output", '/usr/lib/mit/sbin/kadmin.local -q "change_password -pw '.$data->{text_userpassword}.' '.$data->{uid}.'"'); + } + } + return YaST::YCP::Boolean (1); +} +42 +# EOF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/AddGroup.out new/yast2-users-3.1.16/testsuite/tests/AddGroup.out --- old/yast2-users-3.1.14/testsuite/tests/AddGroup.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/AddGroup.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Dump local user names: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/AddUser.out new/yast2-users-3.1.16/testsuite/tests/AddUser.out --- old/yast2-users-3.1.14/testsuite/tests/AddUser.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/AddUser.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Dump ---- current user: @@ -50,6 +50,8 @@ Dump ---- check user after add: Dump There is a conflict between the entered Dump username and an existing username. +Dump The existing username might belong to a NIS or LDAP user. +Dump Dump Try another one. Dump ==================== uidNumber problems =================== Return diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/BuildAdditional.out new/yast2-users-3.1.16/testsuite/tests/BuildAdditional.out --- old/yast2-users-3.1.14/testsuite/tests/BuildAdditional.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/BuildAdditional.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Dump ---- current group: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/DeleteUser.out new/yast2-users-3.1.16/testsuite/tests/DeleteUser.out --- old/yast2-users-3.1.14/testsuite/tests/DeleteUser.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/DeleteUser.out 2014-03-13 16:44:32.000000000 +0100 @@ -8,7 +8,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Dump local users: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/DeleteUserCryptedDir.out new/yast2-users-3.1.16/testsuite/tests/DeleteUserCryptedDir.out --- old/yast2-users-3.1.14/testsuite/tests/DeleteUserCryptedDir.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/DeleteUserCryptedDir.out 2014-03-13 16:44:32.000000000 +0100 @@ -8,7 +8,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/EditUser.out new/yast2-users-3.1.16/testsuite/tests/EditUser.out --- old/yast2-users-3.1.14/testsuite/tests/EditUser.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/EditUser.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirCreate.out new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirCreate.out --- old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirCreate.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirCreate.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirEnlarge.out new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirEnlarge.out --- old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirEnlarge.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirEnlarge.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirRemove.out new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirRemove.out --- old/yast2-users-3.1.14/testsuite/tests/EditUserCryptedDirRemove.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/EditUserCryptedDirRemove.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/EditUsersGroups.out new/yast2-users-3.1.16/testsuite/tests/EditUsersGroups.out --- old/yast2-users-3.1.14/testsuite/tests/EditUsersGroups.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/EditUsersGroups.out 2014-03-13 16:44:32.000000000 +0100 @@ -8,7 +8,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/Read.out new/yast2-users-3.1.16/testsuite/tests/Read.out --- old/yast2-users-3.1.14/testsuite/tests/Read.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/Read.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/ReadLDAPAvailable.out new/yast2-users-3.1.16/testsuite/tests/ReadLDAPAvailable.out --- old/yast2-users-3.1.14/testsuite/tests/ReadLDAPAvailable.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/ReadLDAPAvailable.out 2014-03-13 16:44:32.000000000 +0100 @@ -1,6 +1,6 @@ -Read .etc.nsswitch_conf.passwd "ldap files" +Read .ldap_conf.v.binddn 0 Return true -Read .etc.nsswitch_conf.passwd "files" -Return false -Read .etc.nsswitch_conf.passwd "sss" +Read .ldap_conf.v.binddn 0 +Return true +Read .ldap_conf.v.binddn 0 Return true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/SelectUser.out new/yast2-users-3.1.16/testsuite/tests/SelectUser.out --- old/yast2-users-3.1.14/testsuite/tests/SelectUser.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/SelectUser.out 2014-03-13 16:44:32.000000000 +0100 @@ -9,7 +9,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Return Return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.14/testsuite/tests/YaPIGroupAdd.out new/yast2-users-3.1.16/testsuite/tests/YaPIGroupAdd.out --- old/yast2-users-3.1.14/testsuite/tests/YaPIGroupAdd.out 2014-03-12 13:39:35.000000000 +0100 +++ new/yast2-users-3.1.16/testsuite/tests/YaPIGroupAdd.out 2014-03-13 16:44:32.000000000 +0100 @@ -12,7 +12,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Execute .target.bash_output "echo 'gg' | grep '^[[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\\?$'" $["LANG":"C"] $["stdout":"gg"] Execute .target.bash "/bin/cp /etc/group /etc/group.YaST2save" 0 @@ -33,7 +33,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Execute .target.bash_output "echo 'gg2' | grep '^[[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\\?$'" $["LANG":"C"] $["stdout":"gg2"] Execute .target.bash "/bin/cp /etc/group /etc/group.YaST2save" 0 @@ -54,7 +54,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Execute .target.bash_output "echo 'gg3' | grep '^[[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\\?$'" $["LANG":"C"] $["stdout":"gg3"] Execute .target.bash "/bin/cp /etc/group /etc/group.YaST2save" 0 @@ -75,7 +75,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Execute .target.bash_output "echo 'gg4' | grep '^[[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\\?$'" $["LANG":"C"] $["stdout":"gg4"] Return User hh2 does not exist. @@ -91,7 +91,7 @@ Read .etc.default.useradd."umask" 0 Read .target.string "/etc/shells" 0 Read .etc.nsswitch_conf.passwd 0 -Read .etc.nsswitch_conf.passwd 0 +Read .ldap_conf.v.binddn 0 Write .target.ycp "/var/lib/YaST2/users.ycp" $[] true Execute .target.bash_output "echo 'root' | grep '^[[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\\?$'" $["LANG":"C"] $["stdout":"root"] Return There is a conflict between the entered continue with "q"... Checked in at Fri Mar 14 11:52:07 CET 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro