Jeffrey Altman 
							
						 
					 
					
						
						
							
						
						81f3a0b804 
					 
					
						
						
							
							lib/hdb: ndbm correct asprintf error handling  
						
						... 
						
						
						
						asprintf() return code must be checked because in case of failure
the value of the output buffer variable is undefined.
Change-Id: I75e06fffe2330ec10dbe4f678479ded479ab5931 
						
						
					 
					
						2022-01-20 23:33:11 -05:00 
						 
				 
			
				
					
						
							
							
								Luke Howard 
							
						 
					 
					
						
						
							
						
						0e8c4ccc6e 
					 
					
						
						
							
							hdb: eliminate hdb_entry_ex  
						
						... 
						
						
						
						Remove hdb_entry_ex and revert to the original design of hdb_entry (except with
an additional context member in hdb_entry which is managed by the free_entry
method in HDB). 
						
						
					 
					
						2022-01-15 18:54:57 +11:00 
						 
				 
			
				
					
						
							
							
								Luke Howard 
							
						 
					 
					
						
						
							
						
						c5551775e2 
					 
					
						
						
							
							hdb: decorate HDB_entry with context member  
						
						... 
						
						
						
						Decorate HDB_entry with context and move free_entry callback into HDB structure
itself. Requires updating hdb_free_entry() signature to include HDB parameter.
A follow-up commit will consolidate hdb_entry_ex (which has a single hdb_entry
member) into hdb_entry. 
						
						
					 
					
						2022-01-15 18:54:57 +11:00 
						 
				 
			
				
					
						
							
							
								Nicolas Williams 
							
						 
					 
					
						
						
							
						
						5447b81fb1 
					 
					
						
						
							
							hdb: Move virtual principals into HDB layer  
						
						... 
						
						
						
						This is a large commit that adds several features:
 - Revamps and moves virtual host-based service principal functionality
   from kdc/ to lib/hdb/ so that it may be automatically visible to
   lib/kadm5/, as well as kadmin(1)/kadmind(8) and ktutil(1).
   The changes are backwards-incompatible.
 - Completes support for documenting a service principal's supported
   enctypes in its HDB entry independently of its long-term keys.  This
   will reduce HDB bloat by not requiring that service principals have
   more long-term keys than they need just to document the service's
   supported enctypes.
 - Adds support for storing krb5.conf content in principals' HDB
   entries.  This may eventually be used for causing Heimdal KDC
   services to reconfigure primary/secondary roles automatically by
   discovering the configured primary in an HDB entry for the realm.
   For now this will be used to help reduce the amount of configuration
   needed by clients of an upcoming HTTP binding of the kadmin service. 
						
						
					 
					
						2020-09-08 00:25:36 -05:00 
						 
				 
			
				
					
						
							
							
								Daria Phoebe Brashear 
							
						 
					 
					
						
						
							
						
						59d132f825 
					 
					
						
						
							
							hdb: don't use lock_file name after free in open_lock_file  
						
						
						
						
					 
					
						2020-03-06 11:56:03 -06:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						6c6726d76c 
					 
					
						
						
							
							drop hdb_fetch  
						
						
						
						
					 
					
						2010-11-28 11:46:46 -08:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						ee8c2e45b4 
					 
					
						
						
							
							use _hdb_fetch_kvno  
						
						
						
						
					 
					
						2010-11-28 11:20:31 -08:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						fae86f1123 
					 
					
						
						
							
							disable write support for ndbm  
						
						
						
						
					 
					
						2010-07-22 20:46:53 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						d837f736f8 
					 
					
						
						
							
							Make locking work when doing rename, rename assume db in not ->hdb_open'ed.  
						
						
						
						
					 
					
						2010-03-21 14:55:36 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5a9dd54e95 
					 
					
						
						
							
							drop RCSID  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25319 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-05 05:09:16 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a18db94691 
					 
					
						
						
							
							Push enterprise support into the bdblayer.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25316 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-05 05:08:36 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						0de4182acb 
					 
					
						
						
							
							drop unused variable  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25189 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-06 19:03:11 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						91026474ad 
					 
					
						
						
							
							memset hdb_entry_ex before use  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16395 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-12-13 11:54:10 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						0c2369acd0 
					 
					
						
						
							
							Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-12-12 12:40:12 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						daf7286660 
					 
					
						
						
							
							(hdb_ndbm_create): use calloc to allocate memory  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16303 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-11-28 23:31:36 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						1f54737a4c 
					 
					
						
						
							
							(NDBM_open): in case of error, close database  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15509 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-06-23 13:37:57 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						0540f13b86 
					 
					
						
						
							
							prefix all struct HDB elements with hdb_  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-09-19 00:25:35 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9b1b60332d 
					 
					
						
						
							
							prefer ndbm.h to dbm.h  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10640 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-09-03 05:03:01 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						334c7ffa33 
					 
					
						
						
							
							merge of DB-NEW  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10453 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-08-09 08:41:49 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						c7562eda65 
					 
					
						
						
							
							add some more error strings  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10338 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-07-13 06:30:42 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						c7c19f07f3 
					 
					
						
						
							
							adapt to new hdb_seal_keys and hdb_unseal_keys  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9595 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-01-30 01:24:29 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						c0e8a55077 
					 
					
						
						
							
							fix typo  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9154 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-11-14 06:55:46 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						41e3980f6b 
					 
					
						
						
							
							handle both ndbm.h and gdbm/ndbm.h  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9153 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-11-13 22:30:14 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						bb90aecaee 
					 
					
						
						
							
							pass context to seal/unseal_keys  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8551 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-07-05 13:17:32 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c5b916ca6f 
					 
					
						
						
							
							remove advertising clause  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-02 17:05:13 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						86b9f99881 
					 
					
						
						
							
							add flags to NDBM_seq, NDBM_firstkey, and NDBM_nextkey  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6090 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-03 16:52:23 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						34f25c0700 
					 
					
						
						
							
							(NDBM_destroy): clear master key  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5761 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-03-25 03:39:15 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						523ded820a 
					 
					
						
						
							
							(NDBM_open): add test for database format  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5395 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-02-20 15:11:54 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f9009f3404 
					 
					
						
						
							
							(NDBM_seq): unseal key  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5299 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-01-30 18:21:59 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						2032781fa8 
					 
					
						
						
							
							rename delete -> remove  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5241 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-11-23 11:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						e30842e7ef 
					 
					
						
						
							
							use `struct ndbm_db' everywhere.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4468 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-02-27 04:02:19 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						f3d55aa4c5 
					 
					
						
						
							
							Implement locking of database.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4277 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-01-05 22:43:12 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c4fa75bb1a 
					 
					
						
						
							
							Remove unused variable.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3967 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-11-12 00:53:24 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						593cda47a5 
					 
					
						
						
							
							implement new interface  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3626 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-10-16 04:13:04 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						a2a09b5eab 
					 
					
						
						
							
							Add _del routine, use common fetch/store/delete.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3292 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-30 19:29:05 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						c47050b650 
					 
					
						
						
							
							(NDBM_seq): check for valid hdb_entries  
						
						... 
						
						
						
						implement NDBM__get, NDBM__put
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3215 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-28 01:26:47 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						5af8445972 
					 
					
						
						
							
							Free name in close.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2979 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-14 22:18:04 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						53c856a18b 
					 
					
						
						
							
							(broken) NDBM_rename  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2862 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-09 20:34:40 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						7c5ce9ed2b 
					 
					
						
						
							
							Add locking framework.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2691 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-01 16:21:31 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						63f294cd8b 
					 
					
						
						
							
							Update for new error names.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2672 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-08-01 14:53:58 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						85f5f471fb 
					 
					
						
						
							
							never clear about when to free  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2620 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-07-24 11:31:10 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						06a5eb07ff 
					 
					
						
						
							
							free data  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2566 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-07-23 23:52:51 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						cbdddcbe0b 
					 
					
						
						
							
							Allocate principal.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2518 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-07-23 02:07:53 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						5a32a5c8e7 
					 
					
						
						
							
							Add copyright notice.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-07-16 21:40:05 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						092b9a267e 
					 
					
						
						
							
							staticize `sigterm'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2312 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-07-15 15:16:30 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						e6c571df29 
					 
					
						
						
							
							Remove unused err.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1820 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-06-01 21:33:54 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						3d7e5b5a14 
					 
					
						
						
							
							Return NOENTRY if fetch fails. Don't free datums. Don't add .db to  
						
						... 
						
						
						
						filename.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1405 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-03-14 02:37:19 +00:00