KRB5_GET_KRBHST(3) BSD Library Functions Manual KRB5_GET_KRBHST(3)NAME
krb5_get_krbhst, krb5_get_krb_admin_hst, krb5_get_krb_changepw_hst, krb5_get_krb524hst, krb5_free_krbhst -- lookup Kerberos KDC hosts
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_get_krbhst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_admin_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_changepw_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb524hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_free_krbhst(krb5_context context, char **hostlist);
DESCRIPTION
These functions implement the old API to get a list of Kerberos hosts, and are thus similar to the krb5_krbhst_init() functions. However,
since these functions returns all hosts in one go, they potentially have to do more lookups than necessary. These functions remain for com-
patibility reasons.
After a call to one of these functions, hostlist is a NULL terminated list of strings, pointing to the requested Kerberos hosts. These should
be freed with krb5_free_krbhst() when done with.
EXAMPLES
The following code will print the KDCs of the realm ``MY.REALM''.
char **hosts, **p;
krb5_get_krbhst(context, "MY.REALM", &hosts);
for(p = hosts; *p; p++)
printf("%s
", *p);
krb5_free_krbhst(context, hosts);
SEE ALSO krb5_krbhst_init(3)HEIMDAL April 24, 2005 HEIMDAL
Check Out this Related Man Page
KRB5_GET_KRBHST(3) BSD Library Functions Manual KRB5_GET_KRBHST(3)NAME
krb5_get_krbhst, krb5_get_krb_admin_hst, krb5_get_krb_changepw_hst, krb5_get_krb524hst, krb5_free_krbhst -- lookup Kerberos KDC hosts
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_get_krbhst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_admin_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_changepw_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb524hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_free_krbhst(krb5_context context, char **hostlist);
DESCRIPTION
These functions implement the old API to get a list of Kerberos hosts, and are thus similar to the krb5_krbhst_init() functions. However,
since these functions returns all hosts in one go, they potentially have to do more lookups than necessary. These functions remain for com-
patibility reasons.
After a call to one of these functions, hostlist is a NULL terminated list of strings, pointing to the requested Kerberos hosts. These should
be freed with krb5_free_krbhst() when done with.
EXAMPLES
The following code will print the KDCs of the realm ``MY.REALM''.
char **hosts, **p;
krb5_get_krbhst(context, "MY.REALM", &hosts);
for(p = hosts; *p; p++)
printf("%s
", *p);
krb5_free_krbhst(context, hosts);
SEE ALSO krb5_krbhst_init(3)HEIMDAL April 24, 2005 HEIMDAL
I use a Mac and need to 'echo' a code in >> /etc/hosts
Where is: /etc/hosts?
And how do I do : exit 0 Does : 'fi' mean something too?
:confused:Thanks for any help, Jacqrav:confused: (1 Reply)
Hi there
i am not sure how to explain my problem.
i need to run a script to give me the results of all my unix hosts that do not have reverse lookup activated (for lack of a better word), i need to give this to out Server guys to add it part of the AD rules. So what i need is a script to... (0 Replies)
Hi,
I configure the /etc/hosts in red aht ES 5.4
I want to ask what is the function of "loghost "..
If I miss it , any different or problem ??/
Below is the etc/hosts file
127.0.0.1 localhost
192.168.59.10 A.abc.com A loghost
192.168.59.12 B.abc.com B
192.168.59.13 C.abc.com C (1 Reply)
Hello people.
I need to shared a disk between two virtuals hosts in the same Guest, and I don't see any help about this.
I'm working on HP-UX 11.31
Thanks to all.:b: (2 Replies)
I have a script to sort a list of arbitrary hosts and determine if they are supported by grepping them into a master supported list. I cut all the suffixes of the hosts in the arbitrary list, leaving the "short" hostname if you will, then grep -w them into the master list. For example:
... (1 Reply)