Author: jsuchome Date: Fri Oct 19 11:13:12 2007 New Revision: 41472 URL: http://svn.opensuse.org/viewcvs/yast?rev=41472&view=rev Log: - clear nscd cache instead of restarting nscd (#333305) - 2.16.0 Modified: trunk/samba-client/VERSION trunk/samba-client/package/yast2-samba-client.changes trunk/samba-client/src/SambaWinbind.pm Modified: trunk/samba-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/VERSION?rev=41472&r1=41471&r2=41472&view=diff ============================================================================== --- trunk/samba-client/VERSION (original) +++ trunk/samba-client/VERSION Fri Oct 19 11:13:12 2007 @@ -1 +1 @@ -2.15.11 +2.16.0 Modified: trunk/samba-client/package/yast2-samba-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/package/yast2-samba-client.changes?rev=41472&r1=41471&r2=41472&view=diff ============================================================================== --- trunk/samba-client/package/yast2-samba-client.changes (original) +++ trunk/samba-client/package/yast2-samba-client.changes Fri Oct 19 11:13:12 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Oct 19 11:02:59 CEST 2007 - jsuchome@suse.cz + +- clear nscd cache instead of restarting nscd (#333305) +- 2.16.0 + +------------------------------------------------------------------- Thu Aug 2 17:34:14 CEST 2007 - jsuchome@suse.cz - show error popup when installation of required packages fails Modified: trunk/samba-client/src/SambaWinbind.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/src/SambaWinbind.pm?rev=41472&r1=41471&r2=41472&view=diff ============================================================================== --- trunk/samba-client/src/SambaWinbind.pm (original) +++ trunk/samba-client/src/SambaWinbind.pm Fri Oct 19 11:13:12 2007 @@ -89,8 +89,9 @@ y2error("Nsswitch->Write() failed") if (!$ret); # remove the passwd and group cache for nscd - if (!$write_only && Service->Status ("nscd") == 0) { - Service->Restart ("nscd"); + if (!$write_only && PackageSystem->Installed ("nscd")) { + SCR->Execute (".target.bash", "/usr/sbin/nscd -i passwd"); + SCR->Execute (".target.bash", "/usr/sbin/nscd -i group"); } # restart D-BUS (#174589) FIXME this should be elsewhere if (!$write_only && Service->Status ("dbus") == 0) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org