[Bug 615842] New: lost samba user on server on 11.1 -> 11.3rc1 update
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c0 Summary: lost samba user on server on 11.1 -> 11.3rc1 update Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: andi-nbz@firstfloor.org QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 After updating a system with a samba server from 11.1 to 11.3rc1 the client couldn't log in anymore. There was one user previously created with smbpasswd -u name ... smbpasswd user also told me unknown after the update. I had to recreate the user with smbpasswd -u name I would have expected the users to be kept. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c1 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |samba-maintainers@SuSE.de InfoProvider| |ke@novell.com AssignedTo|samba-maintainers@SuSE.de |lmuelle@novell.com --- Comment #1 from Lars Müller <lmuelle@novell.com> 2010-06-21 10:57:55 UTC --- Very likely a feature and not a bug. The default passdb backend changed upstream from smbpasswd to tdbsam. To be on the save side we're now using tdbsam explicitly in the SUSE default /etc/samba/smb.conf. We also patch the code to use smbpasswd as default for SUSE products older than 11.2. Where do I find this type of information? a) There was a prominent note available from the release notes when we first had to deliver the new default as part of openSUSE and SUSE Linux Enterprise. b) From the package change log (Fri Jun 12 2009). @Karl: Would it make sense to stress this change in the 11.3 release notes again? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c2 --- Comment #2 from Andi N Kleen <andi-nbz@firstfloor.org> 2010-06-21 11:28:28 UTC --- Are you serious? If you change the underlying format you guys are supposed to write a conversion function, not break everything silently. And no having an entry in the release notes does not fix such a problem. If that's not possible I would recommend to default to the old format on a update. People expect that their servers continue working on update. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c3 --- Comment #3 from Lars Müller <lmuelle@novell.com> 2010-06-21 12:32:55 UTC --- In reply to comment #2: In general defaulting to the old passdb (smbpasswd) is no option as this backand lacks many features. pdbedit offers an easy way to migrate an existing smbpasswd user database. The release notes had a section about the required steps. See http://www.novell.com/linux/releasenotes/i586/openSUSE/11.2/ section "New Samba Password Configuration Back-End: tdbsam" It's not the format which changed. It's the default for the passdb backend setting in the code. See also http://www.samba.org/samba/history/samba-3.4.0.html -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c4 --- Comment #4 from Lars Müller <lmuelle@novell.com> 2010-06-21 12:37:06 UTC --- As an alternative to migrating the existing passdb it's also still possible to us the exising smbpassdb one passdb backend = smbpasswd -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c5 --- Comment #5 from Andi N Kleen <andi-nbz@firstfloor.org> 2010-06-21 12:48:55 UTC --- Again I expect the rpm update script to take care of this, not me having to do all kinds of obscure steps manually. I assume it would be possible to convert the account. If I wanted to do a reconfiguration I would have done a new installation. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c6 --- Comment #6 from Lars Müller <lmuelle@novell.com> 2010-06-21 13:33:25 UTC --- With the available documentation it's quite easy to fix the issue. All you have to do it to read the release notes _before_ you start the upgrade.
From the first quick view it looks quite easy to automate the suggested pdbedit call. But reality unfortunately isn't this trivial.
What if a user already migrated or doesn't intend to use tdbsam? The approach we decided to follow is named KISS. Keep It Simple Stupid. It's for example the same as our OpenLDAP packages handles upgrade situations. And to offer some more feedback from reality: This is the first bug report regarding this issue. Either nobody uses Samba or the majority had been able to handle the change. Please keep in mind which situation we're talking about. We talk about a system upgrade. This change was not introduced for a released product. If you still believe there is a secure and easy solution to address the concerns you raised please file a submit request to the openSUSE Build Service (OBS) project network:samba:STABLE -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c7 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |coolo@novell.com, | |ke@novell.com InfoProvider|ke@novell.com | --- Comment #7 from Karl Eichwalder <ke@novell.com> 2010-06-22 14:15:13 UTC --- (In reply to comment #1)
@Karl: Would it make sense to stress this change in the 11.3 release notes again?
Normally, we do not do this. Instead, I could add it to the mannual. Asking coolo (cc). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c8 --- Comment #8 from Andi N Kleen <andi-nbz@firstfloor.org> 2010-06-22 15:45:59 UTC --- You don't do this because really the rpm upgrade script is supposed to handle it. It could be as simple as if (old users in old format are there && no users in new database) change config file to default to old format This would save other users much grief. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c9 --- Comment #9 from Andi N Kleen <andi-nbz@firstfloor.org> 2010-07-12 11:18:52 UTC --- And you're still totally wrong on the severity of course. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c10 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |coolo@novell.com --- Comment #10 from Lars Müller <lmuelle@novell.com> 2010-07-19 11:21:19 UTC --- @Stephan: pLease provide an answer to the question Karl raised with comment 7. We suggest to have the same release part notes regarding the Samba default passdb change from 11.2 in 11.3 and all later releases as long as 11.1 is still fed with updates. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c11 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|coolo@novell.com | --- Comment #11 from Stephan Kulow <coolo@novell.com> 2010-08-03 13:38:21 CEST --- I think we decided to link the old release notes at the end of the current release notes. But in the end I would pick what Karl feels happy with - he has to maintain it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c12 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lmuelle@novell.com |ke@novell.com --- Comment #12 from Lars Müller <lmuelle@novell.com> 2010-08-05 10:31:25 UTC --- Karl, please handle this as Stephan suggested in comment #11. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c13 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|lost samba user on server |RN: lost samba user on |on 11.1 -> 11.3rc1 update |server on 11.1 -> 11.3rc1 | |update --- Comment #13 from Karl Eichwalder <ke@novell.com> 2010-08-16 12:26:50 UTC --- Ok, at the very beginning I'd like to reference previous release notes. Maybe, something along these lines: If you upgrade from an older version to this openSUSE release, see the previous release notes listed at http://en.opensuse.org/Release_Notes! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c14 --- Comment #14 from Lars Müller <lmuelle@novell.com> 2010-08-16 15:24:09 UTC --- Please remove the ! at the end of the URL else people might fail if they copy and paste it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=615842 https://bugzilla.novell.com/show_bug.cgi?id=615842#c16 --- Comment #16 from Karl Eichwalder <ke@novell.com> 2010-08-18 13:18:56 UTC --- osc sr -m'bnc#615842 plus translation update' home:keichwa:branches:openSUSE:11.3:Update:Test release-notes-openSUSE openSUSE:11.3:Update:Test created request id 45761 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=615842 https://bugzilla.novell.com/show_bug.cgi?id=615842#c17 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #17 from Karl Eichwalder <ke@novell.com> 2010-08-19 12:46:19 UTC --- I'll publish it as part of swampid#34957. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=615842 https://bugzilla.novell.com/show_bug.cgi?id=615842#c18 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.3:35374 --- Comment #18 from Swamp Workflow Management <swamp@suse.com> 2010-08-30 13:47:54 UTC --- Update released for: desktop-translations, release-notes-openSUSE, yast2-trans, yast2-trans-af, yast2-trans-am, yast2-trans-ar, yast2-trans-ast, yast2-trans-be, yast2-trans-bg, yast2-trans-bn, yast2-trans-bs, yast2-trans-ca, yast2-trans-cs, yast2-trans-cy, yast2-trans-da, yast2-trans-de, yast2-trans-el, yast2-trans-en_GB, yast2-trans-en_US, yast2-trans-es, yast2-trans-et, yast2-trans-fa, yast2-trans-fi, yast2-trans-fr, yast2-trans-gl, yast2-trans-gu, yast2-trans-he, yast2-trans-hi, yast2-trans-hr, yast2-trans-hu, yast2-trans-id, yast2-trans-it, yast2-trans-ja, yast2-trans-jv, yast2-trans-ka, yast2-trans-km, yast2-trans-kn, yast2-trans-ko, yast2-trans-ku, yast2-trans-lo, yast2-trans-lt, yast2-trans-mk, yast2-trans-mr, yast2-trans-ms, yast2-trans-my, yast2-trans-nb, yast2-trans-nl, yast2-trans-pa, yast2-trans-pl, yast2-trans-pt, yast2-trans-pt_BR, yast2-trans-ro, yast2-trans-ru, yast2-trans-si, yast2-trans-sk, yast2-trans-sl, yast2-trans-sr, yast2-trans-sv, yast2-trans-sw, yast2-trans-ta, yast2-trans-tg, yast2-trans-th, yast2-trans-tk, yast2-trans-tr, yast2-trans-uk, yast2-trans-vi, yast2-trans-wa, yast2-trans-xh, yast2-trans-zh_CN, yast2-trans-zh_TW, yast2-trans-zu Products: openSUSE 11.3 (i586) -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=615842 http://bugzilla.novell.com/show_bug.cgi?id=615842#c19 --- Comment #19 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (615842) was mentioned in https://build.opensuse.org/request/show/45833 11.3:Test / release-notes-openSUSE -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com