Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...On your site I feel quite confident that the contacts and feedback will make my life a little less hectic..."

Geography

Where in the world do Tek-Tips members come from?
ckollars (MIS)
21 Apr 06 16:57
I'm migrating from an old old Samba system (Cobalt Qube Net Appliance, 2.1... Samba version?). I have well over a hundred Windows XP client machines that have "joined" that domain. I want to migrate them to the new Samba system (rather than visiting every machine and re-joining a domain). So far I have the name (with trailing $), uidNumber, and two passwords, but not the SID.

I can't figure out where the SIDs are stored. The `net idmap dump` command just says "command not found" -- apparently this version of Samba is so old the `net ...` commands didn't even exist yet. What file can I find the SIDs in? (I'm not worried if it's a binary file and/or is base64 encoded, as I can deal with those blocks so long as I KNOW WHICH FILE).

If you remember where very very old Sambas might have stored the SIDs, please let me know.

tia!
motoslide (MIS)
21 Apr 06 23:17
I don't know about your system, but the SAMBA implementation on our boxes don't use "net", but "smbnet" instead.  Otherwise, the commands and arguments are the same as for the "net" command.

It's a long shot.  Hope it helps you.

"Proof that there is intelligent life in Oregon.  Well, Life anyway."

ckollars (MIS)
25 Apr 06 10:39
Followup - Probable Answer:

It seems I asked the wrong question. The reason I couldn't find the UID<->SID mapping file is it doesn't exist. For Samba 2.x in simple configurations that don't use `winbindd`, the mapping UID<->RID is purely algorithmic [default algorithm for users and client machines:  RID = (2 * UID) + 1000]. Then the client SID is constructed by concatenating the RID onto the end of the domain/server SID.

If my conclusion isn't correct, please let me know.

thanks!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close