Lines Matching refs:entry
70 LOGIN_CACHE *entry;
91 if (!(entry = SMB_MALLOC_P(LOGIN_CACHE))) {
92 DEBUG(1, ("Unable to allocate cache entry buffer!\n"));
98 &entry->entry_timestamp, &entry->acct_ctrl,
99 &entry->bad_password_count,
100 &entry->bad_password_time) == -1) {
101 DEBUG(7, ("No cache entry found\n"));
102 SAFE_FREE(entry);
109 DEBUG(5, ("Found login cache entry: timestamp %12u, flags 0x%x, count %d, time %12u\n",
110 (unsigned int)entry->entry_timestamp, entry->acct_ctrl,
111 entry->bad_password_count, (unsigned int)entry->bad_password_time));
112 return entry;
115 BOOL login_cache_write(const struct samu *sampass, LOGIN_CACHE entry)
135 entry.entry_timestamp = time(NULL);
139 entry.entry_timestamp,
140 entry.acct_ctrl,
141 entry.bad_password_count,
142 entry.bad_password_time);
150 entry.entry_timestamp,
151 entry.acct_ctrl,
152 entry.bad_password_count,
153 entry.bad_password_time)
184 DEBUG(9, ("About to delete entry for %s\n", keybuf.dptr));