git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d3b6df6
)
Fix Coverity ID 487
author
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:26:35 +0000
(19:26 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:44:55 +0000
(19:44 +0100)
source/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source/libads/ldap.c
b/source/libads/ldap.c
index 9ec06e5a1d52b6b9a8650a7591355917d57749e9..00d36b7edcb98040fa3648e77753180f0c71fb5e 100644
(file)
--- a/
source/libads/ldap.c
+++ b/
source/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;
}