[krbdev.mit.edu #6746] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Jun 25 23:32:56 EDT 2010


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.


http://src.mit.edu/fisheye/changelog/krb5/?cs=24147
Commit By: ghudson
Revision: 24147
Changed Files:
U   trunk/src/kadmin/testing/util/tcl_kadm5.c
U   trunk/src/lib/apputils/net-server.c
U   trunk/src/lib/kadm5/alt_prof.c
U   trunk/src/lib/kadm5/clnt/client_init.c
U   trunk/src/lib/kadm5/unit-test/api.current/init-v2.exp
U   trunk/src/lib/rpc/clnt_tcp.c
U   trunk/src/lib/rpc/svc_tcp.c




More information about the krb5-bugs mailing list