![]() ![]() # It specifies the script to run during logon. # It specifies the location of a user's home directory (from the client # Another common choice is storing the profile in the user's home directory # The following required a share to be setup on the # It specifies the location of the user's profile directory # The following setting only takes effect if 'domain logons' is set # change the 'domain master' setting to no # Is this machine able to authenticate users. # This option controls how unsuccessful authentication attempts are mapped # when requested by an SMB client instead of the program listed in ![]() # This boolean controls whether PAM will be used for password changes Passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully*. # sending the correct chat script for the passwd program in Debian Sarge). # parameters must be set (thanks to Ian Kahan for # For Unix password sync to work on a Debian GNU/Linux system, the following # password with the SMB password when the encrypted SMB password in the # This boolean parameter controls whether Samba attempts to sync the Unix # If you are using encrypted passwords, Samba will need to know what # 'encrypt passwords' in the smb.conf(5) manpage before enabling. # You may wish to use password encryption. # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html # in this server for every user accessing the server. ![]() # "security = user" is always a good idea. 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 name resolve order = lmhosts host wins bcast # What naming service and in what order should we use to resolve host names # 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 # where using a master file is not a good idea. # However, use this with caution if your smb.conf file contains nested # which, according to the Samba Team, impacts performance # This minimizes the size of the really used smb.conf file ![]() # "" and create the "real" config file with # A well-established practice is to name the original file # "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. Everything in my smb.conf file looks ok to me, but the shares are still accessible with no user security, and I don't know why. In other words, when accessing the share, I want to be prompted for my username and password. I'm running Maverick Meerkat 10.10 圆4, and I'm trying to set up a Samba share with user security. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |