summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/smbspool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index 1a3ac06c78..d13ae39416 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -335,8 +335,10 @@ char * get_ticket_cache( uid_t uid )
if ( ticket_file == NULL )
{
+#ifdef DEVELOPER
/* no ticket cache found */
fprintf(stderr, "ERROR: No ticket cache found for userid=%d\n", uid);
+#endif
return NULL;
}