]> andersk Git - moira.git/blobdiff - gen/hesiod.pc
Command line printer manipulation client, and build goo.
[moira.git] / gen / hesiod.pc
index 524397229bf57358662d23a46c760d6528b95746..1f4b9006eb5ae1cac0d0a015aa323f0b634490c6 100644 (file)
@@ -279,7 +279,15 @@ int do_passwd(void)
          if (sqlca.sqlcode == 0)
            pid = mid;
          else
-           pid = eid;
+           {
+             /* EXCHANGE user with no IMAP filesystem.  Give them
+              * IMAP.EXCHANGE.MIT.EDU instead of EXCHANGE.MIT.EDU.
+              */
+             EXEC SQL SELECT mach_id INTO :eid FROM machine
+               WHERE name = 'IMAP.EXCHANGE.MIT.EDU';
+             if (sqlca.sqlcode == 0)
+               pid = eid;
+           }
        }
 
       if (iid != 0)
This page took 0.095861 seconds and 4 git commands to generate.