Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Alan Stevens on December 03, 2002, 04:53:16 PM

Title: Can't load roaming profile after restore from desktop
Post by: Alan Stevens on December 03, 2002, 04:53:16 PM
Greetings,

After I restored my SME Server 5.5 from desktop recently, Windows XP Professional clients return a logon error:  "Windows did not load your roaming profile and is attempting to log you on with your local profile..."  

ME, 98 & 95 clients don't have any trouble, and I don't receive any other errors from XP Pro.  After logging on, I have full access to domain resources.  I checked permissions on the profile directories, and they appear correct.  Searches of Google and this forum did not provide a solution.  

I removed one machine from the domain, and attempted to re-add it using the instructions here:  http://myezserver.com/downloads/mitel/howto/samba-howto.html

Now, I can't get that machine joined to the domain.  The error is pemission denied.  The Unix account & group are created, the e-smith accounts file shows the machine name, but no uid or gid.  No samba account is not created.

All help, speculation, or magic spells will be greatly appreciated. :^)

Alan--
Title: Solution! Re: Can't load roaming profile after restore from
Post by: Alan Stevens on December 03, 2002, 10:59:52 PM
For the record, here's the fix:

Remove the machine like it says in the howto, then disable, and re-enable roaming profiles through the server-manager.

You can now re-join the domain.

Restarting samba isn't enough.  I don't know why, but this works.  I ended up removing and re-joining all 18 XP pro machines.

Here's a script I used to remove each machine from the domain:

#!/bin/bash
cname=$1
/usr/bin/smbpasswd -x $cname
/usr/bin/passwd -d $cname
/usr/sbin/userdel $cname
/sbin/e-smith/db accounts delete $cname

I named it machine_rm, and set it as executable.  You use it like so:
# machine_rm workstation10$

Alan--
Title: Re: Solution! Re: Can't load roaming profile after restore f
Post by: guestHH on December 03, 2002, 11:29:40 PM
Thanks for the feedback Alan!

Very nice example of 'foriquette' ;-)

Regards,
guestHH
Title: Can't load roaming profile after restore from desktop
Post by: norman969 on September 21, 2005, 03:24:54 PM
can this be explained
i am having the same problem but the 6.1.01


thanks alot
Title: Can't load roaming profile after restore from desktop
Post by: norman969 on September 26, 2005, 10:51:15 AM
i am still having this problem and have not found a way to solve it. i will really apriciate any help.

thanks Daniel