[Samba] MAJOR XP profile issue - mandrake rpms - 2.2.7a

Robert Adkins II radkins at impelind.com
Mon Mar 31 18:30:52 GMT 2003

Here's what you need/should do...

	First off, if both the old and new systems are using the same
encryption for passwords... 

	Copy the old password containing files to the same location on
the new machine, this keeps all UID's the same...

	Secondly, for Samba, setup your new Samba server to temporarily
act as a Back-up Domain Controller, then use smbpasswd -s (I believe.)
Anyway, there is a flag to smbpasswd that copies over and properly
imports the SID from one Samba DC to another.

	Check the archives of this mailing list, there are more then a
few mentions of setting up a Samba BDC. Also check the Swat HTML Help,
there is a small section that will get you started with setting up a
Samba BDC. Once you have the SID copied over, then you can convert the
new server into the PDC by changing the smb.conf file.

	Once you have everything in place, copying over the profiles
should work perfectly fine. Since both the domain and machine SIDs will
be identical to how they are now. 

	Hopefully what little info I have tossed your way will help you
you. Good luck.

Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.

-----Original Message-----
From: samba-bounces+radkins=impelind.com at lists.samba.org
[mailto:samba-bounces+radkins=impelind.com at lists.samba.org] On Behalf Of
Anthony Hardy
Sent: Monday, March 31, 2003 1:08 PM
To: samba at lists.samba.org
Subject: [Samba] MAJOR XP profile issue - mandrake rpms - 2.2.7a


migrating from one server to another .  . .physical and software
copied all profiles and am in the process of adding a new automated
for domain management (mysql backend, blah balh) so the uid's changed
each user.

this is what how i THOUGHT things would work:

1. everyone logs out
2. shutdown samba on old server
3. add new users to new server
4. transfer ALL data to new server, including profiles, setup
permissions on
files to correspond with new uids
5. finish config of smb.conf on new server, adding the proper shares,
etc .
basically a mirror of the old box.
6. start up new server . . .login 9x machines for testing.
7. rejoin all XP machines to the domain, and i should have been good to

the problem lies in that once i rejoin an XP machine (testing with a
right now) is that the profiles don't load properly.  the user logs in,
everything "seems" to be ok . in that the desktop icons are present,
apps seem to work . .but pieces are broken.

for example . . .OE or outlook . broken.  it's like the ntuser.dat file
doesn't get pulled .. .

i noticed that under documents and settings on the local machines HD the
owner wasn't correct for the correct profile directory (normally, just
user name) and upon logging in . there was a new profile directory
username.domain.  That "should" have been fine i thought . .as long as
profile was copied from the network . but it's NOT being copied .   . .
i tried different machines . and various tests . from rejoining the
and changing permission BEFORE logging in as the user to  . .well .
everything i can think of.

so . my question is two fold . .is there any reason an XP machine that
copy profiles from the network BEFORE the change wouldn't copy them now?
logon path and logon home variables are the SAME and my 9x machines WORK
fine . .i've got about 100 XP machines out there tho .  .and i NEED this
work . .or i'm going to attempt to go back to the old server.

last question . what is the "proper" profile directory . . username or
username.domain and what is the presence of these two directories
telling me
. if anything?

any help is appreciated GREATLY.

Anthony Hardy
Director of MIS
Jefferson Davis Community College
AIM: trist1066
Yahoo: trist1066
MSN: soma at fragfest.net
icq 1221725

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list