Author: locilka Date: Fri Feb 19 17:21:45 2010 New Revision: 60882 URL: http://svn.opensuse.org/viewcvs/yast?rev=60882&view=rev Log: - Re-added possibility to allow guest access (BNC #579993). - Fixed buggy behavior when security settings were manually changed by user in advanced options (BNC #553349). - Adjusted help according the current UI (BNC #580102). - 2.17.11 Modified: branches/SuSE-Code-11-SP1-Branch/samba-server/VERSION branches/SuSE-Code-11-SP1-Branch/samba-server/package/yast2-samba-server.changes branches/SuSE-Code-11-SP1-Branch/samba-server/src/dialogs.ycp branches/SuSE-Code-11-SP1-Branch/samba-server/src/helps.ycp Modified: branches/SuSE-Code-11-SP1-Branch/samba-server/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/samba-server/VERSION?rev=60882&r1=60881&r2=60882&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/samba-server/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/samba-server/VERSION Fri Feb 19 17:21:45 2010 @@ -1 +1 @@ -2.17.10 +2.17.11 Modified: branches/SuSE-Code-11-SP1-Branch/samba-server/package/yast2-samba-server.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/samba-server/package/yast2-samba-server.changes?rev=60882&r1=60881&r2=60882&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/samba-server/package/yast2-samba-server.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/samba-server/package/yast2-samba-server.changes Fri Feb 19 17:21:45 2010 @@ -1,4 +1,13 @@ ------------------------------------------------------------------ +------------------------------------------------------------------- +Fri Feb 19 16:55:02 CET 2010 - locilka@suse.cz + +- Re-added possibility to allow guest access (BNC #579993). +- Fixed buggy behavior when security settings were manually + changed by user in advanced options (BNC #553349). +- Adjusted help according the current UI (BNC #580102). +- 2.17.11 + +------------------------------------------------------------------- Mon Jan 25 17:00:20 CET 2010 - locilka@suse.cz - Import sets Modified to true (BNC #572670). Modified: branches/SuSE-Code-11-SP1-Branch/samba-server/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/samba-server/src/dialogs.ycp?rev=60882&r1=60881&r2=60882&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/samba-server/src/dialogs.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/samba-server/src/dialogs.ycp Fri Feb 19 17:21:45 2010 @@ -205,10 +205,11 @@ void BaseSettingsWidgetInit(string key) { UI::ChangeWidget(`id("workgroup_domainname"), `Value, SambaConfig::GlobalGetStr("workgroup", "")); - UI::ChangeWidget(`id("domain_controller"), `Value, getRole()); // initial for this dialog - initial_role = SambaRole::GetRole(); + // see also BNC #553349 + initial_role = getRole(); + UI::ChangeWidget(`id("domain_controller"), `Value, initial_role); y2milestone ("Initial role: %1", initial_role); } @@ -321,6 +322,8 @@ boolean allow_share = true; integer max_shares = 0; string shares_group = ""; +// Guest Access check-box, BNC #579993 +boolean guest_access = false; void InitUserShareWidgets () { max_shares = Samba::GetMaxShares (); @@ -332,11 +335,14 @@ allow_share = true; } + guest_access = allow_share && Samba::GetGuessAccess(); + shares_group = Samba::shares_group; UI::ChangeWidget (`id(`group), `Value, shares_group); UI::ChangeWidget (`id(`max_shares), `Value, max_shares); UI::ChangeWidget (`id(`share_ch), `Value, allow_share); + UI::ChangeWidget (`id(`guest_ch), `Value, guest_access); } void AdjustUserShareWidgets () { @@ -906,6 +912,8 @@ "allow_share" : allow_share, "group" : shares_group, "max_shares" : max_shares, + // BNC #579993, Allow guest access + "guest_access": guest_access, ]), `HSpacing(1) ), Modified: branches/SuSE-Code-11-SP1-Branch/samba-server/src/helps.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/samba-server/src/helps.ycp?rev=60882&r1=60881&r2=60882&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/samba-server/src/helps.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/samba-server/src/helps.ycp Fri Feb 19 17:21:45 2010 @@ -175,32 +175,38 @@ creating new users and groups. If the administration DN requires a password for write access, set the password using <b>Set LDAP Administration Password</b>.</p> -")+ +") + /* Advanced SAMBA configuration dialog help 3/3 */ _("<p><b>Note:</b> Settings are saved before the LDAP administration password is set.</p> "), - /* passdb backend configuration dialog help 1/7 */ + /* passdb backend configuration dialog help 1 */ "passdb_edit" : _("<p><b><big>User Authentication Information Back-Ends</big></b><br> Here, choose where the Samba server should look for the authentication information. Samba does not support multiple back-ends at once anymore, only one is allowed.</p> ") + - /* passdb backend configuration dialog help 2/7 */ + + /* passdb backend configuration dialog help 2 */ +_("<p>If you want to change the user authentication source, remove the current one first +by pressing <b>Delete</b> button and add a new one with <b>Add</b> button.</p> +") + + + /* passdb backend configuration dialog help 3 */ _("<p><b>smbpasswd file</b> is the file using the same format as the previous versions of Samba. Its layout is similar to the passwd file. It is possible to have a multiple files in this format.</p> ") + - /* passdb backend configuration dialog help 3/7 */ + /* passdb backend configuration dialog help 4 */ _("<p><b>LDAP</b> is a URL of an LDAP server to check for the information.</p> ") + - /* passdb backend configuration dialog help 4/7 */ + /* passdb backend configuration dialog help 5 */ _("<p><b>TDB database</b> uses an internal Samba database binary format to store and look up the information.</p> -") + +"), // we don't seem to support mysql anymore // /* passdb backend configuration dialog help 5/7 */ @@ -208,12 +214,13 @@ //to store and look up the information.</p> //") + +// not in UI anymore /* passdb backend configuration dialog help 6/7 */ -_("<p>Use <b>Add</b> to add a new configuration option, <b>Edit</b> to modify -an existing option, and <b>Delete</b> to delete an option. -Use <b>Up</b> and <b>Down</b> to change the order -of the back-ends.</p> -"), +//_("<p>Use <b>Add</b> to add a new configuration option, <b>Edit</b> to modify +//an existing option, and <b>Delete</b> to delete an option. +//Use <b>Up</b> and <b>Down</b> to change the order +//of the back-ends.</p> +//"), // no such button there // /* passdb backend configuration dialog help 7/7 */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org