Hi,

Is there an API function for C as an alternative to calling "net ads
join ...." from shell?
I'm trying not to use a system call like popen("net ads join ...","r");
because there are some problems with finding the reason for a failed join:
  - Linux exit codes are limited to 8 bites so the net command return value
is of no help.
  - Parsing the command output seems unreliable since the text could change
from one version to another.

Thank you for your help.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to