Netapi for testjoin
Yinon.Yamin at exanet.com
Mon Nov 30 08:53:05 MST 2009
I am trying to write a small utility that can join, unjoin and testjoin
to a DC.
For the join / unjoin I used the netapi NetJoinDomain / NetunjoinDomain
and it seems to work well.
The question is which API should I use in order to implement the
The "testjoin " should return TRUE iff the host is already joined to the
DC. (same functionality as the "net testjoin").
Thanks in advance,
More information about the samba-technical