summaryrefslogtreecommitdiffstats
path: root/source/utils/net_rpc_samsync.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-04-18 16:08:52 +0000
committerGerald Carter <jerry@samba.org>2005-04-18 16:08:52 +0000
commit4bdbd8bd0742c2c6e4ef65d7030a710412ad6234 (patch)
treeb0b63f76422bf70560832976c5e4174f01c70fb0 /source/utils/net_rpc_samsync.c
parent65e71c35f782cb1c8a22c61e88f1f853b585b297 (diff)
downloadsamba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.gz
samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.tar.xz
samba-4bdbd8bd0742c2c6e4ef65d7030a710412ad6234.zip
r6369: update release notes
sync with SAMBA_3_0 (r6365). Getting ready for 3.0.15pre2
Diffstat (limited to 'source/utils/net_rpc_samsync.c')
-rw-r--r--source/utils/net_rpc_samsync.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/utils/net_rpc_samsync.c b/source/utils/net_rpc_samsync.c
index 49aef2a23cd..fa38004fe6f 100644
--- a/source/utils/net_rpc_samsync.c
+++ b/source/utils/net_rpc_samsync.c
@@ -24,8 +24,6 @@
#include "includes.h"
#include "utils/net.h"
-extern DOM_SID global_sid_Builtin;
-
static void display_group_mem_info(uint32 rid, SAM_GROUP_MEM_INFO *g)
{
int i;
@@ -429,7 +427,7 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
if (delta->buf_logon_hrs.buffer) {
pstring old, new;
pdb_sethexhours(old, pdb_get_hours(account));
- pdb_sethexhours(new, (const char *)delta->buf_logon_hrs.buffer);
+ pdb_sethexhours(new, delta->buf_logon_hrs.buffer);
if (!strequal(old, new))
pdb_set_hours(account, (const char *)delta->buf_logon_hrs.buffer, PDB_CHANGED);
}