diff options
| author | Greg Hudson <ghudson@mit.edu> | 2010-06-26 03:32:55 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2010-06-26 03:32:55 +0000 |
| commit | 0080380b3b3e945c5eb84504771d9d01ee76a611 (patch) | |
| tree | 39234f0c55f0a9304b935e0f38c7c9b14aa0c7cf /src/lib/kadm5/unit-test/api.current | |
| parent | 5191e163a9a39ae11e1e62f4a2e191f2d26fbb7a (diff) | |
| download | krb5-0080380b3b3e945c5eb84504771d9d01ee76a611.tar.gz krb5-0080380b3b3e945c5eb84504771d9d01ee76a611.tar.xz krb5-0080380b3b3e945c5eb84504771d9d01ee76a611.zip | |
Make kadmin work over IPv6
Make gssrpc work over IPv6 TCP sockets provided that the client
creates and connects/binds the sockets and doesn't query their
addresses or use bindresvport(). Make kadmin work within those
constraints and handle IPv6. Specific changes:
* Make svctcp_create() able to extract the port from an IPv6 socket,
using a new helper function getport().
* Make clnttcp_create() handle a null raddr value if *sockp is set.
* Make kadm5_get_service_name() use getaddrinfo() to canonicalize the
admin server name.
* Make libkadm5clnt's init_any() responsible for connecting its socket
using a new helper function connect_to_server(), which uses
getaddrinfo instead of gethostbyname. Pass a null address to
clnttcp_create().
* Make libapputil's net-server.c set up IPv6 as well as IPv4 listener
ports for RPC connections.
* Adjust the error code expected in a libkadm5 unit test.
ticket: 6746
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24147 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5/unit-test/api.current')
| -rw-r--r-- | src/lib/kadm5/unit-test/api.current/init-v2.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kadm5/unit-test/api.current/init-v2.exp b/src/lib/kadm5/unit-test/api.current/init-v2.exp index a364b9c140..7a353d4e9c 100644 --- a/src/lib/kadm5/unit-test/api.current/init-v2.exp +++ b/src/lib/kadm5/unit-test/api.current/init-v2.exp @@ -70,7 +70,7 @@ proc test102 {} { [config_params {KADM5_CONFIG_ADMIN_SERVER} does.not.exist] \ $KADM5_STRUCT_VERSION $KADM5_API_VERSION_3 \ server_handle - } "BAD_SERVER_NAME" + } "CANT_RESOLVE" } if {$RPC} test102 |
