mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
r7747: - simplified the ldap server buffer handling
- got rid of the special cases for sasl buffers - added a tls_socket_pending() call to determine how much data is waiting on a tls connection - removed the attempt at async handling of ldap calls. The buffers/sockets are all async, but the calls themselves are sync.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
fed6f4cc6c
commit
73cb4aad22
@@ -322,10 +322,7 @@ static NTSTATUS rootdse_Search(struct ldapsrv_partition *partition, struct ldaps
|
||||
}
|
||||
}
|
||||
queue_reply:
|
||||
status = ldapsrv_queue_reply(call, ent_r);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
ldapsrv_queue_reply(call, ent_r);
|
||||
}
|
||||
|
||||
done_r = ldapsrv_init_reply(call, LDAP_TAG_SearchResultDone);
|
||||
@@ -357,7 +354,8 @@ queue_reply:
|
||||
|
||||
talloc_free(local_ctx);
|
||||
|
||||
return ldapsrv_queue_reply(call, done_r);
|
||||
ldapsrv_queue_reply(call, done_r);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
static const struct ldapsrv_partition_ops rootdse_ops = {
|
||||
|
||||
Reference in New Issue
Block a user