More Samba fun OR “unable to find suitable server”
For anyone following the saga, I’ve been trying to do a migration NT4 (yes, NT 4) to Samba running LDAP as a backend. I’ve done migrations in the past and they have not been this painful. Here’s the latest goodie:
As part of the migration, you ned to get the SID from the NT 4 PDC. And as every piece of documentation that I’ve come across says, you do that with the following command:
net rpc getsid -S DOMAINNAME -U Administrator%password
and you should see something like this:
Storing SID S-1-5-21-123456789-123456789-123456789 for Domain DOMAINNAME in secrets.tdb
That’s what ALL the books and web pages and everything else I’ve come across said to do. I could swear it was working on Monday but Tuesday afternoon when I ran the code I got this:
Unable to find a suitable server.
After fighting with this since Tuesday afternoon (it’s now Friday morning), digging out my old NT books, firing up Wireshark and digging into NetBIOS calls, I have finally found the solution, dear friends, and I am here to tell you what that solution is so you don’t waste several days with this problem.
And that solution? What is it, you ask?
Give the command the IP Address of the PDC. IOW,
net rpc getsid -S DOMAINNAME -I 192.168.1.88 -U Administrator%password
Why do none of the docs say this?
Back to the migration…

