Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create files on samba share from linux AD client #61

Open
basprins opened this issue Apr 8, 2024 · 0 comments
Open

Unable to create files on samba share from linux AD client #61

basprins opened this issue Apr 8, 2024 · 0 comments

Comments

@basprins
Copy link

basprins commented Apr 8, 2024

Hi,
I am enjoying your samba AD container and figuring out stuff as I go. One thing is giving me a headache though and I can't get and handle on the problem.

What I have so far is this samba AD container running on my ubuntu server (22.04). I can join clients (one win11 professional client, and a couple of linux clients).

The default generated "sysvol" share can be accessed from all clients. From windows, I can read/write/create. But from the linux AD clients, I can only view the share, but writing/creating is not possible (permission denied).

I mount the share through fstab as follows:

//192.168.1.100/sysvol                  /media/sysvol                   cifs  credentials=/home/[email protected]/creds/ad.credentials,vers=2.0 0  0

When I ls -l in the share, all files belong to root

[email protected]@bas-hp:~$ ls -l /media/sysvol/
total 0
drwxr-xr-x 2 root root 0 apr  6 20:49 sb.lan

But even when i sudo the file creation I keep getting permission denied.

I am kind of stuck, tried so many different possible solutions from the internet but nothing gives. Would you recognize this problem and can give me some pointers how to solve it?

I assume the problems are all linux client side related, since I have no issues at all from the windows client.

Any help is greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant