summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cred_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c
index ddf4de6754..90ac252dfa 100644
--- a/source3/nsswitch/winbindd_cred_cache.c
+++ b/source3/nsswitch/winbindd_cred_cache.c
@@ -247,6 +247,7 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
entry->create_time = create_time;
entry->renew_until = renew_until;
entry->uid = uid;
+ entry->ref_count = 1;
if (schedule_refresh_event && renew_until > 0) {