summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-11 23:57:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-11 23:57:44 +0200
commitcb78d4593b5ac4eaa0cbead6f86027d040a9e88a (patch)
treea0fac9981c9799e87500e6bf4cefbd4646259172 /source3/smbd
parent75a36a9a5491b86aaa3b0983d5a2bd5d024f783a (diff)
downloadsamba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.gz
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.bz2
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.zip
Cope with changed signature of http_timestring().
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 2596e73380..64a4311256 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -1131,7 +1131,7 @@ NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passw
if ((can_change_time != 0) && (time(NULL) < can_change_time)) {
DEBUG(1, ("user %s cannot change password now, must "
"wait until %s\n", username,
- http_timestring(can_change_time)));
+ http_timestring(talloc_tos(), can_change_time)));
if (samr_reject_reason) {
*samr_reject_reason = SAMR_REJECT_OTHER;
}