diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-12 11:49:26 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-12 16:45:46 +0200 |
commit | f2c3d39e7223f6bd162f3a38efa1b568aee621de (patch) | |
tree | 6193a4c3aef6c2bd22433a28104182904b54b3ec | |
parent | 5a1cb7029cdeaaf2bf1c2093ddc00f51a15d95e5 (diff) | |
download | samba-f2c3d39e7223f6bd162f3a38efa1b568aee621de.tar.gz samba-f2c3d39e7223f6bd162f3a38efa1b568aee621de.tar.bz2 samba-f2c3d39e7223f6bd162f3a38efa1b568aee621de.zip |
s4:dcesrv_samr_EnumDomainAliases - return an empty array also when no entry was returned
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 741a018958..2b7a8d17d6 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1446,9 +1446,6 @@ static NTSTATUS dcesrv_samr_EnumDomainAliases(struct dcesrv_call_state *dce_call if (ldb_cnt < 0) { return NT_STATUS_INTERNAL_DB_CORRUPTION; } - if (ldb_cnt == 0) { - return NT_STATUS_OK; - } /* convert to SamEntry format */ entries = talloc_array(mem_ctx, struct samr_SamEntry, ldb_cnt); |