[1502] in Moira

home help back first fref pref prev next nref lref last post

Re: stella question

daemon@ATHENA.MIT.EDU (Nickolai Zeldovich)
Tue Apr 4 16:54:25 2000

Message-Id: <200004042053.QAA11713@pepsi.mit.edu>
To: Qing Dong <dongq@MIT.EDU>
cc: moiradev@MIT.EDU
in-reply-to: "[1501] in Moira"
Date: Tue, 04 Apr 2000 16:53:41 -0400
From: Nickolai Zeldovich <kolya@MIT.EDU>

>                         The man page says:
> "You may specify an owner explicitly, as user:username, list:listname,
> string:string_text, or kerberos:principal_name"

Oops, that would be a leftover from some pieces of blanche..

Index: clients/stella/stella.c
===================================================================
RCS file: /mit/moiradev/repository/moira/clients/stella/stella.c,v
retrieving revision 1.4
diff -c -r1.4 stella.c
*** stella.c	2000/03/29 20:05:10	1.4
--- stella.c	2000/04/04 20:48:16
***************
*** 39,51 ****
    struct string_list *next;
  };
  
- /* It is important to membercmp that M_USER < M_LIST < M_STRING */
  #define M_ANY		0
  #define M_USER		1
  #define M_LIST		2
! #define M_STRING	3
! #define M_KERBEROS	4
! #define	M_NONE		5
  
  /* argument parsing macro */
  #define argis(a, b) (!strcmp(*arg + 1, a) || !strcmp(*arg + 1, b))
--- 39,49 ----
    struct string_list *next;
  };
  
  #define M_ANY		0
  #define M_USER		1
  #define M_LIST		2
! #define M_KERBEROS	3
! #define M_NONE		4
  
  /* argument parsing macro */
  #define argis(a, b) (!strcmp(*arg + 1, a) || !strcmp(*arg + 1, b))
***************
*** 742,749 ****
  	m->type = M_USER;
        else if (!strcasecmp("list", s))
  	m->type = M_LIST;
-       else if (!strcasecmp("string", s))
- 	m->type = M_STRING;
        else if (!strcasecmp("kerberos", s))
  	m->type = M_KERBEROS;
        else if (!strcasecmp("none", s))
--- 740,745 ----
Index: man/stella.1
===================================================================
RCS file: /mit/moiradev/repository/moira/man/stella.1,v
retrieving revision 1.1
diff -c -r1.1 stella.1
*** stella.1	2000/02/10 19:16:11	1.1
--- stella.1	2000/04/04 20:45:03
***************
*** 64,70 ****
  Set the owner of the specified host to \fIowner\fR.
  
  You may specify an owner explicitly, as user:username, list:listname,
! string:string_text, or kerberos:principal_name; or the type may be
  left off if the owner name is non ambiguous.
  .B Stella
  will try first as a user, and if that fails will try the member as a
--- 64,70 ----
  Set the owner of the specified host to \fIowner\fR.
  
  You may specify an owner explicitly, as user:username, list:listname,
! or kerberos:principal_name; or the type may be
  left off if the owner name is non ambiguous.
  .B Stella
  will try first as a user, and if that fails will try the member as a

home help back first fref pref prev next nref lref last post