From: Josuah Demangeon <me@josuah.net>
To: 9front@9front.org
Subject: [9front] [PATCH] inherit the auth_chid to exportfs
Date: Fri, 01 Oct 2021 09:11:42 +0000 [thread overview]
Message-ID: <7904A7E8D6A53EB8B263ED7BA5769A2E@z0.is> (raw)
In-Reply-To: <B7F17241E3B6F6FF70A2B1BEECE76B95@felloff.net>
going through aux/trampoline did not permit to inherit the
user after authentication was made. Executing exportfs
directly and adding the -a flag to tlssrv gives exportfs
the same user as the one that did authenticate.
---
diff c9b48aec544db0ce8a2a1a75b557c44669804e82 8c0fe582cd1ae510f40412ceaff51bd939faa419
--- a/rc/bin/service/tcp17020 Thu Sep 30 16:20:03 2021
+++ b/rc/bin/service/tcp17020 Fri Oct 1 11:11:42 2021
@@ -1,2 +1,2 @@
#!/bin/rc
-exec tlssrv -A /bin/aux/trampoline 'net!$fs!9fs'
+exec tlssrv -Aa exportfs -r /root
next prev parent reply other threads:[~2021-10-01 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-30 19:32 [9front] no more auth in exportfs(4)? me
2021-10-01 8:49 ` cinap_lenrek
2021-10-01 9:11 ` Josuah Demangeon [this message]
2021-10-02 19:55 ` [9front] [PATCH] inherit the auth_chid to exportfs cinap_lenrek
2021-10-03 9:36 ` sirjofri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7904A7E8D6A53EB8B263ED7BA5769A2E@z0.is \
--to=me@josuah.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).