Netapi for testjoin
Yinon Yamin
Yinon.Yamin at exanet.com
Mon Nov 30 08:53:05 MST 2009
Hello everyone,
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
testjoin predicate.
The "testjoin " should return TRUE iff the host is already joined to the
DC. (same functionality as the "net testjoin").
Thanks in advance,
Yinon
More information about the samba-technical
mailing list