How to form the TGS-REQ pkt without hostname (with only IPADDRESS)?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to form the TGS-REQ pkt without hostname (with only IPADDRESS)?

Surendra Babu
Hi,

I am seeing some problem in forming the TGS request
packet with krb5_parse_name() function while parsing
the Principal (with IPADDRESS not with hostname).

In detail:

1. To form the TGS request packet, I need to call the
krb5_parse_name() function to form the pricipal
structure.
For this I need to pass the KDC server's principal
name as second parameter.

Prototype for krb5_parse_name() function is:
krb5_parse_name(krb5_context context, const char
*name, krb5_principal *nprincipal);

2. For the above fucntion, I need to pass the second
parameter as principal name:
that means: host/<KDC HOSTNAME>@REALM
example: host/[hidden email]

3. If I pass the above principle name with hostname,
then only the TGS packet is built correctly. Otherwise
it is not building the TGS packet.

4. If I pass the IP Address in Principal name, (like
ex: host/[hidden email]), the packet is not
built, failing. If user gives the IP Address instead
of hostname, how to form the packet? What parameters
to be passed to krb5_parse_name() for IPA ddress case?
(DNS server is not configured and IP ADDRESS is only
avaliable, how to form the TGS request packet?)

5. How can we form the principal name with out
hostname (Only available thing is IPADDRESS and no DNS
Server configured)

Please let me know your thoughts. Thank you.

Regards,
-Surendra


       
               
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
krbdev mailing list             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev
Reply | Threaded
Open this post in threaded view
|

Re: How to form the TGS-REQ pkt without hostname (with only IPADDRESS)?

Jeffrey Altman-4
Surendra Babu wrote:
> Hi,

Surendra:

The [hidden email] mailing list is a forum for discussions regarding
the development of the MIT implementation of Kerberos.  It is not an
appropriate forums for asking questions about how to use the Kerberos
protocol.  The proper mailing list to send your queries to is
[hidden email].  This is a general purpose list targeted at users
of Kerberos and Kerberos implementations.

Please re-direct your questions to that forum.

Jeffrey Altman
_______________________________________________
krbdev mailing list             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev