diff options
-rw-r--r-- | source3/libsmb/libsmbclient.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 2b93614338..cdf26e6b23 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -412,6 +412,12 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug) } + if (smbc_initialize) { /* Don't go through this if we have already done it */ + + return 0; + + } + smbc_initialized = 1; smbc_auth_fn = fn; /* smbc_debug = debug; */ |