]> andersk Git - moira.git/blobdiff - dbck/phase2.pc
Command line printer manipulation client, and build goo.
[moira.git] / dbck / phase2.pc
index 3c6d1a341afdbf81e8890480c1e188e45907fe15..de786a3d8da76da680b54f3e9843b3c1c7edca34 100644 (file)
@@ -667,6 +667,19 @@ void pobox_check(int id, struct user *u)
        }
       break;
 
+    case 'E':
+      if (!hash_lookup(machines, u->pobox_id))
+       {
+         printf("User %s(%s) has P.O.Box on non-existant machine %d\n",
+                u->login, u->fullname, u->pobox_id);
+         if (single_fix("Delete", 0))
+           {
+             remove_pobox(u->users_id);
+             u->potype = 'N';
+           }
+       }
+      break;
+
     case 'S':
       if (hash_lookup(string_dups, u->pobox_id))
        {
This page took 0.033476 seconds and 4 git commands to generate.