]> andersk Git - moira.git/blobdiff - server/mr_sauth.c
fixed make install
[moira.git] / server / mr_sauth.c
index 2027f32dd0c8d27cb4d4167be5f78dec8d3f0902..3930979a6a4ce3e1cfe4309a44c37949451ca9a1 100644 (file)
@@ -4,6 +4,8 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  *
  */
 
@@ -12,6 +14,7 @@ static char *rcsid_sms_sauth_c = "$Header$";
 #endif lint
 
 extern int krb_err_base;
+#include <mit-copyright.h>
 #include <strings.h>
 #include "sms_server.h"
 
@@ -92,4 +95,6 @@ do_auth(cl)
        if (log_flags & LOG_RES)
            com_err(whoami, 0, "Authenticated to %s using %s, id %d",
                    cl->clname, cl->entity, cl->users_id);
+       if (cl->users_id == 0)
+         cl->reply.sms_status = SMS_USER_AUTH;
 }
This page took 0.033379 seconds and 4 git commands to generate.