| Main index | Section 3 | Options |
#include <krb5.h>
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.
char **hosts, **p;
krb5_get_krbhst(context, "MY.REALM", &hosts);
for(p = hosts; *p; p++)
printf("%s , *p);
krb5_free_krbhst(context, hosts);
| HEIMDAL | KRB5_GET_KRBHST (3) | April 24, 2005 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology. | ” |
| — The Unix Haters' handbook | ||