s4:rpc-server: fix lsa_lookupsids return value for the domain sid
authorMichael Adam <obnox@samba.org>
Wed, 18 Sep 2013 07:33:07 +0000 (09:33 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 13 Nov 2013 12:34:16 +0000 (13:34 +0100)
commit1c9c2e3b65c5550ff5cb5bc5687905a1dfda2fe4
treee253506242c56bef68de0cfbb9662d8a871056dc
parent29d8edfe4349aa80c4f4a4da53aaaab50871f60c
s4:rpc-server: fix lsa_lookupsids return value for the domain sid

We currently return type UNKNOWN and copy the domain sid to the name.
Instead we should return type DOMAIN and return NULL as name.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Nov 13 13:34:16 CET 2013 on sn-devel-104
source4/rpc_server/lsa/lsa_lookup.c