45Drives / cockpit-file-sharing

A Cockpit plugin to easily manage samba and NFS file sharing.
GNU General Public License v3.0
598 stars 32 forks source link

Can't get Samba working #32

Closed daaw-gees closed 2 years ago

daaw-gees commented 2 years ago

Installed Ubuntu server on a Proxmox server as a VM, was able to get cockpit and filesharing installed with little issue. I'm now stuck on getting Samba to function properly. When I go to File Sharing > Samba I see this: Annotation 2022-02-20 133343

So, I go onto the Ubuntu server so I can edit that file and apparently it's a sample: Annotation 2022-02-20 135359

Could really use some assistance, googling "smb.conf is a sample," hasn't returned helpful results.

Thanks in advance, -Nick

joshuaboud commented 2 years ago

Hi, you can just add include = registry right underneath where it says [global] in your existing smb.conf file

daaw-gees commented 2 years ago

I hope it isn't that simple, my .conf just looks different from what it 'should' look like. That line at the top where it says 'sample' was giving me pause. I'll give that a try and report back.

daaw-gees commented 2 years ago

I didn't even put the proper indent and it still worked. Thanks for the quick response on a Sunday!

Annotation 2022-02-20 163232 Annotation 2022-02-20 163052