[yast-commit] r62262 - in /trunk/samba-client: VERSION package/yast2-samba-client.changes src/SambaAD.pm src/routines.ycp src/samba-client.ycp
Author: jsuchome Date: Thu Jul 15 13:44:50 2010 New Revision: 62262 URL: http://svn.opensuse.org/viewcvs/yast?rev=62262&view=rev Log: - tell kerberos client not to check for DNS when saving AD configuration (bnc#622235) - fixed joining from CLI - added API for setting the realm - 2.19.7 Modified: trunk/samba-client/VERSION trunk/samba-client/package/yast2-samba-client.changes trunk/samba-client/src/SambaAD.pm trunk/samba-client/src/routines.ycp trunk/samba-client/src/samba-client.ycp Modified: trunk/samba-client/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/VERSION?rev=62262&r1... ============================================================================== --- trunk/samba-client/VERSION (original) +++ trunk/samba-client/VERSION Thu Jul 15 13:44:50 2010 @@ -1 +1 @@ -2.19.6 +2.19.7 Modified: trunk/samba-client/package/yast2-samba-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/package/yast2-samba-... ============================================================================== --- trunk/samba-client/package/yast2-samba-client.changes (original) +++ trunk/samba-client/package/yast2-samba-client.changes Thu Jul 15 13:44:50 2010 @@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Thu Jul 15 13:44:02 CEST 2010 - jsuchome@suse.cz + +- tell kerberos client not to check for DNS when saving AD + configuration (bnc#622235) +- fixed joining from CLI +- added API for setting the realm +- 2.19.7 + +------------------------------------------------------------------- Tue Jun 1 10:37:55 CEST 2010 - jsuchome@suse.cz - install needed packages before trying to join (bnc#610486) Modified: trunk/samba-client/src/SambaAD.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/src/SambaAD.pm?rev=6... ============================================================================== --- trunk/samba-client/src/SambaAD.pm (original) +++ trunk/samba-client/src/SambaAD.pm Thu Jul 15 13:44:50 2010 @@ -315,6 +315,19 @@ return $realm; } +# set the new value of realm +# return true if the new value is different from the previous one +BEGIN{$TYPEINFO{SetRealm}=["function","boolean","string"]} +sub SetRealm { + my ($self, $new_realm) = @_; + if ($new_realm eq $realm) { + return FALSE; + } + $realm = $new_realm; + return TRUE; +} + + # Change samba configuration file (/etc/samba/smb.conf) # # @param status a new status @@ -373,6 +386,7 @@ "trusted_servers" => $ads } }); + Kerberos->dns_used (FALSE); Kerberos->modified (TRUE); Kerberos->Write (); Progress->set ($prev); Modified: trunk/samba-client/src/routines.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/src/routines.ycp?rev... ============================================================================== --- trunk/samba-client/src/routines.ycp (original) +++ trunk/samba-client/src/routines.ycp Thu Jul 15 13:44:50 2010 @@ -116,7 +116,7 @@ "user" : user, "password" : pass ] : nil; - if (SambaAD::ADS () != "" && ret == `ok) + if (SambaAD::ADS () != "" && ret == `ok && what != `leave) { string machine = (string)UI::QueryWidget (`id (`machines), `Value); if (machine != default_id) Modified: trunk/samba-client/src/samba-client.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/samba-client/src/samba-client.ycp... ============================================================================== --- trunk/samba-client/src/samba-client.ycp (original) +++ trunk/samba-client/src/samba-client.ycp Thu Jul 15 13:44:50 2010 @@ -61,6 +61,7 @@ SambaAD::ReadADS (domain); if (SambaAD::ADS () != "") { + domain = SambaAD::GetWorkgroup (domain); SambaAD::ReadRealm (); } @@ -102,6 +103,7 @@ SambaAD::ReadADS (domain); if (SambaAD::ADS () != "") { + domain = SambaAD::GetWorkgroup (domain); SambaAD::ReadRealm (); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org