git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:idmap_ldap: remove unreached code (and explicit error return code)
[metze/samba/wip.git]
/
source3
/
winbindd
/
idmap_ldap.c
diff --git
a/source3/winbindd/idmap_ldap.c
b/source3/winbindd/idmap_ldap.c
index 81562ce88ca8d5690c3abb67717363c3755c8fcf..d6f8ceb3e06051c4d9a1b4c2dcbca6be9fd1ef19 100644
(file)
--- a/
source3/winbindd/idmap_ldap.c
+++ b/
source3/winbindd/idmap_ldap.c
@@
-430,11
+430,7
@@
static NTSTATUS idmap_ldap_allocate_id(struct idmap_domain *dom,
entry, type, mem_ctx);
if (id_str == NULL) {
DEBUG(0,("%s attribute not found\n", type));
- goto done;
- }
- if ( ! id_str) {
- DEBUG(0,("Out of memory\n"));
- ret = NT_STATUS_NO_MEMORY;
+ ret = NT_STATUS_UNSUCCESSFUL;
goto done;
}