diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-08-28 04:54:43 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-08-28 04:54:43 +0000 |
commit | 2b2b0f7119fe043f61259579ce70e782f5f9ec5f (patch) | |
tree | 4f01756afc8aaeb48a01c76aa34f1b63392a6848 /source3/lib | |
parent | 61e4ee500f70939b95fb293ec4005e481f95076a (diff) | |
download | samba-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')
-rw-r--r-- | source3/lib/debug.c | 1 | ||||
-rw-r--r-- | source3/lib/time.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 6dd9225bac..65cac144cc 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -153,6 +153,7 @@ static const char *default_classname_table[] = { "rpc_srv", /* DBGC_RPC_SRV */ "rpc_cli", /* DBGC_RPC_CLI */ "passdb", /* DBGC_PASSDB */ + "sam" /* DBGC_SAM */ "auth", /* DBGC_AUTH */ "winbind", /* DBGC_WINBIND */ NULL 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. ********************************************************************/ |