samba-technical@lists.samba.org
[Top] [All Lists]

Netapi for testjoin

Subject: Netapi for testjoin
From: "Yinon Yamin"
Date: Mon, 30 Nov 2009 17:53:05 +0200
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

 

<Prev in Thread] Current Thread [Next in Thread>
  • Netapi for testjoin, Yinon Yamin <=