[Pvfs2-cvs] commit by nlmills in pvfs2/src/server: get-cred.sm

CVS commit program cvs at parl.clemson.edu
Sat Dec 6 19:56:52 EST 2008


Update of /anoncvs/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv29476/src/server

Modified Files:
      Tag: cu-security-branch
	get-cred.sm 
Log Message:
more error messages


Index: get-cred.sm
===================================================================
RCS file: /anoncvs/pvfs2/src/server/Attic/get-cred.sm,v
diff -p -u -r1.1.2.8 -r1.1.2.9
--- get-cred.sm	5 Dec 2008 22:05:02 -0000	1.1.2.8
+++ get-cred.sm	7 Dec 2008 00:56:52 -0000	1.1.2.9
@@ -136,7 +136,7 @@ static PINT_sm_action get_cred_make_cred
     ret = PINT_lookup_userid(account, &s_op->u.getcred.credential.userid);
     if (ret < 0)
     {
-        /* TODO: log error message */
+        gossip_err("UID lookup failed\n");
         js_p->error_code = ret;
         return SM_ACTION_COMPLETE;
     }
@@ -146,7 +146,7 @@ static PINT_sm_action get_cred_make_cred
                              &s_op->u.getcred.credential.num_groups);
     if (ret < 0)
     {
-        /* TODO: log error message */
+        gossip_err("Group lookup failed\n");
         js_p->error_code = ret;
         return SM_ACTION_COMPLETE;
     }
@@ -166,7 +166,7 @@ static PINT_sm_action get_cred_sign_cred
     ret = PINT_sign_credential(&s_op->u.getcred.credential);
     if (ret == -1)
     {
-        /* TODO: log error message */
+        gossip_err("Unable to sign credential\n");
         js_p->error_code = -PVFS_EINVAL;
     }
 



More information about the Pvfs2-cvs mailing list