This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Issue with Zorin and Mount of SMB shares

stm_tech

Mon Apr 09, 2018 8:24:32 am

Hi

I have Zorin 12.3 installed and joined to my domain.

I can logon as a domain user, having installed and configured PBIS-Open.

What I cant get to work is the automatic mounting of the Users Home Folder.

The SYSLOG shows the following errors:
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.627895] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Apr 9 08:28:04 lin-01-dc7700 lsass: [lsass] Failed mount of //curricnas2.stthomasmore.local/home on /home/STTHOMASMORE/systech/X-Drive with data sec=krb5,user=systech@STTHOMASMORE.LOCAL,uid=1937813624,gid=1937768960,cruid=1937813624,ip=172.16.12.100, error 2 (errno 2)
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.736891] CIFS VFS: Send error in SessSetup = -2
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.736904] CIFS VFS: cifs_mount failed w/return code = -2
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.737015] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Apr 9 08:28:04 lin-01-dc7700 lsass: Unable to map errno 126
Apr 9 08:28:04 lin-01-dc7700 lsass: [lsass] Failed mount of //curricnas2.stthomasmore.local/home on /home/STTHOMASMORE/systech/X-Drive with data sec=krb5i,user=systech@STTHOMASMORE.LOCAL,uid=1937813624,gid=1937768960,cruid=1937813624,ip=172.16.12.100, error 40188 (errno 126)
Apr 9 08:28:04 lin-01-dc7700 lsass: [lsass] Failed mount of //curricnas2.stthomasmore.local/home on /home/STTHOMASMORE/systech/X-Drive, error 2281704832 (errno 40188)
Apr 9 08:28:04 lin-01-dc7700 lsass: [lsass] Failed to mount directory for user (systech), actual error 40188
Apr 9 08:28:04 lin-01-dc7700 lsass: [lsass] Failed to open session for user (name = 'systech') -> error = 40188, symbol = LW_ERROR_UNKNOWN, client pid = 1750
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.846204] CIFS VFS: Send error in SessSetup = -126
Apr 9 08:28:04 lin-01-dc7700 kernel: [ 151.846213] CIFS VFS: cifs_mount failed w/return code = -126

I can open a terminal and I do have a Kerberos ticket.

Both server (a QNAP NAS) and the client use SMB3

What else can I check?

Swarfendor437

Mon Apr 09, 2018 11:13:56 am

stm_tech

Mon Apr 09, 2018 1:28:17 pm

None of the articles helped at all.

The issue here is that the Zorin Client is unable to map ANY SMB shares, I am trying to connect to a QNAP NAS running SMB protocol 3, Zorin is running Protocol 3 as well.

I know that Zorin is roughly based on Ubuntu, as is MINT. The mint works perfectly. with exactly the same configuration.

The user in Zorin has a valid kerberos ticket so I know that part is working.

If I use the file manager, I can browse to the NAS, and I can access the users folder in the file manager.

Something is stopping the clients from mounting though.

Swarfendor437

Mon Apr 09, 2018 8:20:17 pm

stm_tech

Tue Apr 10, 2018 7:05:17 am

I have exhausted all possible options and switched to MINT, it works out of the bag.

Thanks for the help.

Swarfendor437

Wed Apr 11, 2018 4:49:14 pm

Hi stm_tech, Sorry that things did not work out. I have PM'd the Admins on this issue - still awaiting a response. Thanks for the feedback. ;) :D

Swarfendor437

Mon Apr 16, 2018 7:07:00 pm

Hi, I don't know if you are still in the loop but looking for something else today I discovered this:

https://github.com/konkor/obmin

I notice it has a lot of 'mint' themeing and wonder if that is why Mint works out of the box because it includes obmin? ;) :D

star treker

Tue May 15, 2018 9:18:15 am

I had the same problem when I was first using Zorin OS in 2016, now I am back to using Zorin OS again lol. For some reason, Zorin refuses to mount any share on any other Linux machine. It forced me to stop using an old 64-bit single core machine as a file server. And I had to buy an external hard drive box and stick the file server drive in there. I plugged the external box into my Netgear router, and I setup Readyshare. File transfer is not as fast, even though I am running a gigabit network, but its all I can afford right now. But long story short, Zorin is able to see and mount my drive connected to my router via the network.

Swarfendor437

Tue May 15, 2018 12:08:19 pm

Hi star treker,

I think I read somewhere that there was no way of accessing /home unless the user was logged in (presumably SSH remote would work?). I think the best all-round solution is:

1. Create an NTFS partition at the end of the drive as most GNU/Linux distributions support ntfs3g these days.

2. Install Obmin - I can connect my Android Phone to the 'Data Share' folder on the NTFS partition but not sussed out what files (if any) are accessible, and in view of my concerns over microwaves and wireless I am in the process of the amount of Technology I use - it might be farewell to the PS4 as far as I am concerned too! ;)