summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testbrowse.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/testbrowse.c')
-rw-r--r--examples/libsmbclient/testbrowse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/libsmbclient/testbrowse.c b/examples/libsmbclient/testbrowse.c
index a7eda365af..a6e6395078 100644
--- a/examples/libsmbclient/testbrowse.c
+++ b/examples/libsmbclient/testbrowse.c
@@ -117,6 +117,9 @@ main(int argc, char * argv[])
smbc_setFunctionAuthData(context, get_auth_data_fn);
}
+ smbc_setOptionUseKerberos(context, 1);
+ smbc_setOptionFallbackAfterKerberos(context, 1);
+
/* If we've been asked to log to stderr instead of stdout, ... */
if (debug_stderr) {
/* ... then set the option to do so */