mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
Tidyups and things I discovered during the merge...
Jeremy. (This used to be commit 9c8439f25b90d80adcd7161bfed3664af6256940)
This commit is contained in:
parent
decc9a8985
commit
186726b7f8
@ -776,7 +776,7 @@ typedef struct smb_wpasswd {
|
||||
#define MAP_FILE 0
|
||||
#endif
|
||||
|
||||
#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP) && !defined(WITH_TDBSAM))
|
||||
#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP) && !defined(WITH_TDB_SAM))
|
||||
#define USE_SMBPASS_DB 1
|
||||
#endif
|
||||
|
||||
|
@ -153,10 +153,10 @@ BOOL reg_io_r_open_hklm(char *desc, REG_R_OPEN_HKLM * r_r, prs_struct *ps,
|
||||
if (!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if (!smb_io_pol_hnd("", &(r_r->pol), ps, depth))
|
||||
if (!smb_io_pol_hnd("", &r_r->pol, ps, depth))
|
||||
return False;
|
||||
|
||||
if (!prs_ntstatus("status", ps, depth, &(r_r->status)))
|
||||
if (!prs_ntstatus("status", ps, depth, &r_r->status))
|
||||
return False;
|
||||
|
||||
return True;
|
||||
@ -1618,7 +1618,7 @@ BOOL reg_io_r_shutdown(char *desc, REG_R_SHUTDOWN * r_s, prs_struct *ps,
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if(!prs_ntstatus("status", ps, depth, &(r_s->status)))
|
||||
if(!prs_ntstatus("status", ps, depth, &r_s->status))
|
||||
return False;
|
||||
|
||||
return True;
|
||||
@ -1673,7 +1673,7 @@ BOOL reg_io_r_abort_shutdown(char *desc, REG_R_ABORT_SHUTDOWN * r_s,
|
||||
if (!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if (!prs_ntstatus("status", ps, depth, &(r_s->status)))
|
||||
if (!prs_ntstatus("status", ps, depth, &r_s->status))
|
||||
return False;
|
||||
|
||||
return True;
|
||||
|
Loading…
x
Reference in New Issue
Block a user