diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-02 16:02:42 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-02 16:02:42 +1000 |
commit | caa9e3ff8e0da229253f43e26980a394bb76e3ca (patch) | |
tree | 8e534efde0fa3da324c5943fa52e6342a5e88a4d /source4/rpc_server | |
parent | 7a59e6c222595df7dbd345b468b46bdab845cbf0 (diff) | |
download | samba-caa9e3ff8e0da229253f43e26980a394bb76e3ca.tar.gz samba-caa9e3ff8e0da229253f43e26980a394bb76e3ca.tar.bz2 samba-caa9e3ff8e0da229253f43e26980a394bb76e3ca.zip |
s4-samr: fake up a samr_ValidatePassword response
mdw is working on the correct call to check the password strength
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 6dda06a6b8..b8af5fdeb3 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -4342,7 +4342,11 @@ static NTSTATUS dcesrv_samr_SetDsrmPassword(struct dcesrv_call_state *dce_call, static NTSTATUS dcesrv_samr_ValidatePassword(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct samr_ValidatePassword *r) { - DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); + /* just say it's OK for now - we need to hook this into our + password strength code later */ + DEBUG(0,(__location__ ": Faking samr_ValidatePassword reply\n")); + (*r->out.rep) = talloc_zero(mem_ctx, union samr_ValidatePasswordRep); + return NT_STATUS_OK; } |