summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-25 15:25:13 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-25 15:25:13 +1100
commitdc49ae599eacd6c118dc355609bca657b05c5dee (patch)
treef503e01cf3f95f56bfbad7ede497f2fa31429001 /source4/dsdb
parent2d08a03c50d065ed5175b37cb26b2794efde3c7b (diff)
downloadsamba-dc49ae599eacd6c118dc355609bca657b05c5dee.tar.gz
samba-dc49ae599eacd6c118dc355609bca657b05c5dee.tar.bz2
samba-dc49ae599eacd6c118dc355609bca657b05c5dee.zip
Remove useless extra argument to samdb_result_account_expires().
Andrew Bartlett (This used to be commit bc607c334ff86624b891886a6f874da2bcff113e)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/common/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 807c0289f7..8a7a22a641 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -445,11 +445,10 @@ NTTIME samdb_result_nttime(struct ldb_message *msg, const char *attr, NTTIME def
* Consolidate that logic here to allow clearer logic for account expiry in
* the rest of the code.
*/
-NTTIME samdb_result_account_expires(struct ldb_message *msg,
- NTTIME default_value)
+NTTIME samdb_result_account_expires(struct ldb_message *msg)
{
NTTIME ret = ldb_msg_find_attr_as_uint64(msg, "accountExpires",
- default_value);
+ 0);
if (ret == (NTTIME)0)
ret = 0x7FFFFFFFFFFFFFFFULL;