[PATCH] s3: libsmb: Setting the LIBSMBCLIENT_NO_CCACHE environment variable doesn't turn off credential cache use.

Ira Cooper ira at wakeful.net
Wed Nov 30 01:22:57 UTC 2016


Shouldn't it be if the environment var is set?

     if (getenv("LIBSMBCLIENT_NO_CCACHE") == NULL) {
-        smbc_setOptionUseCCache(context, true);
+        smbc_setOptionUseCCache(context, false);
     }

Shouldn't it be !=?

Cheers,

-Ira

On Tue, Nov 29, 2016 at 8:06 PM, Jeremy Allison <jra at samba.org> wrote:
> Fix typo, as described.
>
> Please review and push.
>
> Jeremy.



More information about the samba-technical mailing list