On Fri, 2004-04-02 at 05:05, Scott Hanson wrote:
> Hello,
> 
> I have inherited a samba-tng PDC (without ldap) that I am to upgrade to 
> samba 3. My first attempt failed miserably. I copied over the smbpasswd 
> and the domain SID, users were able to log in, but most were not able to 
> load their profiles.
> 
> I think I have to copy over machine IDs, but I'm not sure how to 
> proceed. The migration section of the the howto doesn't seem to apply to 
> tng at all. Any tips or pointers on how to proceed?

The problem is almost certainly that the the RID portion of thier SID
has changed.

This is because Samba-TNG sets it's algorithmic rid system to use:

/* Take the bottom bits. */
#define RID_MULTIPLIER 4

Samba.org has always used a value of 2.  To fix this, figure out the
user's real RID

== (uid * RID_MULTIPLIER)+1000

and move your passdb to LDAP (pdb_ldap), where you can set the value
explicitly (sambaSid).  Samba 3.0 will then honour the existing SIDs, in
the same way is honours sids from an NT domain migration.

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to