version 1.2, 1996/01/16 07:22:15 |
version 1.3, 1996/05/03 18:23:34 |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#ifdef KERBEROS |
|
#include <kerberosIV/krb.h> |
|
#endif |
|
|
/* |
/* |
* Note on configuration: |
* Note on configuration: |
|
|
char *username; |
char *username; |
int status = 0; |
int status = 0; |
char *basename; |
char *basename; |
|
|
#if defined(KERBEROS) || defined(KERBEROS5) |
#if defined(KERBEROS) || defined(KERBEROS5) |
use_kerberos = 1; |
extern char realm[]; |
|
|
|
if (krb_get_lrealm(realm,1) == KSUCCESS) |
|
use_kerberos = 1; |
#endif |
#endif |
#ifdef YP |
#ifdef YP |
use_yp = _yp_check(NULL); |
use_yp = _yp_check(NULL); |