[1993] in Moira Commits

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

/svn/moira r4132 - trunk/moira/gen

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Thu Aug 22 11:40:51 2013

Date: Thu, 22 Aug 2013 11:40:43 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201308221540.r7MFehO8026514@drugstore.mit.edu>
To: moira-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2013-08-22 11:40:43 -0400 (Thu, 22 Aug 2013)
New Revision: 4132

Modified:
   trunk/moira/gen/hesiod.pc
Log:
Generate hesiod passwd entries for suspended / expired users.

Modified: trunk/moira/gen/hesiod.pc
===================================================================
--- trunk/moira/gen/hesiod.pc	2013-08-16 18:34:32 UTC (rev 4131)
+++ trunk/moira/gen/hesiod.pc	2013-08-22 15:40:43 UTC (rev 4132)
@@ -262,7 +262,7 @@
       strcpy(u->name, login);
       u->lists = NULL;
       hash_store(users, id, u);
-      if (status == 1 || status == 2)
+      if (status == 1 || status == 2 || status == 10 || status == 11)
 	{
 	  fprintf(pout, "%s.passwd\t%s %s \"%s:*:%d:101:%s,%s,%s,%s:/mit/%s:%s\"\n",
 		  login, HCLASS, HTYPE, login, uid, fullname, oa,


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