[Bug 276441] New: Localized workgroup parameter
https://bugzilla.novell.com/show_bug.cgi?id=276441 Summary: Localized workgroup parameter Product: openSUSE 10.3 Version: Alpha 4 Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: lmuelle@novell.com QAContact: jsrain@novell.com CC: locilka@novell.com, samba-maintainers@SuSE.de With Novell Samba packages 3.0.25 revision 1307 and later the global workgroup parameter will be set to WORKGROUP This is the same default as Microsoft uses. But Microsoft uses localized defaults. In german language it's for example ARBEITSGRUPPE. Therefore YaST samba-server and samba-client should change the value for workgroup depending on the locale the user set for the system. YaST should modify the workgroup setting only if: a) no file exits inside /var/log/samba/. In this case the user might have already used any Samba daemons before. and b) smb.conf is unmodified from the RPM point of view. IIRC different YaST modules are able to share common functions. To create the required translation table it's possible to check Microsoft's knowledge base in the different languages or create Novell internal a request to people familiar with localized Microsoft versions. Jiri and Lukas: Please decide yourself whom of you will implement this feature. If this is to late for the 10.3. release feel free to move it to the next release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lmuelle@novell.com ------- Comment #1 from jsuchome@novell.com 2007-05-28 00:59 MST ------- Sorry but I do not understand what behavior of YaST modules do you require. What should be translated? YaST modules are already translated, do you mean some keys in smb.conf? Or parameter to some call? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 lmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lmuelle@novell.com | ------- Comment #2 from lmuelle@novell.com 2007-05-28 05:58 MST ------- The _value_ used for the global parameter 'workgroup' should be able to get a localized version under the conditions described in the initial comment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lmuelle@novell.com ------- Comment #3 from jsuchome@novell.com 2007-05-28 06:02 MST ------- Sorry, but I still don't understand. Do you mean that user should be able to enter localized version of workgroup? Or that YaST should show it somehow - but from where does it get the correct value? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 lmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lmuelle@novell.com | ------- Comment #4 from lmuelle@novell.com 2007-05-28 06:13 MST ------- YaST should use a localized default value derivated from the locale the user decided while the system install. A translation table is required to provide the localized strings. Currently the table is: language translation of WORKGROUP German ARBEITSGRUPPE * WORKGROUP While * is the default fallback if there is no translation available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 lmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rhafer@novell.com ------- Comment #5 from lmuelle@novell.com 2007-05-28 07:11 MST ------- An argument why this isn't added to Samba upstream. After adding the initial request I thought about adding this feature to the Samba code. But this might lead to a changed configuration as soon as the administrator changes the locale of the system. We can't expect from a Samba.org point of view to have a RPM or any other database which at least keeps track of the smb.conf file. Samba already uses the default value WORKGROUP in param/loadparm.c to the call of set_global_myworkgroup(). Therefore it's possible to remove the global workgroup parameter at all. Then it's possible for YaST even to track changes if WORKGROUP is used as the parameter. Andreas, David, Ralf: We had some discussion regarding this feature brefore. Please check if the suggestion isn't brain dead or at least if I didn't missed anything we discussed before. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #6 from lmuelle@novell.com 2007-05-28 07:13 MST ------- 'Therefore it's possible to remove the global workgroup parameter at all.' meant to remove the global workgroup setting from Novell's Samba packages smb.conf file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #7 from lmuelle@novell.com 2007-05-28 07:16 MST ------- The benefits of this feature are: a) The YaST samba modules will be closer to the default behavior of Microsoft systems. b) Any Samba configured with YaST will immediately be part of a potentially existing workgroup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lmuelle@novell.com ------- Comment #8 from jsuchome@novell.com 2007-05-28 07:22 MST ------- OK, but what if there exist a workgroup called WORKGROUP and YaST changes it to ARBEITSGRUPPE? This is typical problem of programs trying to be too clever. Additinally, I think that if you want to have a certain default value in smb.conf (which is the point of this request, if I get it right finally), you should provide it by the package itself. What about setting it in rpm post-install script (where you should know the locale)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 lmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lmuelle@novell.com | ------- Comment #9 from lmuelle@novell.com 2007-05-28 07:35 MST ------- a) If the user used Samba's nmbd, smbd, or winbindd there would be log files in /var/log/samba/log.*. And yes, that's the reason why I made existing log files a condition not to change anything with the initial comment. b) Yes, the intention is to get a localized default value for the global workgroup parameter in smb.conf. c) By intention this will not be added to the post install script of the RPM. By two reasons: aa) No configuration tasks in the RPM scripts (time and risk). bb) The change might not be wanted by the user. The intention of a user starting YaST instead is to configure a particular service. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jsrain@novell.com ------- Comment #10 from jsuchome@novell.com 2007-05-28 07:56 MST ------- Well... I tend to disagree with aa and bb, but if you really want this behavior, it should be easy to implement (*). Jiri, do you agree with this request? (*) BTW, there are pending needinfos at you in other cases (bug 240045, feature 120090), please react. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 lmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|jsrain@novell.com |rhafer@novell.com ------- Comment #11 from lmuelle@novell.com 2007-05-28 08:39 MST ------- Let's see first if Ralf, Andreas, or David have some additional input. Changing smb.conf once in the install case of RPM looks like an advantage even to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #12 from sisaacson@novell.com 2007-05-29 15:40 MST ------- As far as what should or should not happen if the locale is changed after the initial install, perhaps we should do just what an MS server does. For example, if you change the locale after a server is installed, does it change the actual localized string name representing that server in the corresponding name service, or does it just affect the UI and not the SMB server name? I am still looking at what this change might do for Domain Services for Windows. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #13 from mmelo@novell.com 2007-05-30 09:57 MST ------- Responding to Lars request: I have installed a "Windows XP SP2 Professional Portuguese Brasil" workstation. See the default translation configured by MS: locale or country: Brazil Portuguese | pt_br Workgroup field: GRUPO If You need any further information, please contact me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
Changing smb.conf once in the install case of RPM looks like an advantage even to me. To me that looks more like a source of confusion and possible bugs. Remember
https://bugzilla.novell.com/show_bug.cgi?id=276441 rhafer@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|rhafer@novell.com | ------- Comment #14 from rhafer@novell.com 2007-06-05 02:10 MST ------- (In reply to comment #11) [..] the post-install is executed every time you update/install the package. If you have a bug in there you might destroy the whole configuration. So it's IMO wise to keep that part as small and as straight forward as possible. When it is implemented in YaST it is less likely to cause trouble for people who don't want that feature. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@novell.com Status|NEW |NEEDINFO Info Provider| |lmuelle@novell.com ------- Comment #15 from jsuchome@novell.com 2007-06-05 02:44 MST ------- So, could you gather the list of translated entries? Yes, I've seen your mail on some list, but here is actually only one response to it (comment #13). Maybe Karl could help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #17 from lmuelle@novell.com 2007-06-05 05:59 MST ------- A simple translation of the word workgroup doesn't help. The same wording as used by Microsoft localized products has to be used instead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441 ------- Comment #18 from jdebaer@novell.com 2007-06-06 01:09 MST ------- Hi, for Belgium / Dutch it's "WERKGROEP" ... probably likewise for the Netherlands. Tx, Jo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276441#c19
--- Comment #19 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=276441#c20
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=276441#c21
Andreas Schneider
participants (1)
-
bugzilla_noreply@novell.com