#include <afs/vnode.h>
#include <afs/volume.h>
#include <afs/auth.h>
+#include <afs/authcon.h>
#include <afs/cellconfig.h>
#include <afs/acl.h>
#include <afs/prs_fs.h>
char hoststr[16];
afs_uint32 rx_bindhost;
VolumePackageOptions opts;
+ struct afsconf_bsso_info bsso;
#ifdef AFS_AIX32_ENV
struct sigaction nsa;
#endif
osi_audit_init();
+ memset(&bsso, 0, sizeof(bsso));
+
/* Initialize dirpaths */
if (!(initAFSDirPath() & AFSDIR_SERVER_PATHS_OK)) {
#ifdef AFS_NT40_ENV
LogCommandLine(argc, argv, "starting", "", "File server", FSLog);
- if (afsconf_CountKeys(confDir) == 0) {
- ViceLog(0, ("WARNING: No encryption keys found! "
- "All authenticated accesses will fail. "
- "Run akeyconvert or asetkey to import encryption keys.\n"));
- } else if (afsconf_GetLatestKey(confDir, NULL, NULL) == 0) {
- LogDesWarning();
- }
-
/* initialize the pthread soft signal handler thread */
opr_softsig_Init();
SetupLogSoftSignals();
rx_GetIFInfo();
rx_SetRxDeadTime(30);
afsconf_SetSecurityFlags(confDir, AFSCONF_SECOPTS_ALWAYSENCRYPT);
- afsconf_BuildServerSecurityObjects(confDir, &securityClasses, &numClasses);
+
+ bsso.dir = confDir;
+ bsso.logger = FSLog;
+ afsconf_BuildServerSecurityObjects_int(&bsso, &securityClasses,
+ &numClasses);
tservice = rx_NewServiceHost(rx_bindhost, /* port */ 0, /* service id */
1, /*service name */