mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
fixed another leak - memory usage now seems to be quite small
(This used to be commit a45e396859
)
This commit is contained in:
parent
a313351e94
commit
cb01c8e192
@ -461,6 +461,8 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
|
||||
|
||||
user_dn = ads_pull_string(ads, mem_ctx, msg, "distinguishedName");
|
||||
|
||||
if (msg) ads_msgfree(ads, msg);
|
||||
|
||||
rc = ads_search_dn(ads, &msg, user_dn, attrs2);
|
||||
if (rc) {
|
||||
DEBUG(1,("lookup_usergroups(rid=%d) ads_search tokenGroups: %s\n", user_rid, ads_errstr(rc)));
|
||||
|
Loading…
Reference in New Issue
Block a user