Skip to content

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

@basprins

Description

@basprins

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/bp@sb.lan/creds/ad.credentials,vers=2.0 0  0

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

bp@sb.lan@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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions