[Samba] Lost my Samba PDC, trying to rebuild
TAKAHASHI Motonobu
monyo at monyo.com
Mon Feb 14 07:59:54 MST 2011
2011/2/14 Robert Moskowitz <rgm at htt-consult.com>:
> My PDC is based on the Amahi server in PDC mode, running on Fedora 12.
>
> I got it working previously through a bit of trial and error, and then bug
> fixes to Amahi. Friday I lost my drive and did not have backups of my
> smb.conf, or my profile directories for my roaming profiles, or most of my
> data. I had a rsync kind or written, but had not croned it yet....
>
> So the rebuild is well underway.
(snip)
> The problem comes with users. The users were user.HOME in 'Documents and
> Settings'. But so far on the one computer I have tried with the one user I
> have on that computer, it is creating a new profile for user.HDA. What
> controls the profile directory on the computer (btw, the OS is XP)? What do
> I need to do for it to use the profile of user.HOME?
You must create your domain with same SID as it had before.
Also you have to re-create users with same SID as they had before.
You can see the SIDs with profiles command like:
# profiles -v NTUSER.DAT
ACL for $$$PROTO.HIV
Owner SID: S-1-5-32-544
Group SID: (NULL SID)
DACL: 8 entries:
Trustee SID: S-1-5-21-2535719703-1779805756-2758924810-1017
Trustee SID: S-1-5-18
(snip)
Also you can set the domain's SID and users' SID explicitly with net
setlocalsid and
pdbedit respectively.
---
TAKAHASHI Motonobu <monyo at monyo.com>
More information about the samba
mailing list