From: Marcus Moeller <marcus.moeller-OI3hZJvNYWs@public.gmane.org>
To: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: DFS referrals
Date: Tue, 30 Jul 2013 07:45:36 +0200 [thread overview]
Message-ID: <51F75300.9000703@gmx.ch> (raw)
In-Reply-To: <51F67EB0.40502-OI3hZJvNYWs@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2982 bytes --]
Hi again,
>>>> On Mon, 29 Jul 2013 14:50:03 +0200
>>>> Marcus Moeller <marcus.moeller-OI3hZJvNYWs@public.gmane.org> wrote:
>>>>
>>>>> [ 124.607810] fs/cifs/cifssmb.c: negprot rc 0
>>>>> [ 124.607814] fs/cifs/connect.c: Security Mode: 0xf Capabilities:
>>>>> 0x8001f3fc TimeAdjust: -7200
>>>>> [ 124.607817] fs/cifs/sess.c: sess setup type 4
>>>>> [ 124.607826] fs/cifs/cifs_spnego.c: key description =
>>>>> ver=0x2;host=d.ethz.ch;ip4=82.130.70.6;sec=krb5;uid=0xaf05;creduid=0xaf05;user=mam4tst;pid=0x61a
>>>>>
>>>>> [ 124.803185] fs/cifs/sess.c: ssetup freeing small buf
>>>>> ffff88022c31a000
>>>>> [ 124.803195] CIFS VFS: Send error in SessSetup = -126
>>>>> [ 124.803203] fs/cifs/connect.c: CIFS VFS: leaving
>>>>> cifs_get_smb_ses (xid = 5) rc = -126
>>>>> [ 124.803212] fs/cifs/fscache.c:
>>>>> cifs_fscache_release_client_cookie:
>>>>> (0xffff88022a1b6000/0xffff88022a6430f0)
>>>>> [ 124.803368] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid
>>>>> = 4) rc = -126
>>>>> [ 124.803374] CIFS VFS: cifs_mount failed w/return code = -126
>>>>
>>>> The only failure I see is the one above, and that's because it failed
>>>> to upcall for the correct key. Are you sure you have krb5 creds as that
>>>> user?
>>>
>>> Yes, creds are there and it also works when mounting from one of the
>>> servers directly.
>>>
>>> Only mounting using the domainname does not work.
>>>
>>>
>>>>> [ 131.324798] fs/cifs/cifssmb.c: negprot rc 0
>>>>> [ 131.324804] fs/cifs/connect.c: Security Mode: 0xf Capabilities:
>>>>> 0x8001f3fc TimeAdjust: -7200
>>>>> [ 131.324808] fs/cifs/sess.c: sess setup type 4
>>>>> [ 131.324821] fs/cifs/cifs_spnego.c: key description =
>>>>> ver=0x2;host=d.ethz.ch;ip4=172.31.65.62;sec=krb5;uid=0xaf05;creduid=0xaf05;user=mam4tst;pid=0x62c
>>>>>
>>>>> [ 131.384335] fs/cifs/transport.c: For smb_command 115
>>>>> [ 131.384344] fs/cifs/transport.c: Sending smb: smb_len=1666
>>>>> [ 131.387043] fs/cifs/connect.c: RFC1002 header 0xf9
>>>>> [ 131.387055] fs/cifs/misc.c: checkSMB Length: 0xfd,
>>>>> smb_buf_length: 0xf9
>>>>> [ 131.387095] fs/cifs/transport.c: cifs_sync_mid_result: cmd=115
>>>>> mid=2 state=4
>>>>> [ 131.387100] fs/cifs/misc.c: Null buffer passed to
>>>>> cifs_small_buf_release
>>>>
>>>> Here' the upcall for a similar set of creds worked fine. The only thing
>>>> that seems to have changed in the key description is the IP address.
>>>>
>>>> Do you have cifs.upcall set up to use the --trust-dns flag? If so, why?
>>>
>>> A relict from the past. I have removed it from the config. Thanks for
>>> pointing out.
>
>
>> Ok. Does removing that make any difference?
>
> Nope, still behaves the same. I should perhaps add that this worked fine
> in the past, so I hoped it might work again with this commit:
>
> http://thread.gmane.org/gmane.linux.kernel.cifs/8197/focus=8232
>
> but it doesn't.
Is there any way to debug this further?
Greets
Marcus
[-- Attachment #2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 2460 bytes --]
next prev parent reply other threads:[~2013-07-30 5:45 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51DBD032.10305@gmx.ch>
[not found] ` <20130709054702.15550964@tlielax.poochiereds.net>
[not found] ` <51DBDDEA.9040702@gmx.ch>
[not found] ` <20130709081027.450b1849@corrin.poochiereds.net>
[not found] ` <51F664FB.5090507@gmx.ch>
[not found] ` <51F664FB.5090507-OI3hZJvNYWs@public.gmane.org>
2013-07-29 13:07 ` DFS referrals Jeff Layton
[not found] ` <20130729090759.62d15e2e-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-07-29 13:45 ` Marcus Moeller
[not found] ` <51F6720C.3060500-OI3hZJvNYWs@public.gmane.org>
2013-07-29 14:34 ` Jeff Layton
[not found] ` <20130729103445.6629cece-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-07-29 14:39 ` Marcus Moeller
[not found] ` <51F67EB0.40502-OI3hZJvNYWs@public.gmane.org>
2013-07-30 5:45 ` Marcus Moeller [this message]
[not found] ` <51F75300.9000703-OI3hZJvNYWs@public.gmane.org>
2013-07-30 11:35 ` Marcus Moeller
[not found] ` <51F7A513.1090806-OI3hZJvNYWs@public.gmane.org>
2013-07-30 12:01 ` Jeff Layton
[not found] ` <20130730080116.76df98db-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-07-30 13:58 ` Marcus Moeller
[not found] ` <51F7C67A.6020009-OI3hZJvNYWs@public.gmane.org>
2013-07-30 14:17 ` Jeff Layton
[not found] ` <20130730101730.71549ec8-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-08-13 9:00 ` Marcus Moeller
[not found] ` <5209F598.1000101-OI3hZJvNYWs@public.gmane.org>
2013-08-13 14:42 ` Jeff Layton
2013-08-13 15:00 ` Richard Sharpe
[not found] ` <CACyXjPyu+uKW5THRRimpJMLS35KFJRoi_Ck6QLqUP2LZ7nh1+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-13 15:32 ` Jeff Layton
[not found] ` <20130813113210.649866dd-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-08-17 22:11 ` Richard Sharpe
[not found] ` <CACyXjPy69oa02aDp7ZLZx2WbJkXifxnp8yyfSHuBNSw5nBRTYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-18 13:10 ` Jeff Layton
[not found] ` <20130818091011.7c2cc8b1-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-08-18 15:14 ` Richard Sharpe
[not found] ` <CACyXjPzY8bi_m7iJ52RwvFNLYic+YyW_YenBmrirQmG0kS0Y9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-18 15:23 ` Richard Sharpe
2013-08-18 15:26 ` Marcus Moeller
[not found] ` <5210E7AD.1030408-OI3hZJvNYWs@public.gmane.org>
2013-08-18 15:57 ` Richard Sharpe
[not found] ` <CACyXjPw9_DT=nzznniZS_A6_whkvyUp4WQPm07bAWqmUtKfKhA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-18 16:08 ` Richard Sharpe
[not found] ` <CACyXjPx+tK+ZfVwm8W3sryZsgq3iEjMhrSv6GEbWgtSZ=7rzMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-18 17:23 ` Marcus Moeller
2013-08-19 11:11 ` Jeff Layton
[not found] ` <20130819071133.5680e53c-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-08-19 13:37 ` Tom Talpey
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=51F75300.9000703@gmx.ch \
--to=marcus.moeller-oi3hzjvnyws@public.gmane.org \
--cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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