[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal problems and solutions.



On Mon, Jun 28, 1999 at 03:33:13AM +0200, Majordomo@sics.se wrote:
> This is a general mailing list for discussions about Heimdal, the free
> Kerberos 5 implementation.
> 
> All topics related to Heimdal, such as compilation, installation,
> bugs, questions, tips and tricks, suggestions, dreams, etc, are
> welcome.

Hello,

This is the second of two messages I have written. This will be that
last unless I get some sought of response...

Anyway, in order to install heimdal, I had to make some changes to the
source, the diff file is included. I have no idea if they are correct.
One of the changes was required so I could add new principles, the other
was required so it would read my config file, which had a blank line in
at the wrong place.

Currently, I cannot log in - the ticket is always expired:

[553] [snoopy:bam] ~ >/usr/local/lib/heimdal/bin/kinit
bam/admin@CHOCBIT.ORG.AU's Password:
[554] [snoopy:bam] ~ >/usr/local/lib/heimdal/bin/klist
Credentials cache: FILE:/tmp/krb5cc_1003
        Principal: bam/admin@CHOCBIT.ORG.AU

  Issued           Expires          Principal
Jun 30 15:05:47  >>>Expired<<<    krbtgt/CHOCBIT.ORG.AU@CHOCBIT.ORG.AU

-- 
Brian May <bam@snoopy.apana.org.au>
Index: heimdal-0.1g/lib/kadm5/create_s.c
diff -c heimdal-0.1g/lib/kadm5/create_s.c:1.1.1.1 heimdal-0.1g/lib/kadm5/create_s.c:1.2
*** heimdal-0.1g/lib/kadm5/create_s.c:1.1.1.1	Wed Jun 30 08:49:27 1999
--- heimdal-0.1g/lib/kadm5/create_s.c	Wed Jun 30 12:07:43 1999
***************
*** 84,93 ****
  	return ret;
      
      defent = &defrec;
      ret = get_default(context, princ->principal, defent);
      if(ret)
  	defent = NULL;
!     def_mask = KADM5_ATTRIBUTES | KADM5_MAX_LIFE | KADM5_MAX_RLIFE;
  
      ret = _kadm5_setup_entry(ent, mask | def_mask,
  			     princ, mask,
--- 84,96 ----
  	return ret;
      
      defent = &defrec;
+     def_mask = KADM5_ATTRIBUTES | KADM5_MAX_LIFE | KADM5_MAX_RLIFE;
      ret = get_default(context, princ->principal, defent);
      if(ret)
+     {
  	defent = NULL;
! 	def_mask = 0;
!     }
  
      ret = _kadm5_setup_entry(ent, mask | def_mask,
  			     princ, mask,
Index: heimdal-0.1g/lib/krb5/config_file.c
diff -c heimdal-0.1g/lib/krb5/config_file.c:1.1.1.1 heimdal-0.1g/lib/krb5/config_file.c:1.2
*** heimdal-0.1g/lib/krb5/config_file.c:1.1.1.1	Wed Jun 30 08:49:29 1999
--- heimdal-0.1g/lib/krb5/config_file.c	Wed Jun 30 12:07:59 1999
***************
*** 231,237 ****
  	p = buf;
  	while(isspace((unsigned char)*p))
  	    ++p;
! 	if (*p == '#' || *p == ';')
  	    continue;
  	while(isspace((unsigned char)*p))
  	    ++p;
--- 231,237 ----
  	p = buf;
  	while(isspace((unsigned char)*p))
  	    ++p;
! 	if (*p == '#' || *p == ';' || *p == '\0')
  	    continue;
  	while(isspace((unsigned char)*p))
  	    ++p;

PGP signature