Ok… so let me claim being too busy to properly write the previous blog entry about transfering the PDC master role… I totally forgot that I made it a trifle easier to use AdMod than what I documented… This is my utility flexibility coming back to bite me… But then, maybe I bit me, no one corrected my last entry. 🙂
In that entry I said go get the hex form of the SID and then push into AdMod with the BIN## modifier…. well DUH… I have a handy dandy SID## modifier too… what does that mean? It means I can use the friendly SID to do this instead of that bloody ugly hex form… Doing this knocks out 50% of the steps mentioned previously…
So here you go…
G:\>admod -rootdse sid##becomepdc::S-1-5-21-91850410-1263060417-3577111226
AdMod V01.06.00cpp Joe Richards (joe@joeware.net) June 2005
Modifying ROOTDSE…
DN Count: 1
Using server: r2dc2.test.loc
Modifying specified objects…
  DN: ROOTDSE…The command completed successfully
  joe
Â
Both options are a damned side easier than the alteratives.
The feature you just remembered is particularly nice.
LDP is doable, if you use the file-import thing which is just nasty. That should be able to submit binary via a checkbox if you ask me… maybe we should let D know…
I don’t know if I should even look at VBS…
VBS is ugly for binary values.