mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +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;
|
||||
}
|
||||
|
||||
if (io->in.map_response) {
|
||||
map_netlogon_samlogon_response(&io->out.netlogon);
|
||||
}
|
||||
|
||||
status = NT_STATUS_OK;
|
||||
failed:
|
||||
tevent_req_received(req);
|
||||
|
@ -106,7 +106,6 @@ struct cldap_netlogon {
|
||||
const char *domain_sid;
|
||||
int acct_control;
|
||||
uint32_t version;
|
||||
bool map_response;
|
||||
} in;
|
||||
struct {
|
||||
struct netlogon_samlogon_response netlogon;
|
||||
|
Loading…
x
Reference in New Issue
Block a user