mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:idmap_ldap: remove unreached code (and explicit error return code)
This commit is contained in:
parent
276a1a7fec
commit
3f99ff104a
@ -445,11 +445,7 @@ static NTSTATUS idmap_ldap_allocate_id(struct unixid *xid)
|
||||
if ( ! (id_str = smbldap_talloc_single_attribute(idmap_alloc_ldap->smbldap_state->ldap_struct,
|
||||
entry, type, ctx))) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user