summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-13 21:56:31 +0200
committerGünther Deschner <gd@samba.org>2009-07-13 21:56:31 +0200
commite4fca7466d3bc064587638560572813e62df00d8 (patch)
tree7f071ab802e85e7c1018829ca4212241ba41e435
parent8646b9521d267284a335aafba3df6039c41b8370 (diff)
downloadsamba-e4fca7466d3bc064587638560572813e62df00d8.tar.gz
samba-e4fca7466d3bc064587638560572813e62df00d8.tar.bz2
samba-e4fca7466d3bc064587638560572813e62df00d8.zip
s3-pdb_ads: set correct pdb field with the value from 'accountExpires' attribute.
Guenther
-rw-r--r--source3/passdb/pdb_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index 4f7c210915..66fdff181f 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -203,7 +203,7 @@ static NTSTATUS pdb_ads_init_sam_from_priv(struct pdb_methods *m,
pdb_set_pass_last_set_time(sam, tmp_time, PDB_SET);
}
if (pdb_ads_pull_time(entry, "accountExpires", &tmp_time)) {
- pdb_set_pass_last_set_time(sam, tmp_time, PDB_SET);
+ pdb_set_kickoff_time(sam, tmp_time, PDB_SET);
}
str = tldap_talloc_single_attribute(entry, "displayName",