Bug 121721

Summary: telnetd(8) not describing -X authentication types
Product: Documentation Reporter: Jeremy Chadwick <koitsu>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jeremy Chadwick freebsd_committer freebsd_triage 2008-03-15 03:00:04 UTC
	The telnetd(8) manpage does not describe the authentication types/strings
	one can use with the -X flag.  I had to go look at the libtelnet code,
	tracing it back to the auth_disable_name() function, then the authtype_names
	variable defined in arpa/telnet.h:

const char *authtype_names[] = {
        "NULL", "KERBEROS_V4", "KERBEROS_V5", "SPX", "MINK", NULL, "SRA",
        0
};

	Thus, the strings you can use with -X are NULL, KERBEROS_V4, KERBEROS_V5,
	SPX, MINK, and SRA.  These are independent of what's given to the -a
	flag (e.g. -a off).  I have no idea what the NULL authtype is, but the
	others make perfect sense.

	I ran into this situation when setting up dgamelaunch for FreeBSD, and
	found that telnetd kept asking for SRA authentication when I wanted
	absolutely no authentication capabilities.

	This applies to both RELENG_6 and RELENG_7.

Fix: 

Document the above authentication types in the manpage.
How-To-Repeat: 	n/a
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2008-07-14 14:49:20 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Take - I have a patch but, having spent time away from FreeBSD, 
want to get some mdoc(7) review first.  Thanks Jeremy!
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-08-29 01:05:00 UTC
trhodes     2008-08-29 00:04:37 UTC

  FreeBSD src repository

  Modified files:
    contrib/telnet/telnetd telnetd.8 
  Log:
  SVN rev 182419 on 2008-08-29 00:04:37Z by trhodes
  
  List authentication types supported with "-X" taken from the libtelnet
  code.
  
  PR:             121721
  
  Revision  Changes    Path
  1.22      +10 -1     src/contrib/telnet/telnetd/telnetd.8
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2008-08-29 01:07:08 UTC
State Changed
From-To: open->patched

Updated in CURRENT will MFC later.  Thanks!
Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2012-07-21 16:46:51 UTC
State Changed
From-To: patched->closed

Changes have been merged for awhile now, thanks.