summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
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/utils/net_ads.c
parent75a36a9a5491b86aaa3b0983d5a2bd5d024f783a (diff)
downloadsamba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.gz
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.bz2
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.zip
Cope with changed signature of http_timestring().
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 627374cb96..30c47ddd34 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -182,7 +182,8 @@ static int net_ads_info(struct net_context *c, int argc, const char **argv)
d_printf("Realm: %s\n", ads->config.realm);
d_printf("Bind Path: %s\n", ads->config.bind_path);
d_printf("LDAP port: %d\n", ads->ldap.port);
- d_printf("Server time: %s\n", http_timestring(ads->config.current_time));
+ d_printf("Server time: %s\n",
+ http_timestring(talloc_tos(), ads->config.current_time));
d_printf("KDC server: %s\n", ads->auth.kdc_server );
d_printf("Server time offset: %d\n", ads->auth.time_offset );