All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Marcus Moeller <marcus.moeller-OI3hZJvNYWs@public.gmane.org>
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: DFS referrals
Date: Mon, 29 Jul 2013 09:07:59 -0400	[thread overview]
Message-ID: <20130729090759.62d15e2e@corrin.poochiereds.net> (raw)
In-Reply-To: <51F664FB.5090507-OI3hZJvNYWs@public.gmane.org>

I generally don't do 1:1 support unless you're paying me, so cc'ing
linux-cifs ml:

[...]

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?

> [  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?

-- 
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

       reply	other threads:[~2013-07-29 13:07 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           ` Jeff Layton [this message]
     [not found]             ` <20130729090759.62d15e2e-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-07-29 13:45               ` DFS referrals 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
     [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=20130729090759.62d15e2e@corrin.poochiereds.net \
    --to=jlayton-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=marcus.moeller-OI3hZJvNYWs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.