![]() # Running as "active directory domain controller" will require first # Most people will want "standalone sever" or "member server". # domain controller", "classic backup domain controller", "active # values are "standalone server", "member server", "classic primary Defines in which mode Samba will operate. Panic action = /usr/share/samba/panic-action %d ![]() # Do something sensible when Samba crashes: mail the admin a backtrace # through syslog you should set the following parameter to something higher. # We want Samba to log a minimum amount of information to syslog. # If you want Samba to only log through syslog then set the following # Cap the size of the individual log files (in KiB). # This tells Samba to use a separate log file for each machine ![]() # option cannot handle dynamic or non-broadcast interfaces correctly. # not protected by a firewall or is a firewall itself. # It is recommended that you enable this feature if your Samba machine is # Only bind to the named interfaces and/or networks you must use the # This can be either the interface name or an IP address/netmask # The specific set of interfaces / networks to bind to # This will prevent nmbd to search for NetBIOS names through DNS. # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both # WINS Server - Tells the NMBD components of Samba to be a WINS Client # WINS Support - Tells the NMBD component of Samba to enable its WINS Server # Windows Internet Name Serving Support Section: Server string = %h server (Samba, Ubuntu) # server string is the equivalent of the NT Description field # Change this to the workgroup/NT-domain name your Samba server will part of # "testparm" to check that you have not made any basic syntactic # NOTE: Whenever you modify this file you should run the command # behaviour of Samba but the option is considered important # - When commented with "#", the proposed setting is the default # differs from the default Samba behaviour # - When such options are commented with " ", the proposed setting # Some options that are often worth tuning have been included as Samba has a huge number of configurable options most of which # smb.conf(5) manual page in order to understand the options listed ![]() # This is the main Samba configuration file. # Sample configuration file for the Samba suite for Debian GNU/Linux. The folder that I'm sharing is named P and located in /home/vandymentioned as #Vandy's Share at the end of the config file below: # But it's not discoverable in Ubuntu 20.04. I did a similar thing in Linux Mint and it used to work fine. I've also enabled the share using the gui method. I am not seeing a way to add groups to this ACL so if you are managing lots of users this may be a little cumbersome.I'm using Ubuntu 20.04LTS and trying to access the samba server on Android using X-Plore. Once that's done the Access Based Share Enumeration works to hide a share from users who shouldn't have access. Replace the current Everyone full access ACL with the users you want to give access to. Click on the 3 dots on the right hand side to edit the Share ACL. In Scale go to sharing and then click on "Windows (SMB) Shares" to get where you can edit the Share ACLs. I'm just curious is this feature still working in Scale since we are now 10 years later, and on a new platform?Įdit: Got this working. I found an older post (circa 2012) on the TrueNAS forum talking that turning on the option for "Access Based Share Enumeration" was all that was necessary to accomplish this, but when I enable it and then log in with one of their users I still see all my shares available. I currently have their permissions set so that they can only access their specific datasets/shares, but I would like to take it a step further and actually hide all other shares from their visibility. They have VPN access to connect to the TrueNAS server to upload content directly to me. I've got multiple SMB shares on my TrueNAS machine two of which are for different companies I do work for. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |