server: Update ldap3_proto dependency

This commit is contained in:
Valentin Tolmer
2024-08-16 23:19:09 +02:00
committed by nitnelave
parent fa9c503de7
commit ee7f9c9f41
3 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ itertools = "0.10"
juniper = "0.15"
jwt = "0.16"
lber = "0.4.1"
ldap3_proto = "^0.4.3"
ldap3_proto = "^0.5.1"
log = "*"
orion = "0.17"
rand_chacha = "0.3"

View File

@@ -33,6 +33,11 @@ where
{
use futures_util::SinkExt;
let msg = msg.context("while receiving LDAP op")?;
for control in msg.ctrl.iter() {
if let LdapControl::Unknown { oid, .. } = control {
info!("Received unknown control: {}, ignoring", oid);
}
}
debug!(?msg);
match session.handle_ldap_message(msg.op).await {
None => return Ok(false),