logon hours vampire support
Richard Renard
rrenard at idealx.com
Wed Nov 3 21:41:42 GMT 2004
On Wed, Nov 03, 2004 at 10:31:27PM +0100, Richard Renard wrote:
> Hi Jeremy,
>
> The following adds support for logon hours when using net vampire.
>
> This was missing since logon hours is supported.
>
> Also should we migrate bad_pwd_count and logon_count too ?
Oops forgot to attach the diff...
And also should we add the support for account expiry time ? If yes I
think it will require a new revision of tdbsam
Richard.
--
Richard Renard
rrenard at idealx.com
-------------- next part --------------
--- net_rpc_samsync.c.orig 2004-11-03 12:36:32.000000000 +0100
+++ net_rpc_samsync.c 2004-11-03 11:56:26.000000000 +0100
@@ -346,7 +346,10 @@
if (pdb_get_logon_divs(account) != delta->logon_divs)
pdb_set_logon_divs(account, delta->logon_divs, PDB_CHANGED);
- /* TODO: logon hours */
+ if (delta->buf_logon_hrs.buffer) {
+ pdb_set_hours(account, delta->buf_logon_hrs.buffer, PDB_CHANGED);
+ }
+
/* TODO: bad password count */
/* TODO: logon count */
More information about the samba-technical
mailing list