Author Topic: Users can't access shares.  (Read 921 times)

trashman

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Users can't access shares.
« on: September 20, 2022, 11:18:58 am »
Hi,

I've installed Zentyal on real hardware as an A/D master and all went well.

The hardware has 2 disks, I set up the second disk to used as storage for shares only.

I created shares,users and groups through the web front end. ( home shares are on the main disk as I haven't found a way to set the second disk as the default yet )

After I set up both windows 10 (pro) and windows 11 (pro) client as per the instructions i can login as a user and see shares but can't access them - I assumed at first it was a permissions issue as I have shares set up on a different drive, but even after changing permissiosn on the directories I cannot access them.

It's the same for the user directories which Zentyal set up upon user creation.

Any pointers ?

Also can i change the default system path for creation of shares/directories ?

Any help appreciated.

Cheers

turalyon

  • Zen Warrior
  • ***
  • Posts: 197
  • Karma: +15/-0
    • View Profile
Re: Users can't access shares.
« Reply #1 on: September 21, 2022, 11:19:40 am »
Hi,

In the file browser, do you use the domain name or the FQDN? Below is an example:

Code: [Select]
## For personal folder
\\zentyal.mydomain.lan\trashman\

## For share folder
\\zentyal.mydomain.lan\devops\

Also, try to create a new share folder but use the default location (Directory under Zentyal), then set 'write-read' permissions to the domain user. And check if it works. If it does, the issue is with the additional disk. Provide us with all the details you can so we can check them out. For instance:

* The content of '/etc/fstab' related to that disk.
* The permissions of the mount point
Code: [Select]
ls -ld /media/additional-disk/
ls -lR /media/additional-disk/
getfacl -R /media/additional-disk/
* Two images with the share configuration in Zentyal (configuration itself and the permissions)
--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

trashman

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Users can't access shares.
« Reply #2 on: September 21, 2022, 01:12:08 pm »
Hi,

Thanks for the reply :

So using the FQDN as suggested i tried accessing both the users own share as created by zentyal and shares created on both disks and get the same error.

The error message is : this share is not accessible, you may not have permission for this network resource - Element not found

Interestingly, there is a folder called 'sysvol' that is accessible.

I also tried creating shares on the main disk and get the same error.

So I think it's a permissions issue but not limted to the second disk.

cheers

toomanylogins

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Users can't access shares.
« Reply #3 on: September 23, 2022, 09:35:34 am »
Does the windows client have network discovery turned on ?