[11587] in Kerberos-V5-bugs
[krbdev.mit.edu #6746] SVN Commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Fri Jun 25 23:32:59 2010
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@krbdev.MIT.EDU>
In-Reply-To: <rt-6746@krbdev.mit.edu>
Message-ID: <rt-6746-32969.13.8702141082128@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #6746'":;"'AdminCc of krbdev.mit.edu Ticket #6746'":;@MIT.EDU
Date: Fri, 25 Jun 2010 23:32:56 -0400 (EDT)
Reply-To: rt-comment@krbdev.MIT.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
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
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs