Show that we can properly detect non-regular files created by the
Windows NFS server. Tested manually against Windows 2022.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
#include <string.h>
#include <time.h>
#include <libsmbclient.h>
+#include <stdbool.h>
#include "get_auth_data_fn.h"
static const char *filetypestr(mode_t mode)
smbc_setDebug(ctx, debug);
smbc_init_context(ctx);
smbc_setFunctionAuthData(ctx, get_auth_data_fn);
+ smbc_setOptionPosixExtensions(ctx, true);
ret = smbc_getFunctionStat(ctx)(ctx, pSmbPath, &st);
if (ret < 0) {