krb5_rd_req() server argument should be optional
    Cesar Garcia 
    Cesar.Garcia at morganstanley.com
       
    Fri Feb 15 17:28:06 EST 2002
    
    
  
Yes!
Would also like to see this make it's way to gssapi and,
the kerberized apps that ship with the distribution.
This would facilitate our migration from NIS (where we happen
to use shortnames) to DNS, as a target host/application may then accept
AP requests as either appname/shortname or appname/FQDN depending
on how the client naming is configured.
This would also useful in environment where one may be running VCS, but not
necessarily using VCS service names consistently, i.e., using both VCS
service names and proper hostnames.
>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams at ubsw.com> writes:
Nicolas> Yes, I have a need for a form of krb5_rd_req() whose server princ name
Nicolas> argument is optional and, if not provided, is obtained straight from the
Nicolas> decoded AP-REQ and returned to the caller.
Nicolas> This probably means a new API call based on rd_req() with a server
Nicolas> argument that is a pointer to a krb5_principal, and this function will
Nicolas> have to search the given keytab for a key for the principal name
Nicolas> extracted from the AP-REQ.
Nicolas> This, I think, is how rd_req() should have worked from the get-go.
Nicolas> Similarly the verify_creds() function should have an optional service
Nicolas> principal argument which, if not given, should cause verify_creds() to
Nicolas> try every SPN given in the keytab.
Nicolas> In either case the caller could check the actual SPN used and would take
Nicolas> that into account, if applicable, in any authorization decisions.
Nicolas> Would such a feature be welcome?
Nicolas> Comments?
Nicolas> Nico
Nicolas> -- 
Nicolas> -DISCLAIMER: an automatically appended disclaimer may follow. By posting-
Nicolas> -to a public e-mail mailing list I hereby grant permission to distribute-
Nicolas> -and copy this message.-
Nicolas> Visit our website at http://www.ubswarburg.com
Nicolas> This message contains confidential information and is intended only 
Nicolas> for the individual named.  If you are not the named addressee you 
Nicolas> should not disseminate, distribute or copy this e-mail.  Please 
Nicolas> notify the sender immediately by e-mail if you have received this 
Nicolas> e-mail by mistake and delete this e-mail from your system.
Nicolas> E-mail transmission cannot be guaranteed to be secure or error-free 
Nicolas> as information could be intercepted, corrupted, lost, destroyed, 
Nicolas> arrive late or incomplete, or contain viruses.  The sender therefore 
Nicolas> does not accept liability for any errors or omissions in the contents 
Nicolas> of this message which arise as a result of e-mail transmission.  If 
Nicolas> verification is required please request a hard-copy version.  This 
Nicolas> message is provided for informational purposes and should not be 
Nicolas> construed as a solicitation or offer to buy or sell any securities or 
Nicolas> related financial instruments.
Nicolas> _______________________________________________
Nicolas> krbdev mailing list             krbdev at mit.edu
Nicolas> http://mailman.mit.edu/mailman/listinfo/krbdev
    
    
More information about the krbdev
mailing list