Author: jsuchome Date: Fri Apr 11 09:47:47 2008 New Revision: 46382 URL: http://svn.opensuse.org/viewcvs/yast?rev=46382&view=rev Log: prepare for the possibility that inst_auth is called... Modified: trunk/users/src/inst_auth.ycp Modified: trunk/users/src/inst_auth.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_auth.ycp?rev=46382... ============================================================================== --- trunk/users/src/inst_auth.ycp (original) +++ trunk/users/src/inst_auth.ycp Fri Apr 11 09:47:47 2008 @@ -82,6 +82,19 @@ //----------------------------------------- main body ---------------------- +// first check if some settings were configured in first stage +if (!GetInstArgs::going_back()) { + Users::ReadSystemDefaults (false); + UsersSimple::Read (); + if (UsersSimple::AfterAuth () != "users" || UsersSimple::GetUser () != $[]) + { + Users::SetKerberosConfiguration (UsersSimple::KerberosConfiguration ()); + Users::SetAfterAuth (UsersSimple::AfterAuth ()); + y2milestone ("skipping authentication dialog..."); + return `next; + } +} + // Check if lan is configured list<string> net_devices = NetworkInterfaces::ListDevicesExcept("dialup"); y2debug("net_devices: %1", net_devices); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org