]> andersk Git - moira.git/blame - server/mr_srvdata.c
Allow numbers, '_' and '.' in usernames.
[moira.git] / server / mr_srvdata.c
CommitLineData
a3cf6921 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8 * Global variables inside the SMS server.
9 *
10 * $Log$
b2328d1e 11 * Revision 1.5 1987-07-29 16:03:15 wesommer
12 * Added "now" variable.
13 * ,
a3cf6921 14 *
b2328d1e 15 * Revision 1.4 87/07/14 00:38:14 wesommer
16 * Added log_flags global variable.
17 *
4d64e1de 18 * Revision 1.3 87/06/30 20:03:15 wesommer
19 * Added local realm global variable.
20 *
a7aaa15b 21 * Revision 1.2 87/06/21 16:42:16 wesommer
22 * Performance work, rearrangement of include files.
23 *
c27b3454 24 * Revision 1.1 87/06/02 20:07:25 wesommer
25 * Initial revision
26 *
a3cf6921 27 */
28
29#ifndef lint
30static char *rcsid_sms_srvdata_c = "$Header$";
31#endif lint
32
a3cf6921 33#include "sms_server.h"
34
35/*
36 * Connections & clients:
37 *
38 * The template and most recently connected connection:
39 */
40CONNECTION listencon, newconn;
41/*
42 * The template listen operation.
43 */
44OPERATION listenop;
45/*
46 * The list of operations corresponding to the I/O being done by the
47 * currently connected clients.
48 */
49LIST_OF_OPERATIONS op_list;
50/*
51 * The current number of connected clients, an array of them, and the
52 * "current" client, if any.
53 */
54int nclients=0;
55client **clients, *cur_client;
56/*
57 * Socket address of the most recently connected client.
58 */
59struct sockaddr_in client_addr;
60int client_addrlen;
61/*
62 * Additional data sent at connect time by the client
63 * (provided by GDB; ignored by SMS)
64 */
65TUPLE client_tuple;
66
67/*
68 * Name server was invoked as.
69 */
70char *whoami;
71/*
72 * Buffer for use in error messages.
73 */
74char buf1[BUFSIZ];
75
76/*
77 * If non-null, reason for shutdown. (SMS will be going down shortly
78 * if this is non-null)
79 */
80char *takedown=NULL;
a7aaa15b 81
82/*
83 * The name of the local Kerberos realm
84 */
85
86char *krb_realm = NULL;
4d64e1de 87/*
88 * Logging levels.
89 */
90
91int log_flags = LOG_CONNECT|LOG_REQUESTS|LOG_ARGS|LOG_RES;
b2328d1e 92
93/*
94 * Time of last time through main loop.
95 */
96time_t now;
This page took 0.176274 seconds and 5 git commands to generate.