mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
cldap: Remove cldap_netlogon->in.map_response
We should not pass booleans down where the caller can do the same thing with equal effort Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
82d8f345f5
commit
6edd49c68b
@ -1049,10 +1049,6 @@ NTSTATUS cldap_netlogon_recv(struct tevent_req *req,
|
|||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (io->in.map_response) {
|
|
||||||
map_netlogon_samlogon_response(&io->out.netlogon);
|
|
||||||
}
|
|
||||||
|
|
||||||
status = NT_STATUS_OK;
|
status = NT_STATUS_OK;
|
||||||
failed:
|
failed:
|
||||||
tevent_req_received(req);
|
tevent_req_received(req);
|
||||||
|
@ -106,7 +106,6 @@ struct cldap_netlogon {
|
|||||||
const char *domain_sid;
|
const char *domain_sid;
|
||||||
int acct_control;
|
int acct_control;
|
||||||
uint32_t version;
|
uint32_t version;
|
||||||
bool map_response;
|
|
||||||
} in;
|
} in;
|
||||||
struct {
|
struct {
|
||||||
struct netlogon_samlogon_response netlogon;
|
struct netlogon_samlogon_response netlogon;
|
||||||
|
Loading…
Reference in New Issue
Block a user