mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
ldap: give a debug error when we don't know a control
This interface should really have a proper error interface, but at least a DEBUG() gives the user a chance of finding the error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
6c2125572c
commit
f9302f9e08
@ -668,6 +668,8 @@ _PUBLIC_ bool ldap_encode(struct ldap_message *msg,
|
||||
if (!ldap_encode_control(mem_ctx, data,
|
||||
control_handlers,
|
||||
msg->controls[i])) {
|
||||
DEBUG(1,("Unable to encode control %s\n",
|
||||
msg->controls[i]->oid));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user