Comment 75 for bug 212098

Revision history for this message
Felipe Figueiredo (philsf) wrote :

You got it right, both on my sugestion and in the problem with it. What made me think about this was Colin's 29 and 30 comments. Maybe what I'm proposing is overkill, but let me try to clarify a bit.

I think if Bug 238224 gets fixed for hardy, and a one time silent call to gksu makes libpam-smbpass create the NTLM hash, then the whole issue should be fixed for new installs. For old installs, creating sambashare by default and adding the user to it should work, provided the user logs out.

Anyway, if the user upgrades this package, she needs to logout anyway, right? Rolling out a point release seems a reasonable moment to ask the user for a logout. A simple bubble notification should suffice, maybe with a link to a more detailed documentation (with whatever mechanism firefox asks for a restart, and the kernel asks for a reboot).

I'm not sure what would be the most apropriate would be in user-setup, as indicated in bug 238224, or another package. Since the first already has a patch coming, it's obviously easier to go that route. IMHO, the elegant solution would be to do it in nautilus-share, since it's what needs it, and it's pulled in by ubuntu-desktop, so it would be default anyway. But this wouldn't be nice to non-Gnome *buntu derivatives, so samba-common would be my second most elegant sugestion. Again, the patch already exists for user-setup, and it's fine if the result is to get the group created and the first user in it by default.