Rework error-mapping code to preserve status code values when returned
authorKen Raeburn <raeburn@mit.edu>
Wed, 5 Sep 2007 00:12:30 +0000 (00:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 5 Sep 2007 00:12:30 +0000 (00:12 +0000)
commit7868a34cad0e5944f2144f734960ca78e9b4cf8b
treebb4263e3bc11d6568395324454860194961b162f
parentf403c41393f37d9e903957c680671cae9ca328dc
Rework error-mapping code to preserve status code values when returned
by only one mechanism.  Revert RPC code to relying on this.

Build error-mapping code on a bidirectional map instead of a simple
array.  When a status code is returned but has been seen returned from
a different mechanism already, generate a new number, starting at
100,000.

Use gssrpcint_printf for some more debugging code.

ticket: 5654

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19919 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/generic/Makefile.in
src/lib/gssapi/generic/maptest.c
src/lib/gssapi/generic/util_errmap.c
src/lib/rpc/auth_gssapi.c
src/lib/rpc/svc_auth_gssapi.c