David Mathog
2010-Aug-24 18:17 UTC
[Samba] Join domain through direct registry manipulation?
Might it be possible to join a Windows machine to a Samba domain by direct registry manipulation? As an experiment, on a test machine: (not in a domain) reg export HKLM >before_join.txt (join domain) reg export HKLM >pre_reboot.txt (reboot0 reg export HKLM >post_reboot.txt The files created are unicode, with every other byte a null, and diff didn't like these on my linux boxes. Probably locale was set incorrectly. In any case, used my extract program (from here: http://drmtools.sourceforge.net/ [nothing to do with digital rights management - those are my initials] ) to make them into plain text: extract -nr 1 -sc 3 -all -in post_reboot.txt -hnd >post_reboot.txt2 extract -nr 1 -sc 3 -all -in before_join.txt -hnd >before_join.txt2 extract -nr 1 -sc 3 -all -in pre_reboot.txt -hnd >pre_reboot.txt2 then xxdiff before_join.txt2 post_reboot.txt2 xxdiff before_join.txt2 pre_reboot.txt