samba-domain icon indicating copy to clipboard operation
samba-domain copied to clipboard

Unable to create files on samba share from linux AD client

Open basprins opened this issue 10 months ago • 0 comments

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!

basprins avatar Apr 08 '24 19:04 basprins