1 # Samba {#module-services-samba}
3 [Samba](https://www.samba.org/), a SMB/CIFS file, print, and login server for Unix.
5 ## Basic Usage {#module-services-samba-basic-usage}
7 A minimal configuration looks like this:
11 services.samba.enable = true;
15 This configuration automatically enables `smbd`, `nmbd` and `winbindd` services by default.
17 ## Configuring {#module-services-samba-configuring}
19 Samba configuration is located in the `/etc/samba/smb.conf` file.
21 ### File share {#module-services-samba-configuring-file-share}
23 This configuration will configure Samba to serve a `public` file share
24 which is read-only and accessible without authentication:
36 "comment" = "Public samba share.";