]> andersk Git - moira.git/blobdiff - reg_svr/reg_svr.c
added fsgroup
[moira.git] / reg_svr / reg_svr.c
index 137f9c179af7d749afb0b43dab8b7eec50c94d43..80141ac7b1dd3f95f77ff30db0b56e8ff9e6f740 100644 (file)
@@ -57,7 +57,7 @@ main(argc,argv)
     init_ureg_err_tbl();
     
     /* Connect to the SMS server */
-    if ((status = sms_connect()) != SMS_SUCCESS) 
+    if ((status = sms_connect(SMS_SERVER)) != SMS_SUCCESS) 
     {
        com_err(whoami, status, " on connect");
        exit(1);
@@ -511,8 +511,8 @@ int reserve_user(message,retval)
 
        /* Check the login name for validity.  The login name is currently
           is allowed to contain lowercase letters and numbers in any
-          position and underscore characters and periods in any position
-          but the first. */
+          position and underscore characters in any position but the 
+          first. */
        if ((strlen(login) < MIN_UNAME) || (strlen(login) > MAX_UNAME))
            status = UREG_INVALID_UNAME;
     }
@@ -636,14 +636,3 @@ int set_password(message,retval)
     
     return status;
 }
-    
-/*
- * Local Variables:
- * mode: c
- * c-argdecl-indent: 2
- * c-brace-offset: -4
- * c-continued-statement-offset: 4
- * c-indent-level: 4
- * c-label-offset: -2
- * End:
- */
This page took 0.035154 seconds and 4 git commands to generate.