diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/ldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 9ec06e5a1d..00d36b7edc 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -3413,6 +3413,7 @@ ADS_STATUS ads_find_samaccount(ADS_STRUCT *ads, filter = talloc_asprintf(mem_ctx, "(&(objectclass=user)(sAMAccountName=%s))", samaccountname); if (filter == NULL) { + status = ADS_ERROR_NT(NT_STATUS_NO_MEMORY); goto out; } |