s4:kdc/db-glue: implement cross forest routing by return HDB_ERR_WRONG_REALM
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Feb 2015 13:43:01 +0000 (14:43 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2015 16:38:21 +0000 (18:38 +0200)
commit143b654ad2ec0e7c2d8dfa19e68abba06f4549ba
tree24acb247d406671752e21057929f23ce39550e85
parenta11f874dc7a91c9bd6b111573af44fc90630168d
s4:kdc/db-glue: implement cross forest routing by return HDB_ERR_WRONG_REALM

We lookup the principal against our trust routing table
and return HDB_ERR_WRONG_REALM and the realm of the next trust hoop.

Routing within our own forest is not supported yet.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c