s4:rpc_server/lsa: use dsdb_trust_*() helper functions in dcesrv_lsa_lsaRSetForestTru...
authorStefan Metzmacher <metze@samba.org>
Wed, 28 Jan 2015 08:55:43 +0000 (08:55 +0000)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2015 16:38:21 +0000 (18:38 +0200)
commitc98f96d1b1047b119f343af457ae672e0032d9db
tree58e1fa71b7314352a3338fb0906aff79d8b996a4
parent666ac7c5b796cf29aa278af6c429726864aba3bc
s4:rpc_server/lsa: use dsdb_trust_*() helper functions in dcesrv_lsa_lsaRSetForestTrustInformation()

This means we return mostly the same error codes as a Windows
and also normalize the given information before storing.

Storing is now done within a transaction in order to avoid races
and inconsistent values.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/lsa/dcesrv_lsa.c