extern int afs_NFSRootOnly; /* 1 => only allow NFS mounts of /afs. */
-#if !defined(AFS_ATHENA_ENV)
int
#ifdef AFS_AIX41_ENV
afs_fid(OSI_VC_DECL(avc), struct fid *fidpp, struct ucred *credp)
#endif
return (0);
}
-#endif
#endif /* !AFS_LINUX20_ENV */
struct fid;
/* VNOPS/afs_vnop_fid.c */
-#if !defined(AFS_ATHENA_ENV)
#ifdef AFS_AIX41_ENV
int afs_fid(OSI_VC_DECL(avc), struct fid *fidpp, struct ucred *credp);
#elif defined(AFS_SUN5_ENV)
#else
int afs_fid(OSI_VC_DECL(avc), struct fid **fidpp);
#endif /* AFS_AIX41_ENV */
-#endif
/* VNOPS/afs_vnop_flock.c */
extern afs_int32 lastWarnTime;
strcat(vname, inst);
}
if ((clen = strlen(tcell))) {
-#if defined(AFS_ATHENA_STDENV) || defined(AFS_KERBREALM_ENV)
static char local_realms[AFS_NUM_LREALMS][AFS_REALM_SZ];
static int num_lrealms = -1;
int i, lrealm_match;
strcat(vname, "@");
strcat(vname, tcell);
}
-#endif
}
strcpy(afsName, vname);
}
#include <afs/afsutil.h>
#include <afs/fileutil.h>
-#ifdef AFS_ATHENA_STDENV
-#include <krb.h>
-#endif
-
#include "base64.h"
#include "auth.h"
#include "cellconfig.h"
#define SYS_NAME_ID_amd64_obsd47 4016
#define SYS_NAME_ID_amd64_obsd48 4017
-/*
- * Placeholder to keep system-wide standard flags since this file is included by all
- * files (i.e in afs/param.h)
- */
-#ifdef notdef
-/* Should be enabled by src sites that are compiling afs in a kerberos environment
- * (i.e. use their headers and libs) and want to use the realm-related kerberos code
- */
-#define AFS_ATHENA_STDENV 1
-#endif
-#ifdef AFS_ATHENA_STDENV
-/* So that they don't get our own version of the kerb-related function in libutil.a */
-#define afs_krb_get_lrealm(r,n) krb_get_lrealm(r,n)
-#define AFS_REALM_SZ REALM_SZ
-#endif
-/* Should be enabled by src sites that are compiling afs without the kerb headers/libs
- * but want to use the kerberos realm-related code
- */
-#define AFS_KERBREALM_ENV 1
-#ifdef AFS_KERBREALM_ENV
-#define AFS_REALM_SZ 64
-#endif
+#define AFS_REALM_SZ 64
+
/* Specifies the number of equivalent local realm names */
#define AFS_NUM_LREALMS 4
+
#endif /* __AFS_SYSNAMES_INCL_ENV_ */
#include "ptprototypes.h"
#include "afs/audit.h"
-#ifdef AFS_ATHENA_STDENV
-#include <krb.h>
-#endif
-
extern int restricted;
extern struct ubik_dbase *dbase;
extern int pr_noAuth;
if (localrealm && strcasecmp(localrealm, tcell))
foreign = 1;
-#if defined(AFS_ATHENA_STDENV) || defined(AFS_KERBREALM_ENV)
if (foreign) {
static char local_realms[AFS_NUM_LREALMS][AFS_REALM_SZ];
static int num_lrealms = -1;
foreign = !lrealm_match;
}
-#endif
return foreign;
}
#include <afs/ihandle.h>
#include <afs/vnode.h>
#include <afs/volume.h>
-#ifdef AFS_ATHENA_STDENV
-#include <krb.h>
-#endif
#include <afs/acl.h>
#include <afs/ptclient.h>
#include <afs/ptuser.h>
#include <afs/ihandle.h>
#include <afs/vnode.h>
#include <afs/volume.h>
-#ifdef AFS_ATHENA_STDENV
-#include <krb.h>
-#endif
#include <afs/acl.h>
#include <afs/ptclient.h>
#include <afs/prs_fs.h>