summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_ldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-16 22:08:37 +0100
committerVolker Lendecke <vl@samba.org>2010-03-16 22:35:41 +0100
commit13a278c1b901cadef7e09d1dc6a89d935ebb73ea (patch)
treeb5c8f12b6ee47d30a3f0f73cd39ae18f4c785a07 /source3/passdb/pdb_ldap.c
parent02d7cdc671e27b5ed717c4c0e088b8457caa6e4a (diff)
downloadsamba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.tar.gz
samba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.tar.bz2
samba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.zip
s3: Remove a typedef
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index d079262ee8..1e3413e381 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -540,7 +540,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state,
uint32 hours_len;
uint8 hours[MAX_HOURS_LEN];
char *temp = NULL;
- LOGIN_CACHE *cache_entry = NULL;
+ struct login_cache *cache_entry = NULL;
uint32 pwHistLen;
bool expand_explicit = lp_passdb_expand_explicit();
bool ret = false;
@@ -1511,7 +1511,7 @@ static bool init_ldap_from_sam (struct ldapsam_privates *ldap_state,
DEBUG(7, ("bad password count is reset, deleting login cache entry for %s\n", pdb_get_nt_username(sampass)));
login_cache_delentry(sampass);
} else {
- LOGIN_CACHE cache_entry;
+ struct login_cache cache_entry;
cache_entry.entry_timestamp = time(NULL);
cache_entry.acct_ctrl = pdb_get_acct_ctrl(sampass);