/*
+ * $Id: main.c,v 1.5 2001-05-03 13:57:44 rufustfirefly Exp $
+ *
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <atalk/server_child.h>
#include "globals.h"
-#include "config.h"
+#include "afp_config.h"
#include "status.h"
#include "fork.h"
#include "uam_auth.h"
unsigned char nologin = 0;
-static struct afp_options default_options;
+struct afp_options default_options;
static AFPConfig *configs;
static server_child *server_children;
static fd_set save_rfds;
struct sigaction sv;
sigset_t sigs;
+#ifdef DIGITAL_UNIX_SECURITY
+ set_auth_parameters( ac, av );
+#endif /* DIGITAL_UNIX_SECURITY */
+
umask( 0 ); /* so inherited file permissions work right */
afp_options_init(&default_options);