mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4: fixed a missing NULL termination in a attribute list passed to ldb_search
This commit is contained in:
parent
27b19eb9f6
commit
5842aa1ffd
@ -2128,7 +2128,7 @@ int dsdb_find_guid_by_dn(struct ldb_context *ldb,
|
||||
{
|
||||
int ret;
|
||||
struct ldb_result *res;
|
||||
const char *attrs[] = { "objectGUID" };
|
||||
const char *attrs[] = { "objectGUID", NULL };
|
||||
TALLOC_CTX *tmp_ctx = talloc_new(ldb);
|
||||
|
||||
ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, attrs, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user