sharesmb guest access workgroup mode broken on latest kernel
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.