* Problem with mount.cifs in Fedora 19.
@ 2015-03-27 17:18 Ben Greear
[not found] ` <551590DA.8040402-my8/4N5VtI7c+919tysfdA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Ben Greear @ 2015-03-27 17:18 UTC (permalink / raw)
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hello!
A user of our CIFS test gear reported a problem when testing against
a filer that is not using a password.
A Fedora-14 machine has a mount.cifs on it that just mounts fine and does
not ask for password.
But, Fedora 19's mount.cifs will ask for password (and fail the mount anyway
if you enter a blank password).
Any idea what might be the issue?
Thanks,
Ben
--
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with mount.cifs in Fedora 19.
[not found] ` <551590DA.8040402-my8/4N5VtI7c+919tysfdA@public.gmane.org>
@ 2015-03-27 18:35 ` Steve French
[not found] ` <CAH2r5muXwqPT59Z7HDZ_3ua0yG2S50gHVdqtyXcC5LBQUOhtPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Steve French @ 2015-03-27 18:35 UTC (permalink / raw)
To: Ben Greear; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
There was the bug about SecurityFlags that Niklas Cassel's "fix MUST
SecurityFlags filtering" patch addressed. Does it work if you rename
/sbin/mount.cifs to something else temporarily (so it goes straight to
the kernel) and supply ip address on the mount instead of hostname (so
you don't need the mount helper)
On Fri, Mar 27, 2015 at 12:18 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
> Hello!
>
> A user of our CIFS test gear reported a problem when testing against
> a filer that is not using a password.
>
> A Fedora-14 machine has a mount.cifs on it that just mounts fine and does
> not ask for password.
>
> But, Fedora 19's mount.cifs will ask for password (and fail the mount anyway
> if you enter a blank password).
>
> Any idea what might be the issue?
>
> Thanks,
> Ben
>
> --
> Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
> Candela Technologies Inc http://www.candelatech.com
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with mount.cifs in Fedora 19.
[not found] ` <CAH2r5muXwqPT59Z7HDZ_3ua0yG2S50gHVdqtyXcC5LBQUOhtPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-27 18:39 ` Ben Greear
[not found] ` <5515A3C5.40902-my8/4N5VtI7c+919tysfdA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Ben Greear @ 2015-03-27 18:39 UTC (permalink / raw)
To: Steve French; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 03/27/2015 11:35 AM, Steve French wrote:
> There was the bug about SecurityFlags that Niklas Cassel's "fix MUST
> SecurityFlags filtering" patch addressed. Does it work if you rename
> /sbin/mount.cifs to something else temporarily (so it goes straight to
> the kernel) and supply ip address on the mount instead of hostname (so
> you don't need the mount helper)
We are trying to set up a local system to reproduce the problem,
and will try this out there if we can.
Or, I'll try this on the customer system if we cannot reproduce it
locally.
Thanks for the suggestion.
Ben
>
> On Fri, Mar 27, 2015 at 12:18 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
>> Hello!
>>
>> A user of our CIFS test gear reported a problem when testing against
>> a filer that is not using a password.
>>
>> A Fedora-14 machine has a mount.cifs on it that just mounts fine and does
>> not ask for password.
>>
>> But, Fedora 19's mount.cifs will ask for password (and fail the mount anyway
>> if you enter a blank password).
>>
>> Any idea what might be the issue?
>>
>> Thanks,
>> Ben
>>
>> --
>> Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
>> Candela Technologies Inc http://www.candelatech.com
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
--
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with mount.cifs in Fedora 19.
[not found] ` <5515A3C5.40902-my8/4N5VtI7c+919tysfdA@public.gmane.org>
@ 2015-03-30 18:28 ` Ben Greear
[not found] ` <551995E4.1090601-my8/4N5VtI7c+919tysfdA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Ben Greear @ 2015-03-30 18:28 UTC (permalink / raw)
To: Steve French; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 03/27/2015 11:39 AM, Ben Greear wrote:
> On 03/27/2015 11:35 AM, Steve French wrote:
>> There was the bug about SecurityFlags that Niklas Cassel's "fix MUST
>> SecurityFlags filtering" patch addressed. Does it work if you rename
>> /sbin/mount.cifs to something else temporarily (so it goes straight to
>> the kernel) and supply ip address on the mount instead of hostname (so
>> you don't need the mount helper)
>
> We are trying to set up a local system to reproduce the problem,
> and will try this out there if we can.
>
> Or, I'll try this on the customer system if we cannot reproduce it
> locally.
>
> Thanks for the suggestion.
We tried testing with a guest account, but that does not reproduce the
problem for us, and we cannot yet figure out how to configure
the smb server with a normal user with no password.
Do you happen to know how to do this, or if it can even be done in Linux?
Would you expect the guest account approach to reproduce the problem?
Thanks,
Ben
>
> Ben
>
>>
>> On Fri, Mar 27, 2015 at 12:18 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
>>> Hello!
>>>
>>> A user of our CIFS test gear reported a problem when testing against
>>> a filer that is not using a password.
>>>
>>> A Fedora-14 machine has a mount.cifs on it that just mounts fine and does
>>> not ask for password.
>>>
>>> But, Fedora 19's mount.cifs will ask for password (and fail the mount anyway
>>> if you enter a blank password).
>>>
>>> Any idea what might be the issue?
>>>
>>> Thanks,
>>> Ben
>>>
>>> --
>>> Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
>>> Candela Technologies Inc http://www.candelatech.com
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
>>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
>>
>
>
--
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with mount.cifs in Fedora 19.
[not found] ` <551995E4.1090601-my8/4N5VtI7c+919tysfdA@public.gmane.org>
@ 2015-04-03 11:59 ` Jeff Layton
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Layton @ 2015-04-03 11:59 UTC (permalink / raw)
To: Ben Greear
Cc: Steve French, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Mon, 30 Mar 2015 11:28:52 -0700
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
> On 03/27/2015 11:39 AM, Ben Greear wrote:
> > On 03/27/2015 11:35 AM, Steve French wrote:
> >> There was the bug about SecurityFlags that Niklas Cassel's "fix MUST
> >> SecurityFlags filtering" patch addressed. Does it work if you rename
> >> /sbin/mount.cifs to something else temporarily (so it goes straight to
> >> the kernel) and supply ip address on the mount instead of hostname (so
> >> you don't need the mount helper)
> >
> > We are trying to set up a local system to reproduce the problem,
> > and will try this out there if we can.
> >
> > Or, I'll try this on the customer system if we cannot reproduce it
> > locally.
> >
> > Thanks for the suggestion.
>
> We tried testing with a guest account, but that does not reproduce the
> problem for us, and we cannot yet figure out how to configure
> the smb server with a normal user with no password.
>
> Do you happen to know how to do this, or if it can even be done in Linux?
>
> Would you expect the guest account approach to reproduce the problem?
>
> Thanks,
> Ben
>
There were a lot of authentication layer changes between those two
fedora releases, IIRC.
One thing you can do is simply use "sec=none" which will make
mount.cifs skip prompting for a password. "guest" on the other hand
makes it skip prompting for a password and also pass in a blank
username -- that's probably not what you want.
The big difference though might be that the more recent kernel is
trying to use NTLMSSP auth instead of older NTLM auth. If you can get
network captures of mount attempts from both clients, have a close
look at the SESSION_SETUP calls and see whether that's the case.
> >
> > Ben
> >
> >>
> >> On Fri, Mar 27, 2015 at 12:18 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
> >>> Hello!
> >>>
> >>> A user of our CIFS test gear reported a problem when testing against
> >>> a filer that is not using a password.
> >>>
> >>> A Fedora-14 machine has a mount.cifs on it that just mounts fine and does
> >>> not ask for password.
> >>>
> >>> But, Fedora 19's mount.cifs will ask for password (and fail the mount anyway
> >>> if you enter a blank password).
> >>>
> >>> Any idea what might be the issue?
> >>>
> >>> Thanks,
> >>> Ben
> >>>
> >>> --
> >>> Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
> >>> Candela Technologies Inc http://www.candelatech.com
> >>>
> >>> --
> >>> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> >>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >>
> >>
> >>
> >
> >
>
>
--
Jeff Layton <jlayton-vpEMnDpepFuMZCB2o+C8xQ@public.gmane.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-04-03 11:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-27 17:18 Problem with mount.cifs in Fedora 19 Ben Greear
[not found] ` <551590DA.8040402-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2015-03-27 18:35 ` Steve French
[not found] ` <CAH2r5muXwqPT59Z7HDZ_3ua0yG2S50gHVdqtyXcC5LBQUOhtPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-27 18:39 ` Ben Greear
[not found] ` <5515A3C5.40902-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2015-03-30 18:28 ` Ben Greear
[not found] ` <551995E4.1090601-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2015-04-03 11:59 ` Jeff Layton
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.