Comment 10 for bug 568422

Revision history for this message
Scott Salley (ssalley) wrote : RE: [Bug 568422] Re: Upgrading from likewise-open5 changes home directorylocations

I think the package update would explain things. The update overwrote all the existing settings that were present in the registry, ignoring the upgrade. I'll see about fixing that.

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> David Leon
> Sent: Monday, May 03, 2010 2:28 PM
> To: <email address hidden>
> Subject: [Bug 568422] Re: Upgrading from likewise-open5 changes home
> directorylocations
>
> Scott:
>
> When I upgraded I could login correctly at first. It took a few days
> before I was redirected to the new home directory. There was also a
> package update in the meantime.
>
> Could you check if the configuration files in /etc/likewise-open/ point
> to %H/%D/%U after the upgrade too? Could it confuse a subsequent update
> if they don't match the registry?.
>
> --
> Upgrading from likewise-open5 changes home directory locations
> https://bugs.launchpad.net/bugs/568422
> You received this bug notification because you are a member of Likewise
> Open Developers, which is subscribed to likewise-open in ubuntu.
>
> Status in “likewise-open” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: likewise-open
>
> On a machine correctly joined to a domain with likewise-open5:
>
> The homedir template variable in /etc/likewise-open5/lsassd.conf was
> set to its default:
> [auth provider:lsa-activedirectory-provider]
> ...
> homedir-template = %H/%D/%U
>
> After upgrading to likewise-open on Mon 2010-04-12, package likewise-
> open 5.4.0.42111-2
>
> /etc/likewise-open/lsassd.conf.reg
> [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
> ...
> "HomeDirTemplate"="%H/%D/%U"
> ...
> [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\Local]
> ...
> "HomeDirTemplate"="%H/%U"
>
> /etc/likewise-open/lsassd.reg
> [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
> ...
> "HomeDirTemplate"="%H/likewise-open/%D/%U"
> ...
> [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\Local]
> ...
> "HomeDirTemplate"="%H/likewise-open/%D/%U"
> ...
> [HKEY_THIS_MACHINE\Services\lsass\Parameters\RPCServers\samr]
> ...
> "HomeDirTemplate"="%H/likewise-open/%D/%U"
>
> lw-edit-reg showed the same configuration as lsassd.reg
>
> The change didn't become apparent right away after the upgrade. I could
> login normally and get all my files, but a few days later, when I
> logged in, I got a new home directory in the new location, looking like
> all my files were lost.
>
> etckeeper recorded a single change, during the upgrade after the apt
> run. The files didn't exist previously.
>
> After a few tries editing the configuration files, changing the
> configuration with lw-edit-reg, clearing the ad cache and rebooting I
> could finally login and get the old home directory back.
>