Problem with mount.cifs in Fedora 19.
Subsystems (2)
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
Signature · 2 lines
Ben Greear <greearb-my8/[email protected]> Candela Technologies Inc http://www.candelatech.com
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)
Quoted 24 lines · Ben Greear
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/[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Thanks, Steve
Quoted 5 lines · Steve French
There was the bug about SecurityFlags that Niklas Cassel's "fix MUST SecurityFlags filtering" patch addressed. Does it work if you rename
/sbin/mount.cifsto 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
Quoted 29 lines · Ben Greear
Quoted 24 lines
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/[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Ben Greear <greearb-my8/[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 7 lines · Ben Greear
Quoted 5 lines · Steve French
There was the bug about SecurityFlags that Niklas Cassel's "fix MUST SecurityFlags filtering" patch addressed. Does it work if you rename
/sbin/mount.cifsto 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)
Quoted 7 lines
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
Quoted 34 lines
Ben
Quoted 29 lines · Ben Greear
Quoted 24 lines
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/[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Ben Greear <greearb-my8/[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 20 lines · On Mon, 30 Mar 2015 11:28:52 -0700 Ben Greear…
Quoted 7 lines · Ben Greear
Quoted 5 lines · Steve French
There was the bug about SecurityFlags that Niklas Cassel's "fix MUST SecurityFlags filtering" patch addressed. Does it work if you rename
/sbin/mount.cifsto 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)Quoted 7 lines
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.
Quoted 7 lines
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.
Quoted 36 lines
Quoted 34 lines
Ben
Quoted 29 lines · Ben Greear
Quoted 24 lines
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/[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Jeff Layton <[email protected]>