9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tomás S. Javaloyes" <tsjavaloyes@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Connect plan9 with Linux SMB resource
Date: Sun, 10 Apr 2022 11:46:09 +0200	[thread overview]
Message-ID: <CAMCFwYyf+djTmbUJPtVKwhz8_XUq-6LnbskPLFcDFJtcciqTHQ@mail.gmail.com> (raw)
In-Reply-To: <bf754d647b338b4da015fc4dff096c0e@riseup.net>

Yes, I've tried using all the authentication methods it claims to support:

term% cifs -a
supported auth methods: plain lm+ntml ntlm ntlmv2
term%

...but without success

Supposedly with the default authentication (ntlmv2) it should work
based on comments I've found on the Internet from users who tried that
at the time.

El dom, 10 abr 2022 a las 11:15, <mkf9@riseup.net> escribió:
>
> maybe try another auth protocol?
> i haven't tried samba, but on windows ntlm worked for me
> (ntlmv2 didn't, maybe they changed ntlmv2 at some point?)
>
> % cifs -a ntlm host share
>
> On 2022/04/10 12:15, Tomás S. Javaloyes wrote:
> >
> > But to do that you first have to learn how to use the system and
> > that's why I have a virtualbox with 9front installed and I'm learning
> > how to use it.
> >
> > Right now I'm trying to learn how to connect with 'cifs' from
> > 9front/plan9 to a Linux SMB share that pretends to be a Windows domain
> > (exactly a Zentyal distro) but I can't get it to work:
> >
> > I try to connect and I get the following:
> >
> > term% cifs 192.168.1.10 shared folder
> >
> > !Adding key: proto=ntmmv2 service=cifs windom=MYDOMAIN
> > user[glenda]=<my_username>
> > password: <mypassword>
> >
> > cifs: session authentication failed, invalid parameter
> >
> > term%
> >
> > I've even tried it with an SMB without as much complexity as Zentyal
> > (a simple SMB share with a guest user) and I still don't know how to
> > connect it.
> >
> > I've read the cifs manual but I'm not sure what options to use and
> > I've searched the Internet for a similar example and I can't find any.
> >
> > Can someone guide me in the right direction?

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T48d3c6dc9120b30c-M274f45033b57aca74dcd9e3d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-04-10  9:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10  7:45 Tomás S. Javaloyes
2022-04-10  9:15 ` mkf9
2022-04-10  9:46   ` Tomás S. Javaloyes [this message]
2022-04-10 10:18     ` Atticus
2022-04-10 10:58       ` Tomás S. Javaloyes
2022-04-10 11:22         ` [9fans] factotum (was: Connect plan9 with Linux SMB resource) sirjofri
2022-04-10 12:14           ` Tomás S. Javaloyes
2022-04-10 14:05             ` Steve Simon
2022-04-10 17:39               ` Tomás S. Javaloyes

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=CAMCFwYyf+djTmbUJPtVKwhz8_XUq-6LnbskPLFcDFJtcciqTHQ@mail.gmail.com \
    --to=tsjavaloyes@gmail.com \
    --cc=9fans@9fans.net \
    --subject='Re: [9fans] Connect plan9 with Linux SMB resource' \
    /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

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).