docker-samba-dc icon indicating copy to clipboard operation
docker-samba-dc copied to clipboard

fmstrat vs burnbabyburn

Open basprins opened this issue 10 months ago • 1 comments

Hi there, I am investigating AD through docker (while some forums vote against this approach). I started out with the one from fmstrat. Got a lot working, then started to struggle. Started over by installing samba without docker. Got until the same point, and decided to go back to the fmstrat docker container.

I have seen your first (as google lists yours first), but noticed it was a fork and thought maybe best to start with the source (fmstrat). Then, I noticed you opened issues on fmstrat and are contributing on that github as well. :). Now I am confused, which is the one to use? What are the differences?

The problem I am currently trying to solve, is trying to understand how I should create samba shares on the domain controller. I did by simply creating a directory on the server, and adding a path to it in smb.conf. Then I have the situation that I can see the share on a windows box that joined the domain, but I am unable to enter that directory (because of wrong permissions).

I can see that the auto generated shares (netlogon, sysvol) have a different owner (owner = 30000000). Throwing that against chatgpt I learned it's some special user / entity in active directory. But I can't figure out how I should create one using that "user/entitiy" myself.

example of auto generated share inside docker container:

drwxrwx---+ 3 root 3000000    4096 Apr  6 19:13 sysvol

I am mostly curious if you would be able to tutor me a bit on this, and if it's advisable to switch over to your docker image instead.

basprins avatar Apr 06 '24 19:04 basprins