]> andersk Git - moira.git/commitdiff
generate hesiod info for status 2 (half-registered) users
authordanw <danw>
Fri, 7 Aug 1998 14:18:29 +0000 (14:18 +0000)
committerdanw <danw>
Fri, 7 Aug 1998 14:18:29 +0000 (14:18 +0000)
gen/hesiod.pc

index 93d5b2f71162286054896ed75bd0649e7bdbcd58..1c136d52cdd164eefe6bf49d391640fb246c4b89 100644 (file)
@@ -257,7 +257,7 @@ int do_passwd(void)
     SELECT login, unix_uid, shell, fullname, nickname, office_addr,
     office_phone, home_phone, users_id, pop_id, potype, status
     FROM users
-    WHERE status = 1 or status = 5 or status = 6
+    WHERE status = 1 OR status = 2 OR status = 5 OR status = 6
     ORDER BY users_id;
   EXEC SQL OPEN u_cursor;
   while (1)
@@ -410,7 +410,7 @@ int do_groups(void)
       EXEC SQL DECLARE u_cursor2 CURSOR FOR
        SELECT users_id, login
        FROM users
-       WHERE status = 1
+       WHERE status = 1 OR status = 2
        ORDER BY users_id;
       EXEC SQL OPEN u_cursor2;
       while (1)
This page took 0.129625 seconds and 5 git commands to generate.