mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)
Implement 'net rpc shell account' -- An editor for account policies nt_time_to_unix_abs changed its argument which to me seems wrong, and I could not find a caller that depends on this. So I changed it. Applied some more const in time.c. Volker
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
bd1be2388e
commit
fc73690a70
@@ -7629,8 +7629,10 @@ BOOL samr_io_q_set_domain_info(const char *desc, SAMR_Q_SET_DOMAIN_INFO *q_u,
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if ((q_u->ctr = PRS_ALLOC_MEM(ps, SAM_UNK_CTR, 1)) == NULL)
|
||||
return False;
|
||||
if (UNMARSHALLING(ps)) {
|
||||
if ((q_u->ctr = PRS_ALLOC_MEM(ps, SAM_UNK_CTR, 1)) == NULL)
|
||||
return False;
|
||||
}
|
||||
|
||||
switch (q_u->switch_value) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user