mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
4ad0397d8a
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.