]> andersk Git - moira.git/commitdiff
Change `SMS' to `Moira' where possible.
authordanw <danw>
Wed, 7 Jan 1998 17:12:39 +0000 (17:12 +0000)
committerdanw <danw>
Wed, 7 Jan 1998 17:12:39 +0000 (17:12 +0000)
Fix `MR', `MOIRA', and `an Moira query' created by earlier attempts
at this.

55 files changed:
backup/dump_db.pc
clients/moira/attach.c
clients/moira/cluster.c
clients/moira/defs.h
clients/moira/delete.c
clients/moira/f_defs.h
clients/moira/globals.c
clients/moira/globals.h
clients/moira/lists.c
clients/moira/main.c
clients/moira/menus.c
clients/moira/misc.c
clients/moira/namespace.c
clients/moira/nfs.c
clients/moira/pobox.c
clients/moira/printer.c
clients/moira/quota.c
clients/moira/user.c
clients/moira/utils.c
clients/mrcheck/mrcheck.c
clients/passwd/chpobox.c
clients/passwd/chsh.c
clients/userreg/reg_stubs.c
dcm/startdcm.c
gen/hesiod.sh
gen/install_dirs
gen/install_quotas
gen/nfs.pc
gen/nfs.sh
gen/warehouse.sh
include/moira_site.h
include/update.h
lib/README [deleted file]
lib/mr_access.c
lib/mr_auth.c
lib/mr_call.c
lib/mr_connect.c
lib/mr_data.c
lib/mr_init.c
lib/mr_ops.c
lib/mr_param.c
lib/mr_query.c
reg_svr/reg_svr.c
reg_svr/reg_svr.h
reg_svr/requests.c
reg_svr/startreg.c
server/mr_main.c
server/mr_sauth.c
server/mr_scall.c
server/mr_server.h
server/mr_shutdown.c
server/mr_srvdata.c
server/startmoira.c
update/client.c
update/update_server.c

index 50066bf490d0e0755e3a72cf24281d321b697832..c1258bbcbb5ea1fdad22ed86167dcd5a85d2b44d 100644 (file)
@@ -7,8 +7,8 @@
  *     For copying and distribution information, please see the file
  *     <mit-copyright.h>.
  *
- *     This program dumps the SMS database to a series of output files
- * which can be later read back into SMS in the event of a crash.
+ *     This program dumps the Moira database to a series of output files
+ * which can be later read back into Moira in the event of a crash.
  *
  */
 
index c2f98168caaa999aec34c83a29efd3750bceb94e..5b9b10c25170435353725f837f3a0679f2f2de8c 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file attach.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file attach.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: Functions for maintaining data used by Hesiod
  *                   to map courses/projects/users to their file systems,
  *                   and maintain filesys info.
index 23dd92d5627c1c5d5d3c9cc33f4ff200d0896ec9..5ad2b03808a5d47609f6eda0733479276934b23a 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file cluster.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file cluster.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains:
  *
  *     Created:        4/22/88
index 3574482e2f707399592776f06448a46de33ede27..f7cd9766af677f1a3919738ce340f1e4254ecd0d 100644 (file)
@@ -1,5 +1,5 @@
-/*     This is the file defs.h for the SMS Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the SMS database.
+/*     This is the file defs.h for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: useful definitions.
  *
  *     Created:        4/12/88
index 43cf6bc811592225a6247158a481ad247797e605..54f69191b1a7aaf761af8cdfd138fdecc84d104a 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file delete.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file delete.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: functions for deleting users and lists.
  *
  *     Created:        5/18/88
@@ -573,7 +573,7 @@ void AttemptToDeleteList(char **list_info, Bool ask_first)
 
 /*     Function Name: DeleteList
  *     Description: deletes a list
- *     Arguments: argc, argv - standard MR argc and argv.
+ *     Arguments: argc, argv - standard Moira argc and argv.
  *     Returns: DM Status Code.
  */
 
index f9edf4fcc76cfd44a6ba32cc3767d8cc04652c3a..429e2ab7ab7f847b646484be568385064b85cae3 100644 (file)
@@ -1,5 +1,5 @@
-/*     This is the file f_defs.h for the SMS Client, which allows a
- *      user to quickly and easily maintain most parts of the SMS database.
+/*     This is the file f_defs.h for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: useful definitions.
  *
  *     Created:        4/12/88
@@ -196,7 +196,7 @@ int NullFunc();                     /* NULL return function. */
 int Print();                   /* Prints out array of strings. */
 int PrintByType();             /* Prints out array of strings by type. */
 int PrintHelp();               /* Prints out help information. */
-int StoreInfo();               /* Stores info returned from and SMS query
+int StoreInfo();               /* Stores info returned from a Moira query
                                   in a queue. */
 int Scream();                  /* Query Return function that yells if called*/
 int ToggleVerboseMode();       /* Turns on and off the verbose variable. */
index b3583ee0ac59b97276752c6241831d3ae5783262..47963a944eafec189b158dd3ae31fc9a431aed04 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file globals.c for the Moira Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the Moira database.
+/*     This is the file globals.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains:  globals variable definitions.
  *
  *     Created:        4/12/88
index bc259724690736b79ffd3a500192d8c26ee195ab..c1c02bd5032db64ef096d539ae5381578fa3b134 100644 (file)
@@ -1,5 +1,5 @@
-/*     This is the file globals.h for the SMS Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the SMS database.
+/*     This is the file globals.h for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains:  globals variable definitions.
  *
  *     Created:        4/12/88
@@ -18,8 +18,8 @@
 #include "mit-copyright.h"
 #include "defs.h"
 
-#ifndef _sms_client_globals_
-#define _sms_client_globals_
+#ifndef _moira_client_globals_
+#define _moira_client_globals_
 
 extern Bool verbose;           /* TRUE if verbose mode is active (default). */
 extern Bool found_some;                /* used by lists.c for determining if there
@@ -28,4 +28,4 @@ extern char *user;            /* The name of the user executing this
                                   program. */
 extern char *program_name;     /* The name of this instance of the program. */
 
-#endif /* _sms_client_globals_ */ /* Do Not Add Anything After This Line */
+#endif /* _moira_client_globals_ */ /* Do Not Add Anything After This Line */
index 743af7869aca6ff326715fbbff71715569241c94..1ff4c1cd115ca80c8c461205e416ca138fd7dda8 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file lists.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file lists.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: All list manipulation functions, except delete.
  *
  *     Created:        4/12/88
index afa7d07cc6b8f827af3be66e60c384f497ec1cee..e668fb3ad190d0e9fd476bfaf21c21ad405c1d86 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file main.c for the Moira Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the Moira database.
+/*     This is the file main.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: The main driver for the Moira Client.
  *
  *     Created:        4/12/88
index 336b8c490e974413a565b97a2aa2dc5bbdce5c31..7233bae9bda747e630516d58fa820b82cdadd5eb 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file menus.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file menus.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: All menu definitions.
  *
  *     Created:        4/11/88
index b553bffb78adb85c47a97a5d0f71ff46c411c775..ec77ba59460288ecd71d838bda0fce0c46140f6a 100644 (file)
@@ -1,5 +1,5 @@
-/*     This is the file misc.c for the MOIRA Client, which allows a naieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file misc.c for the Moira Client, which allows a naieve
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains:
  *             TableStats
  *             ShowClients
@@ -53,7 +53,7 @@ int PrintStats(char **info)
 
 
 /*     Function Name: TableStats
- *     Description: display the MOIRA table statistics
+ *     Description: display the Moira table statistics
  *     Arguments: NONE
  *     Returns: DM_NORMAL
  */
index 2764443d6a3a77336549ffb754022f722886e299..e9325d6718a709ce0020e0afc2f55f7e9b4638ec 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file main.c for the Moira Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the Moira database.
+/*     This is the file main.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: The main driver for the Moira Client.
  *
  *     Created:        4/12/88
index ca99a0d3a460907df921f7daef8d966405719427..b7ea9f5ca9c6d93c18ea239334c1e07e99803656 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file nfs.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file nfs.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: All functions for manipulating NFS Physical directories.
  *
  *     Created:        5/6/88
index 052fe209bd48883a606576767c6076394b46d9c6..9535cf4ca17d006be68d836772bed8cc41b82fa9 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file pobox.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file pobox.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: Functions for handling the poboxes.
  *
  *     Created:        7/10/88
index 8b9d859fe124a3a0e0c3aaecd96d68647e400c71..8fa8e1b84581d148364cbfa48e82780fa81caccc 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file printer.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file printer.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: Functions for handling the printers.
  *
  *     Created:        8/16/88
index c09399a4a4458e97bbbbec126a66b69d9aa4a4a8..397dd205869a7053e36750159c205444f8697f61 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file quota.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file quota.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: Functions for manipulating the quota information.
  *
  *     Created:        7/10/88
index e084f0addcff3bb22a5e47a819278c6de8e496d2..391d03d61c7d83fc2a5cb8304724a98b767057a2 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file user.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file user.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains: Functions for manipulating user information.
  *
  *     Created:        5/9/88
index 080593702ab5900a640a194a3964f07bdc0d9057..5bee4aeabcb0690d34abd44cc89e3cc66ef365a1 100644 (file)
@@ -2,8 +2,8 @@
   static char rcsid_module_c[] = "$Header$";
 #endif
 
-/*     This is the file utils.c for the MOIRA Client, which allows a nieve
- *      user to quickly and easily maintain most parts of the MOIRA database.
+/*     This is the file utils.c for the Moira Client, which allows users
+ *      to quickly and easily maintain most parts of the Moira database.
  *     It Contains:  Many useful utility functions.
  *
  *     Created:        4/25/88
@@ -190,7 +190,7 @@ int QueueCount(struct qelem *elem)
 }
 
 /*     Function Name: StoreInfo
- *     Description: Stores information from an moira query into a queue.
+ *     Description: Stores information from a moira query into a queue.
  *     Arguments: argc, argv, - information returned from the query returned
  *                               in argv.
  *                 data - the previous element on the queue, this data will be
@@ -613,7 +613,7 @@ char *atot(char *itime)
 
 /*     Function Name: Print
  *     Description: prints out all the arguments on a single line.
- *     Arguments: argc, argv - the standard MR arguments.
+ *     Arguments: argc, argv - the standard Moira arguments.
  *                 callback - the callback function - NOT USED.
  *     Returns: MR_CONT
  */
index d90197273fddb11bce6f62105901184c5cd3f167..b1924820effac32bf3bfd4b051fb0520afccc8a4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Verify that all MOIRA updates are successful
+ * Verify that all Moira updates are successful
  *
  * Copyright 1988, 1991 by the Massachusetts Institute of Technology.
  * For copying and distribution information, see the file "mit-copyright.h".
index ed38d5b032778762fd88df66edd75fd1896c1a63..d36ed476bd9740363ab9ffb9ae9e3f5453ded06d 100644 (file)
@@ -13,7 +13,7 @@ static char *rcsid_chpobox_c = "$Header$";
 #endif
 
 /*
- * Talk to the MOIRA database to change a person's home mail machine. This may
+ * Talk to the Moira database to change a person's home mail machine. This may
  * be an Athena machine, or a completely arbitrary address.
  *
  * chpobox with no modifiers reports the current mailbox.
@@ -35,7 +35,7 @@ static char *rcsid_chpobox_c = "$Header$";
 #include <ctype.h>
 #include <errno.h>
 
-/* MOIRA includes */
+/* Moira includes */
 #include <moira.h>
 #include <moira_site.h>
 #include "mit-copyright.h"
@@ -280,7 +280,7 @@ int get_pobox(int argc, char **argv, char *callarg)
 }
 
 /*
- * given a canonicalized machine name, ask the MR server if it is of type
+ * given a canonicalized machine name, ask the Moira server if it is of type
  * pop, or of type local -- if neither, we assume that it's of type foreign.
  */
 char *potype(char *machine)
index 06833b04dcad460e582d044c90b6376c27ff478a..5ba86718e65dd1a67f37b59398544d003545df1b 100644 (file)
@@ -13,7 +13,7 @@ static char *rcsid_chsh_c = "$Header$";
 #endif
 
 /*
- * Talk to the MOIRA database to change a person's login shell.  The chosen
+ * Talk to the Moira database to change a person's login shell.  The chosen
  * shell must exist.  A warning will be issued if the shell is not in
  * /etc/shells.
  *
@@ -34,7 +34,7 @@ static char *rcsid_chsh_c = "$Header$";
 #include <ctype.h>
 #include <errno.h>
 
-/* MOIRA includes */
+/* Moira includes */
 #include <moira.h>
 #include <moira_site.h>
 #include "mit-copyright.h"
@@ -102,7 +102,7 @@ int chsh(char *uname)
   int status;                  /* general purpose exit status */
   int q_argc;                  /* argc for mr_query */
   char *q_argv[U_END];         /* argv for mr_query */
-  char *motd;                  /* determine MR server status */
+  char *motd;                  /* determine Moira server status */
 
   int got_one = 0;             /* have we got a new shell yet? */
   char shell[BUFSIZ];          /* the new shell */
index ff9bc2160a98d82d4e3351af7007b560fcf83eb2..7a7a934b538f65a7c96c132b407bfd58ff04b7f9 100644 (file)
@@ -81,7 +81,7 @@ int ureg_init(void)
   if (hp == NULL)
     return UNKNOWN_HOST;
 
-  sp = getservbyname("sms_ureg", "udp");
+  sp = getservbyname("moira_ureg", "udp");
 
   if (sp == NULL)
     return UNKNOWN_SERVICE;
index 6d9e900180801ce54a891cf1544d9e53abb0d63a..c1f493fbe062cc3f71aa84d327dfe1cddd714682 100644 (file)
@@ -80,7 +80,7 @@ int main(int argc, char *argv)
   sigemptyset(&action.sa_mask);
   sigaction(SIGCHLD, &action, NULL);
 
-  sprintf(buf, "%s/%s.log", SMS_DIR, PROG);
+  sprintf(buf, "%s/%s.log", MOIRA_DIR, PROG);
   logf = open(buf, O_CREAT | O_WRONLY | O_APPEND, 0640);
   if (logf < 0)
     {
index 733fdfb4f1aadc758565dbe918fc18708ec4f17c..ba59a07cb475c4504e8dbbb142a2a3985d66c0ca 100644 (file)
@@ -5,7 +5,7 @@
 set path=(/etc /bin /usr/bin /usr/etc /usr/athena/etc)
 
 # The following exit codes are defined and MUST BE CONSISTENT with the
-# MR error codes the library uses:
+# error codes the library uses:
 set MR_HESFILE =       47836472
 set MR_MISSINGFILE =   47836473
 set MR_NAMED =                 47836475
index 2fd2c78aea2ff1b893275e6ff861632d0fef72df..72ee5894e4a985c0df917abea7b83b6e7af18119 100644 (file)
@@ -2,7 +2,7 @@
 # This script installs new directories on NFS servers.
 
 # The following exit codes are defined and MUST BE CONSISTENT with the
-# MR error codes the library uses:
+# error codes the library uses:
 set MR_PROTO = 47836477
 
 set path=(/etc /bin /usr/bin /usr/etc)
index 2f2b703f41e301e9ca64129d3314bc5f8f606f17..0073e5e5c46be8ab33ae19e9812f06fe2a93afb7 100644 (file)
@@ -5,7 +5,7 @@
 set dev=$1
 
 # Checking for /etc/enforce_quota is transitional code and should be
-# removed when the SMS database has an accurate understanding of what
+# removed when the Moira database has an accurate understanding of what
 # everyone's quotas are.
 if ( -f /etc/enforce_quota ) then
    while (1)
index d10d5da1d3a5a6c39e3e6139d9bb9019448764cc..b76cdb8375dab0be2eeef2caf7522cf16329d7b7 100644 (file)
@@ -59,7 +59,7 @@ int main(int argc, char **argv)
   if (argc == 2)
     {
       sprintf(cmd, "cd %s; cp %s/nfs/* .; tar cf %s .",
-             nfs_dir, SMS_DIR, argv[1]);
+             nfs_dir, MOIRA_DIR, argv[1]);
       if (system(cmd))
        exit(MR_TAR_FAIL);
     }
index 1a4baaa14689908ae716b661d0bcc486d73c5bfb..bc85b9a5bc7bbd66642f03ddd91773b1b1cfda6f 100644 (file)
@@ -4,7 +4,7 @@
 # $Header$
 
 # The following exit codes are defined and MUST BE CONSISTENT with the
-# MR error codes the library uses:
+# error codes the library uses:
 set MR_NOCRED = 47836470
 set MR_MKCRED = 47836474
 set MR_TARERR = 47836476
@@ -27,7 +27,7 @@ rm -rf $SRC_DIR
 mkdir $SRC_DIR
 chmod 755 $SRC_DIR
 
-# Note that since MR is going to be exported, assuming .MIT.EDU is
+# Note that since Moira is going to be exported, assuming .MIT.EDU is
 # incorrect.  For now however, it is probably not worth the effort
 # to canonicalize the hostname, especially with the upcoming update
 # protocol redesign
index c5dea213ae61eb781d80529d2d432addd1dedfc4..a6475ce47ce8b8ef9bbbc2f0e0b2bc38be941a5c 100644 (file)
@@ -7,7 +7,7 @@ TAR_FILE=$DIR/moira.tar.Z
 PATH="/etc:/bin:/usr/bin:/usr/etc:/usr/athena/etc"
 
 # The following exit codes are defined and MUST BE CONSISTENT with the
-# MR error codes the library uses:
+# error codes the library uses:
 set MR_MISSINGFILE =   47836473
 set MR_TARERR =        47836476
 
index 4e0cf559ab104950da766b8f54ad44c61abc43f9..a6c13e05e53965dd45ab248e106dd157f3739d5d 100644 (file)
@@ -26,7 +26,7 @@
 #include "mit-copyright.h"
 
 /* Default Moira server to connect to */
-#define MOIRA_SERVER   "MOIRA.MIT.EDU:sms_db"
+#define MOIRA_SERVER   "MOIRA.MIT.EDU:moira_db"
 
 
 #define NAME 0
 
 /* Directories & files used on the server machine: */
 
-#define SMS_DIR                "/moira"        /* home directory of the system */
+#define MOIRA_DIR      "/moira"        /* home directory of the system */
 #define BIN_DIR                "/moira/bin"    /* where progs live */
 #define DCM_DIR                "/moira/dcm"    /* where DCM output files end up */
 #define LOCK_DIR       "/moira/dcm/locks" /* where DCM puts lock files */
index f7bb7dfdc2d1fec6129d0d32329f57ddba469c07..7a7690f5a4795f37684bd481be8e952c2ae6848b 100644 (file)
@@ -13,12 +13,10 @@ struct update_desc {
      char *instructions;       /* script pathname */
 };
 
-extern char sms_data_dir[];
-
 #define log_DEBUG 0
 #define log_INFO  1
 #define log_WARNING 2
 #define log_ERROR 3
 
-#define SERVICE_NAME "sms_update"
+#define SERVICE_NAME "moira_update"
 #define        UPDATE_BUFSIZ   BUFSIZ
diff --git a/lib/README b/lib/README
deleted file mode 100644 (file)
index 897c296..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-This directory (will contain) (contains) the client and server RPC
-code for SMS.
-
-Eventually, we can put the client code into a separate library, and
-merge the server stuff into the main sources.
-
-
index c4a44ed76f3f5e31c9c00d00f61f963c6398c4c5..e2fc6df84cd2cd6a47a47e608caa767d92864331 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_access_c = "$Header$";
+static char *rcsid_mr_access_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
index 133f58057f0a329cae2fbbca7ae4a3aeb58e79dc..d196e5cd3f172994031328ac91f9b89cb27fd28b 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_auth_c = "$Header$";
+static char *rcsid_mr_auth_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
@@ -22,7 +22,7 @@ static char *rcsid_sms_auth_c = "$Header$";
 #include <krb_et.h>
 #include <string.h>
 
-/* Authenticate this client with the MR server.  prog is the name of the
+/* Authenticate this client with the Moira server.  prog is the name of the
  * client program, and will be recorded in the database.
  */
 
index 57bf53daaf4c1f1eae84088aad1ecd1e952a606f..a6b543465f78cd054a2360f87992e31937c82d9c 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_call_c = "$Header$";
+static char *rcsid_mr_call_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
index 6ff90b6a7c28b072a5ed1fa8f63fb2428c96bea8..e18c10b8ba234a8371f158c034ccc969a23446ea 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_connect_c = "$Header$";
+static char *rcsid_mr_connect_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
@@ -27,7 +27,7 @@ static char *mr_server_host = 0;
 /*
  * Open a connection to the mr server.  Looks for the server name
  * 1) passed as an argument, 2) in environment variable, 3) by hesiod
- * 4) compiled in default (from sms_app.h).
+ * 4) compiled in default (from moira_site.h).
  */
 
 int mr_connect(char *server)
index d9864fb9128ddab95dbe0a08b511628cb154c663..253fb8978d7bc9867deb02534854ae2c2f4bbc40 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_data_c = "$Header$";
+static char *rcsid_mr_data_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
index 651b77b7c53ff4857b6525c039652a428795f8d9..c77473847a135ad240e0ad36a3b4cb5549c231f6 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_init_c = "$Header$";
+static char *rcsid_mr_init_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
index 4a67b302a303a38570d236b049380101271a9e74..b981c9f3599c79e4a4146b4037873349d7779049 100644 (file)
  *
  *     This routine is part of the client library.  It handles
  *     the protocol operations: invoking an update and getting the
- *     MR message of the day.
+ *     Moira message of the day.
  */
 
 #ifndef lint
-static char *rcsid_sms_do_update_c = "$Header$";
+static char *rcsid_mr_do_update_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
@@ -48,7 +48,7 @@ int mr_do_update(void)
 }
 
 
-/* Get the MR motd.  This returns an MR status, and motd will either
+/* Get the Moira motd.  This returns a Moira status, and motd will either
  * point to NULL or the motd in a static buffer.
  */
 
index 3da07f6a7bc1d4b7410809082be1963aa5088cf1..bdf0302e313d4fcae7b05dc1ed5869707598db79 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_param_c = "$Header$";
+static char *rcsid_mr_param_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
index 26763a3c0b3100bde51a0582e6c34ab622e9364a..d7c5711bd55a1ac0202c63c42a9a95080f303cc0 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_query_c = "$Header$";
+static char *rcsid_mr_query_c = "$Header$";
 #endif
 
 #include <mit-copyright.h>
@@ -40,7 +40,7 @@ int mr_query(char *name, int argc, char **argv,
 }
 
 /*
- * This routine makes an MR query.
+ * This routine makes a Moira query.
  *
  * argv[0] is the query name.
  * argv[1..argc-1] are the query arguments.
index 807660d32c9b0fc79c5519b4cfab229f6b34af21..64d392864bd234671d20da29e090def84670aa1e 100644 (file)
@@ -287,7 +287,7 @@ int find_user(struct msg *message)
 
   if (status == SUCCESS)
     {
-      /* Get ready to make an Moira query */
+      /* Get ready to make a Moira query */
       q_name = "get_user_account_by_name";
       q_argc = GUBN_ARGS;      /* #defined in this routine */
       q_argv[0] = message->first;
index abb75cccbcff2b288530aa24c9ecacf378d4a0ec..91e48b4a40ff6f2d302effe8b2ad9d62d8c943c8 100644 (file)
@@ -5,7 +5,7 @@
  *
  *      Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
- *      Server for user registration with MOIRA and Kerberos.
+ *      Server for user registration with Moira and Kerberos.
  *
  *      This file contains all the information needed by all source
  *      files for the user registration server.
@@ -39,7 +39,7 @@
 extern char *whoami;           /* Name of program - used by libraries */
 extern int errno;              /* Unix error number */
 
-/* This structure holds information from the MOIRA database that will be
+/* This structure holds information from the Moira database that will be
    worth holding on to.  An instance of it appears in the formatted
    packet structure. */
 struct db_data
@@ -64,7 +64,7 @@ struct msg
   int encrypted_len;           /* Length of encrypted information in packet */
   char *leftover;              /* Leftover information sent in the packet */
   int leftover_len;            /* Length of leftover information */
-  struct db_data db;           /* Information from the MOIRA database */
+  struct db_data db;           /* Information from the Moira database */
 };
 
 void failure_alert();          /* Log an unexplainable failure */
index 68002fef2793d5a8fbe5e507aa43ca6e8e358c75..c07624fef7ff64c3d1811fb4339bb607daaf8e3f 100644 (file)
@@ -74,9 +74,9 @@ void req_initialize(void)
   int i;
 
   /* Get service information from /etc/services */
-  if (!(sp = getservbyname("sms_ureg", "udp")))
+  if (!(sp = getservbyname("moira_ureg", "udp")))
     {
-      com_err(whoami, errno, " unknown service sms_ureg/udp");
+      com_err(whoami, errno, " unknown service moira_ureg/udp");
       exit(1);
     }
 
index e17be889df7687ee905742fea789e0d4e96137c9..4cad0af161df39074d0feaa2f6f6183d99124db5 100644 (file)
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
   sigemptyset(&action.sa_mask);
   sigaction(SIGCHLD, &action, NULL);
 
-  sprintf(buf, "%s/%s.log", SMS_DIR, PROG);
+  sprintf(buf, "%s/%s.log", MOIRA_DIR, PROG);
   logf = open(buf, O_CREAT|O_WRONLY|O_APPEND, 0640);
   if (logf < 0)
     {
index cd021540ef1b93f95e6eb45ac150c4dcd8626d18..118b3f2f390aba2d9d351f48ef3bc531aab92b81 100644 (file)
@@ -7,7 +7,7 @@
  *     For copying and distribution information, please see the file
  *     <mit-copyright.h>.
  *
- *     MOIRA server process.
+ *     Moira server process.
  *
  *     Most of this is stolen from ../gdb/tsr.c
  *
@@ -64,7 +64,7 @@ void mr_setup_signals(void);
 int new_connection(void);
 
 /*
- * Main MOIRA server loop.
+ * Main Moira server loop.
  *
  * Initialize the world, then start accepting connections and
  * making progress on current connections.
index d57cd62466414b778e2cdc9752f3fecfd12dc077..bb35f2113423c544e24243e7815a66fc46b017f9 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_sauth_c = "$Header$";
+static char *rcsid_mr_sauth_c = "$Header$";
 #endif lint
 
 #include <mit-copyright.h>
index 90e661b94d09793fda474ba42846bffa414cefe8..2b4a7c4dc583e5c493b53be9619b39c3436b7c70 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_scall_c = "$Header$";
+static char *rcsid_mr_scall_c = "$Header$";
 #endif lint
 
 #include <mit-copyright.h>
index 0821036d998b667097acdce59f4d96ab93e703f7..ebb96b9dc8a223587c01e0bc098838b82698d087 100644 (file)
@@ -48,8 +48,8 @@ typedef struct _client {
   struct sockaddr_in haddr;    /* IP address of client */
   char clname[MAX_K_NAME_SZ];  /* Name client authenticated to */
   struct krbname kname;        /* Parsed version of the above */
-  int users_id;                        /* Minternal ID of authenticated user */
-  int client_id;               /* Minternal ID of client for modby field */
+  int users_id;                        /* Moira-internal ID of authenticated user */
+  int client_id;               /* Moira-internal ID of client for modby field */
   returned_tuples *first, *last;
   time_t last_time_used;       /* Last time connection used */
   char entity[9];              /* entity on other end of the connection */
index 24fa88f4a0dde4c3a5db86c856609ce96c3504f8..e884495c4c477bef40ca2fadf37a0a0e40e4d321 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef lint
-static char *rcsid_sms_shutdown_c = "$Header$";
+static char *rcsid_mr_shutdown_c = "$Header$";
 #endif lint
 
 #include <mit-copyright.h>
index fef155f2a96355b09d785799287b94953ee36de8..e71f551367e9e310d18cb42f86f0da7351f2221b 100644 (file)
@@ -7,7 +7,7 @@
  *     For copying and distribution information, please see the file
  *     <mit-copyright.h>.
  *
- *     Global variables inside the SMS server.
+ *     Global variables inside the Moira server.
  */
 
 #ifndef lint
index 14db9d5c3285153c87a51c8d36333ab4ff69c318..adacf8ad413114fcbd53389323e4ca67f718eff2 100644 (file)
@@ -90,7 +90,7 @@ int main(int argc, char *argv[])
   sigemptyset(&action.sa_mask);
   sigaction(SIGCHLD, &action, NULL);
 
-  sprintf(buf, "%s/moira.log", SMS_DIR);
+  sprintf(buf, "%s/moira.log", MOIRA_DIR);
   logf = open(buf, O_CREAT|O_WRONLY|O_APPEND, 0640);
   if (logf < 0)
     {
index 628a41628cb18b5e2d769bc3f04a7295bd9c1468..f72746efca863d671e83ffe47917a6203f10d082 100644 (file)
@@ -15,7 +15,7 @@ static char *rcsid_client2_c = "$Header$";
  *     <mit-copyright.h>.
  * DESCRIPTION:
  *     This code handles the actual distribution of data files
- *     to servers in the MOIRA server-update program.
+ *     to servers in the Moira server-update program.
  * AUTHOR:
  *     Ken Raeburn (spook@athena.MIT.EDU),
  *             MIT Project Athena/MIT Information Systems.
index 77373fa47a0dfa80b42b3382a55afb3ace0bc420..65b8a8da8b78d23b60d33b9906334b14eac7b4b2 100644 (file)
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
   /* wait for connection */
   gdb_init();
   /* If the config file contains a line "port portname", the daemon
-   * will listen on the named port rather than SERVICE_NAME "sms_update"
+   * will listen on the named port rather than SERVICE_NAME "moira_update"
    */
   if (!(p = config_lookup("port")))
     p = SERVICE_NAME;
This page took 2.588972 seconds and 5 git commands to generate.