howto check a server is online
stefbon at gmail.com
Fri Feb 4 08:41:18 MST 2011
I've posted a message here before, and I got pointed to the
examples/libsmbcleint directory in the source.
My question is howto check a smb server is onlin?
* Check if a server is still good
* @param c pointer to smb context
* @param srv pointer to server to check
* @return 0 when connection is good. 1 on error.
typedef int (*smbc_check_server_fn)(SMBCCTX * c, SMBCSRV *srv);
but I cannot find the exact struct SMBCSRV.
In my fs the name and the opv4 address is available, as well
information about the way to auth, guest, credentials or kerberos.
Thanks in advance,
More information about the samba-technical