port from b1_8_gss: various trivial fixes.
break;
LDLM_ERROR(lock, "lock callback timer expired: evicting client "
- "%s@%s nid %s ",lock->l_export->exp_client_uuid.uuid,
+ "%s@%s nid %s\n",
+ lock->l_export->exp_client_uuid.uuid,
lock->l_export->exp_connection->c_remote_uuid.uuid,
libcfs_nid2str(lock->l_export->exp_connection->c_peer.nid));
policy = NULL;
spin_unlock(&policy_lock);
+#ifdef CONFIG_KMOD
/* if failure, try to load gss module, once */
if (policy == NULL && load_module == 0 &&
number == SPTLRPC_POLICY_GSS) {
if (request_module("ptlrpc_gss") == 0)
goto again;
}
+#endif
return policy;
}
#define __nflavors (sizeof(__flavors)/sizeof(__u32))
/*
- * flavor string format: rpc[-bulk[:cksum/enc]]
+ * flavor string format: rpc[-bulk{n|i|p}[:cksum/enc]]
* for examples:
* null
* plain-bulki
export PORT_OPT="--port $ACCEPTOR_PORT"
fi
- if [ "x$SEC" = "xkrb5i" -o "x$SEC" = "xkrb5p" ]; then
- export USING_KRB5="y"
- fi
+ case "x$SEC" in
+ xkrb5*)
+ echo "Using GSS/krb5 ptlrpc security flavor"
+ export USING_KRB5="y"
+ ;;
+ esac
# Paths on remote nodes, if different
export RLUSTRE=${RLUSTRE:-$LUSTRE}