Project

General

Profile

Actions

Bug #7676

closed

sharesmb guest access workgroup mode broken on latest kernel

Added by Gabriele Bulfon almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
cifs - CIFS server and client
Start date:
2016-12-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Looks like any sharesmb with "guestok=true" (workgroup mode) is not giving access to the shares.
While with "guestok=false" and correct authentication against a configured pam/smb user, you get access to shares but only can enter the authenticated one.

Here is a description to reproduce the problem. I also attach a snoop of packets while trying to access the guest shares.

=================

I updated my kernel to latest via fecth/merge on my xstreamos-illumos-gate, then finally built everything and updated my dev machine.
Everything seemed fine. I could also finally create new isos and test fresh new updated installs.
I thought I was ready for a public update.

Then I noticed I could no more access my cifs shares on the updated dev machine.
I had 3 zfs dataset, all with sharesmb "guestok=true", workgroup mode.
All 3 datasets are chmod 777, chown root:root, and I could access them always in my lan before the update.

Now I don't even see the shares, windows clients requests for credentials to access \\mydevserver.
I tried then to enable pam support for smb and created a user, then created a dataset without guestok.
Now I can access \\mydevserver with that user/pass and see the shares but I can only access the new reserved dataset.
Looks like there is a problem only accessing the guestok=true shares.

===================


Files

smb_guest_access_snoop.out (19 KB) smb_guest_access_snoop.out Gabriele Bulfon, 2016-12-18 06:36 PM
smb_typed_guest_access_snoop.out (17.3 KB) smb_typed_guest_access_snoop.out Gabriele Bulfon, 2016-12-19 10:04 PM
Actions

Also available in: Atom PDF