summaryrefslogtreecommitdiff
path: root/lib/param/param.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-19 11:16:03 -0400
committerSimo Sorce <idra@samba.org>2012-04-19 18:14:02 -0400
commit86910e15feaa490cf70f592c6e9af44f3db7e6f0 (patch)
tree250f107372e22ad40f2ab12b22cefb506dbb65ce /lib/param/param.h
parent74510b059e6852d1491a4cb6eaa9cc7c2ed61fbf (diff)
downloadsamba-86910e15feaa490cf70f592c6e9af44f3db7e6f0.tar.gz
samba-86910e15feaa490cf70f592c6e9af44f3db7e6f0.tar.bz2
samba-86910e15feaa490cf70f592c6e9af44f3db7e6f0.zip
loadparm: Add helper function to fetch default lifetime policies
This use long to fetch time_t quantities, because there are architectures were time_t is a signed long but long != int, So long is the proper way to deal with it.
Diffstat (limited to 'lib/param/param.h')
-rw-r--r--lib/param/param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/param/param.h b/lib/param/param.h
index 079ef8b9a6..7842a843f6 100644
--- a/lib/param/param.h
+++ b/lib/param/param.h
@@ -297,6 +297,11 @@ struct smb_iconv_handle *smb_iconv_handle_reinit_lp(TALLOC_CTX *mem_ctx,
const char *lpcfg_sam_name(struct loadparm_context *lp_ctx);
+void lpcfg_default_kdc_policy(struct loadparm_context *lp_ctx,
+ time_t *svc_tkt_lifetime,
+ time_t *usr_tkt_lifetime,
+ time_t *renewal_lifetime);
+
/* The following definitions come from lib/version.c */
const char *samba_version_string(void);