* <mit-copyright.h>.
*/
+#include <moira.h>
+#include <moira_site.h>
+#include <moira_schema.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <com_err.h>
#include <krb.h>
-#include <moira.h>
-#include <moira_site.h>
#include <afs/param.h>
#include <afs/cellconfig.h>
static char tbl_buf[1024];
static struct member {
int op;
- char list[33];
- char type[9];
- char member[129];
+ char list[LIST_NAME_SIZE];
+ char type[IMEMBERS_MEMBER_TYPE_SIZE];
+ char member[MAX_FIELD_WIDTH];
struct member *next;
} *member_head = NULL;
from Moira but not AFS */
if (code == PRIDEXIST)
{
- char ename[255];
+ char ename[PR_MAXNAMELEN];
if (pr_try(pr_SIdToName, auid, ename) == 0 &&
!strcmp(after[U_NAME], ename))
code = pr_try(pr_CreateGroup, g1, g2, &id);
if (code == PRIDEXIST)
{
- char ename[255];
+ char ename[PR_MAXNAMELEN];
if (pr_try(pr_SIdToName, -agid, ename) == 0 && !strcmp(g1, ename))
return;