dsdb-cracknames: Return DRSUAPI_DS_NAME_STATUS_NO_MAPPING when there is no SID
authorAndrew Bartlett <abartlet@samba.org>
Wed, 24 Oct 2012 05:41:52 +0000 (16:41 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 25 Oct 2012 02:43:25 +0000 (04:43 +0200)
commit9dbb64563c35003311d3f3d47e6c4ef0f546ffab
tree1efb29c40585cd612f33d6b9591c26a484fdc064
parenta9a38415e52e3f341da4dd3bf1be6c56bd8ad6ef
dsdb-cracknames: Return DRSUAPI_DS_NAME_STATUS_NO_MAPPING when there is no SID

If there is no SID for an object being mapped, then there is no NT4 name.

We need to return DRSUAPI_DS_NAME_STATUS_NO_MAPPING rather than
error out with anything other than WERR_OK as the return value.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Oct 25 04:43:25 CEST 2012 on sn-devel-104
source4/dsdb/samdb/cracknames.c