Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SIDS in very old Samba?

Status
Not open for further replies.

ckollars

MIS
Apr 21, 2006
2
US
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!
 
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.
 
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top