kadmin: IPv6 support binds IPv4 socket leading to EAFNOSUPPORT.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
krb5 (Debian) |
Fix Released
|
Unknown
|
|||
krb5 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Package: krb5-user
Version: 1.8.3+dfsg-4
Severity: important
File: /usr/bin/kadmin
Here is a small bit of strace output:
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
bind(4, {sa_family=AF_INET, sin_port=
sin_
connect(4, {sa_family=
inet_
sin6_
by protocol)
Obviously the bind needs to be made IPv6 aware. I hope this is self
explanitory, the initial connection to the admin server falis as a
result and kadmin exits. Also the addres in the connect seams wrong.
This is run on localhost and the '-s 127.0.0.1' option is ignored.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (900, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35.4-rscloud (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=
Shell: /bin/sh linked to /bin/bash
Versions of packages krb5-user depends on:
ii krb5-config 2.2 Configuration files for Kerberos V
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libgssapi-krb5-2 1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
ii libgssrpc4 1.8.3+dfsg-4 MIT Kerberos runtime libraries - G
ii libk5crypto3 1.8.3+dfsg-4 MIT Kerberos runtime libraries - C
ii libkadm5clnt-mit7 1.8.3+dfsg-4 MIT Kerberos runtime libraries - A
ii libkeyutils1 1.4-1 Linux Key Management Utilities (li
ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries
ii libkrb5support0 1.8.3+dfsg-4 MIT Kerberos runtime libraries - S
ii libss2 1.41.12-2 command-line interface parsing lib
krb5-user recommends no packages.
krb5-user suggests no packages.
-- no debconf information
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: krb5-user 1.8.1+dfsg-
Uname: Linux 2.6.39-
Architecture: i386
Date: Tue May 10 19:27:38 2011
ProcEnviron:
LANGUAGE=C:en
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
SourcePackage: krb5
Changed in krb5 (Debian): | |
status: | Unknown → Fix Released |
http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 624710
Version 1.9 adds IPv6 support for kadmind and kadmin.