Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: tekvizyon on February 07, 2020, 11:43:50 am

Title: File Shared error -- I am not authorized to give an element not found.
Post by: tekvizyon on February 07, 2020, 11:43:50 am
Hello friends.

I'm very sorry for English. I use google translation.

My problem is I installed zentyal 6.1, I created domain and users. windows machines domain extension is successful, but i want to share files. I create all privileges in file sharing, as a user and as a group.

Although Windows computers are in the domain, when I try to enter shared folders, I am not authorized to give an element not found.

can you please help?

Thank you so much

Code: [Select]
root@server01:/home/samba/shares# getfacl Kalite
# file: Kalite
# owner: root
# group: adm
user::rwx
user:root:rwx
group::rwx
group:adm:rwx
group:IZOPEK\134domain\040admins:rwx
group:IZOPEK\134pazarlama:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:root:rwx
default:group::rwx
default:group:adm:rwx
default:group:IZOPEK\134domain\040admins:rwx
default:group:IZOPEK\134pazarlama:rwx
default:mask::rwx
default:other::---

default:group:IZOPEK\134domain\040admins:rwx              ? = 134domain\040admins   group = domain admins
default:group:IZOPEK\134pazarlama:rwx                            ? = 134pazarlam                   group = pazarlama
Title: Re: File Shared error -- I am not authorized to give an element not found.
Post by: carlossimao on January 27, 2021, 11:06:09 am
Hi!
I have a similar problem.
I configured Zentyal as AD and DC, I joined the computer win10 and win7 in the domain.
In Zentyal 6.2 I created the shared folder and consented their respective access permissions.
When I go to the station and enter the path \\ dominiot.lan, the folder reserved for the user I am logged in and all folders shared with are listed.
When I try to open a folder that the logged in user doesn't have access to, it opens the pop-up to inform the credentials of another user who has permissions. Which is correct.
When I try to open the folder for the logged-in user or a shared folder that he has permission, the error appears: open folder; element not found ...
The interesting thing is that if I map any of the folders that the user has access to, it works normally.

Has anyone ever experienced this?
Title: Re: File Shared error -- I am not authorized to give an element not found.
Post by: doncamilo on January 27, 2021, 02:24:33 pm
 :)

Run this command:

Code: [Select]
sudo testparm

I have configured a "test" shared resource. The testparm command shows this regardinf this share:

Code: [Select]
...
[test]
force create mode = 0660
force directory mode = 0660
path = /home/samba/shares/test
valid users = "@Domain Users"
vfs objects = acl_xattr full_audit
write list = "@Domain Users"
full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
...

Check you valid users and write list parameters.

Cheers!