summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-28 04:54:43 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-28 04:54:43 +0000
commit2b2b0f7119fe043f61259579ce70e782f5f9ec5f (patch)
tree4f01756afc8aaeb48a01c76aa34f1b63392a6848 /source3/lib/time.c
parent61e4ee500f70939b95fb293ec4005e481f95076a (diff)
downloadsamba-2b2b0f7119fe043f61259579ce70e782f5f9ec5f.tar.gz
samba-2b2b0f7119fe043f61259579ce70e782f5f9ec5f.tar.bz2
samba-2b2b0f7119fe043f61259579ce70e782f5f9ec5f.zip
Put in intermediate version of new SAM system. It's not stable yet, code
might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c (This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 9d87414aea..f37380df70 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -40,6 +40,12 @@ int extra_time_offset = 0;
#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)
#endif
+void get_nttime_max(NTTIME *t)
+{
+ /* FIXME: This is incorrect */
+ unix_to_nt_time(get_time_t_max(),t);
+}
+
/*******************************************************************
External access to time_t_min and time_t_max.
********************************************************************/