Nicolas Williams 
							
						 
					 
					
						
						
							
						
						487b6820f6 
					 
					
						
						
							
							Revamp name canonicalization code  
						
						
						
						
					 
					
						2015-03-24 11:49:58 -05:00 
						 
				 
			
				
					
						
							
							
								Viktor Dukhovni 
							
						 
					 
					
						
						
							
						
						49861eb2c5 
					 
					
						
						
							
							Delay KRB5_KTNAME lookup until keytab resolution.  
						
						... 
						
						
						
						Previously getenv("KRB5_KTNAME") happened in
    init_context_from_config_file()
which would capture the environment value as an override without
using strdup() to get a private copy, so it would get trashed in
applications that dynamically update the environment (e.g. Perl
code that has a tied %ENV).
The patch delays getenv("KRB5_KTNAME") until the context's value
of default_keytab is actually needed, and the environment can preempt
the context's default at that time.
[ Do we need to worry about issuid() being true initially when the
  context is created, but not later, because the application changes
  both the real and effective uid?  If so the issuid() state should
  be saved when the context is created and the saved value queried. ] 
						
						
					 
					
						2015-02-06 23:17:50 -05:00 
						 
				 
			
				
					
						
							
							
								Jeffrey Altman 
							
						 
					 
					
						
						
							
						
						31a00d6647 
					 
					
						
						
							
							ISPATHSEP and ISTILDE macros; Windows portability  
						
						... 
						
						
						
						Windows treats '\\' and '/' equivalently but we cannot control
the form that will be used by end users.  Introduce ISPATHSEP()
macro which tests only for '/' on UNIX and both on Windows.
Introduce ISTILDE() macro to test for '~'.   When testing for
'/' with strchr() or strrchr() add conditional checks for '\\' on
Windows.
Change-Id: Ia85e698fc88f15a6a71db649db5417f02ef7e5fe 
						
						
					 
					
						2013-09-10 22:31:38 -04:00 
						 
				 
			
				
					
						
							
							
								Jeffrey Altman 
							
						 
					 
					
						
						
							
						
						5f138a16ef 
					 
					
						
						
							
							libkrb5: Add missing KRB5_LIB_FUNCTION/KRB5_LIB_CALL  
						
						... 
						
						
						
						KRB5_LIB_FUNCTION and KRB5_LIB_CALL are necessary even on private
functions that are exported.
Change-Id: Iccd0cfe87ff0a9d851e29890e9cb55b3ae517ce1 
						
						
					 
					
						2013-06-22 21:17:32 -04:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						0fad20a7ce 
					 
					
						
						
							
							krb5_kt_have_content have always really returned a krb5_error_code, pointed out by Gred Hudson  
						
						
						
						
					 
					
						2012-06-04 10:47:12 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						118f99e308 
					 
					
						
						
							
							tell if keytab is missing principal  
						
						
						
						
					 
					
						2011-11-22 11:00:51 -08:00 
						 
				 
			
				
					
						
							
							
								Nicolas Williams 
							
						 
					 
					
						
						
							
						
						f4471b11d6 
					 
					
						
						
							
							Call krb5_set_error_message() and don't clobber ret in debug code  
						
						
						
						
					 
					
						2011-10-22 14:54:25 -05:00 
						 
				 
			
				
					
						
							
							
								Nicolas Williams 
							
						 
					 
					
						
						
							
						
						9f5a43084c 
					 
					
						
						
							
							Cleanups: s/ENOMEM/krb5_enomem(context)/  
						
						
						
						
					 
					
						2011-10-22 14:54:25 -05:00 
						 
				 
			
				
					
						
							
							
								Nicolas Williams 
							
						 
					 
					
						
						
							
						
						a5e77c578e 
					 
					
						
						
							
							Deferred hostname canon using name canon rules  
						
						
						
						
					 
					
						2011-10-22 14:54:13 -05:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						0879b9831a 
					 
					
						
						
							
							remove trailing whitespace  
						
						
						
						
					 
					
						2011-05-21 11:57:31 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						372db4d853 
					 
					
						
						
							
							add krb5_kt_have_content  
						
						
						
						
					 
					
						2011-04-07 07:15:27 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						b59a20bc1f 
					 
					
						
						
							
							clarify documentation  
						
						
						
						
					 
					
						2011-03-12 11:37:13 -08:00 
						 
				 
			
				
					
						
							
							
								Asanka C. Herath 
							
						 
					 
					
						
						
							
						
						94aa4de1b9 
					 
					
						
						
							
							Windows: Don't treat drive letters as keytab types  
						
						
						
						
					 
					
						2010-12-02 01:18:03 -05:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						0bfd697f62 
					 
					
						
						
							
							use krb5_unparse_name instead of krb5_unparse_name_short since that doesnt fail. From Zdenek Hatas  
						
						
						
						
					 
					
						2010-09-16 20:59:35 -07:00 
						 
				 
			
				
					
						
							
							
								Russ Allbery 
							
						 
					 
					
						
						
							
						
						811d9003c1 
					 
					
						
						
							
							Remove remnants of srvtab support  
						
						... 
						
						
						
						Support for manipulating srvtabs was previously removed, but there
were still remnants in command documentation in the ktutil man page
and some declared and exported variables for the keytab ops
definitions for srvtab manipulation.  Remove these additional
remnants.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2010-08-03 09:09:32 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						687db64c56 
					 
					
						
						
							
							Patch from Secure Endpoints/Asanka Herath for windows support  
						
						
						
						
					 
					
						2009-12-21 08:45:28 +01:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						942a821fab 
					 
					
						
						
							
							remove RCSID  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-04 06:17:40 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						2494d521ac 
					 
					
						
						
							
							compare aliases  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24472 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-25 01:01:56 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5d4a556b1c 
					 
					
						
						
							
							add krb5_kt_destroy  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24447 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-25 00:45:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						738e5518bf 
					 
					
						
						
							
							remove trailing .  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24319 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-17 21:50:30 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5ba91a8f17 
					 
					
						
						
							
							doxygen fixup  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24282 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:48:54 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						36604d0006 
					 
					
						
						
							
							doxygen fixup  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24278 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:48:16 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						b300c67406 
					 
					
						
						
							
							doxygen fixup  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24277 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:48:06 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c8c972feb1 
					 
					
						
						
							
							doxygen  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24272 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:47:14 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						105ff825b9 
					 
					
						
						
							
							doxygen  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24269 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:46:46 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c534aa1175 
					 
					
						
						
							
							doxygen  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24268 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:46:36 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						251266e7e2 
					 
					
						
						
							
							abstract out principal not found in keytab code  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24266 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-01-11 21:46:16 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						03babea1e3 
					 
					
						
						
							
							switch to krb5_clear_error_message  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-10-14 02:55:39 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6937d41a02 
					 
					
						
						
							
							remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-09-13 09:21:03 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e172367898 
					 
					
						
						
							
							switch to utf8 encoding of all files  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-09-13 08:53:55 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						1250b3b63d 
					 
					
						
						
							
							N_()ify  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23779 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-09-07 21:24:54 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						ff61711f38 
					 
					
						
						
							
							N_()ify  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23778 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-09-07 21:24:33 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						9efa43473c 
					 
					
						
						
							
							If we change the error code, change the context error code too.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23542 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-08-16 22:59:36 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						7fcd266fdd 
					 
					
						
						
							
							use krb5_set_error_message  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-06-23 04:32:32 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						948af1ae00 
					 
					
						
						
							
							use krb5_set_error_message  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23288 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-06-23 03:27:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						34faa9fe6e 
					 
					
						
						
							
							better error strings for the keytab fetching functions  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22532 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2008-01-27 11:59:18 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						873b9b8aae 
					 
					
						
						
							
							(krb5_kt_get_entry): Use krb5_kt_get_full_name to print out the keytab name.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20211 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2007-02-09 07:11:03 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						fee0291ccb 
					 
					
						
						
							
							Proper sentence.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19936 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2007-01-16 21:47:07 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						27546db2b4 
					 
					
						
						
							
							(krb5_kt_get_full_name): new function  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16295 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-11-25 21:46:40 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						3625ef3caa 
					 
					
						
						
							
							(krb5_kt_get_entry): clear error string when returning a new error  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15560 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-07-06 01:14:42 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						901add3df7 
					 
					
						
						
							
							krb5_kt_close frees all resources, even on error.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15558 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-07-06 01:02:48 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c0817d7f3b 
					 
					
						
						
							
							(krb5_kt_free_entry): zero out content of all krb5_free_x_content like  
						
						... 
						
						
						
						functions to make sure data doesnt get reused, idea from Wynn Wilkes
<wwilkes@vintela.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15185 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-05-19 14:04:45 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						620f5d40f8 
					 
					
						
						
							
							(krb5_kt_get_entry): tell what enctype the caller requested to provide  
						
						... 
						
						
						
						the user with a glue what the caller was asking for.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-02-08 12:12:53 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						2011850a53 
					 
					
						
						
							
							use KRB5_KT_BADNAME  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14312 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2004-10-13 20:10:09 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						91351971f7 
					 
					
						
						
							
							add KRB5_LIB_FUNCTION to all exported functions  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2004-05-25 21:46:46 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						b18ecb3e09 
					 
					
						
						
							
							remove #if 0 out file locking code  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13278 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2004-01-21 10:55:54 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6eb8e7a3ed 
					 
					
						
						
							
							(krb5_kt_get_entry): avoid printing 0 (wildcard kvno) after principal  
						
						... 
						
						
						
						when the keytab entry isn't found, reported by Chris Chiappa
<chris@chiappa.net >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11928 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-03-27 03:45:01 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						342ad84447 
					 
					
						
						
							
							(krb5_kt_get_type): get prefix/type of keytab  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11786 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-03-16 18:32:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						96dfbfc6f0 
					 
					
						
						
							
							store the kvno % 256 as the byte and the complete 32 bit kvno after  
						
						... 
						
						
						
						the end of the current keytab entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10871 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2002-03-10 23:14:36 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						df804eebad 
					 
					
						
						
							
							(krb5_kt_default_modify_name): if no modify name is specified take it  
						
						... 
						
						
						
						from the first component of the default keytab name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10814 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2002-01-30 10:09:35 +00:00