mirror of
https://github.com/samba-team/samba.git
synced 2025-10-24 15:33:20 +03:00
r3784: do a samdb lookup for the DsCrackNames server
metze
(This used to be commit a2776eca83)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8a18778286
commit
43f500244b
@@ -50,6 +50,11 @@ static WERROR drsuapi_DsBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem
|
||||
WERR_TALLOC_CHECK(b_state);
|
||||
|
||||
/* TODO: fill b_state here */
|
||||
b_state->sam_ctx = samdb_connect(b_state);
|
||||
if (!b_state->sam_ctx) {
|
||||
talloc_free(b_state);
|
||||
return WERR_FOOBAR;
|
||||
}
|
||||
|
||||
handle = dcesrv_handle_new(dce_call->conn, DRSUAPI_BIND_HANDLE);
|
||||
if (!handle) {
|
||||
|
||||
Reference in New Issue
Block a user