0

Is there any way to get preferred domain controller name using BSD/POSIX C function calls? Please, advice if there are any functions that can be used to get preferred DC name under Mac OS X.

1 Answers1

0

Domain controllers aren't standardized in any way. If you want to discover the domain controller, the best thing to do is find your target domain controller protocol and find it through this protocol using sockets. For instance, windows domain controllers can be found using C# libraries, but in linux C you'd either have to get a 3rd party library or write the protocol out yourself.

KrisSodroski
  • 2,796
  • 3
  • 24
  • 39