smb.conf/manpage/2006/parameters/N

name cache timeout
name cache timeout (G) Specifies the number of seconds it takes before entries in samba's hostname resolve cache time out. If the timeout is set to 0. the caching is disabled.

Default: _�n_�a_�m_�e _�c_�a_�c_�h_�e _�t_�i_�m_�e_�o_�u_�t = 660

Example: _�n_�a_�m_�e _�c_�a_�c_�h_�e _�t_�i_�m_�e_�o_�u_�t = 0

name resolve order
name resolve order (G) This option is used by the programs in the Samba suite to determine what naming services to use and in what order to resolve host names to IP addresses. Its main purpose to is to control how netbios name resolution is performed. The option takes a space separated string of name resolution options.

The options are: "lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows:

· l�lm�mh�ho�os�st�ts�s : Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the lmhosts(5) for details) then any name type matches for lookup.

· h�ho�os�st�t : Do a standard host name to IP address resolution, using the system _�/_�e_�t_�c_�/_�h_�o_�s_�t_�s, NIS, or DNS lookups. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the _�/_�e_�t_�c_�/_�n_�s_�s_�w_�i_�t_�c_�h_�._�c_�o_�n_�f file. Note that this method is used only if the NetBIOS name type being queried is the 0x20 (server) name type or 0x1c (domain controllers). The latter case is only useful for active directory domains and results in a DNS query for the SRV RR entry matching _ldap._tcp.domain.

· w�wi�in�ns�s : Query a name with the IP address listed in the  _�w_�i_�n_�s _�s_�e_�r_�v_�e_�r parameter. If no WINS server has been specified this method will be ignored.

· b�bc�ca�as�st�t : Do a broadcast on each of the known local interfaces listed in the _�i_�n_�t_�e_�r_�f_�a_�c_�e_�s parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.

The example below will cause the local lmhosts file to be examined first, followed by a broadcast attempt, followed by a normal system hostname lookup.

When Samba is functioning in ADS security mode (s�se�ec�cu�ur�ri�it�ty�y =�= a�ad�ds�s) it is advised to use following settings for _�n_�a_�m_�e _�r_�e_�s_�o_�l_�v_�e _�o_�r_�d_�e_�r:

n�na�am�me�e r�re�es�so�ol�lv�ve�e o�or�rd�de�er�r =�= w�wi�in�ns�s b�bc�ca�as�st�t

DC lookups will still be done via DNS, but fallbacks to netbios names will not inundate your DNS servers with needless querys for DOMAIN lookups.

Default: _�n_�a_�m_�e _�r_�e_�s_�o_�l_�v_�e _�o_�r_�d_�e_�r = lmhosts host wins bcast

Example: _�n_�a_�m_�e _�r_�e_�s_�o_�l_�v_�e _�o_�r_�d_�e_�r = lmhosts bcast host

netbios aliases
netbios aliases (G) This is a list of NetBIOS names that nmbd will advertise as additional names by which the Samba server is known. This allows one machine to appear in browse lists under multiple names. If a machine is acting as a browse server or logon server none of these names will be advertised as either browse server or logon servers, only the primary name of the machine will be advertised with these capabilities.

Default: _�n_�e_�t_�b_�i_�o_�s _�a_�l_�i_�a_�s_�e_�s = # empty string (no additional names)

Example: _�n_�e_�t_�b_�i_�o_�s _�a_�l_�i_�a_�s_�e_�s = TEST TEST1 TEST2

netbios name
netbios name (G) This sets the NetBIOS name by which a Samba server is known. By default it is the same as the first component of the host's DNS name. If a machine is a browse server or logon server this name (or the first component of the hosts DNS name) will be the name that these services are advertised under.

Default: _�n_�e_�t_�b_�i_�o_�s _�n_�a_�m_�e = # machine DNS name

Example: _�n_�e_�t_�b_�i_�o_�s _�n_�a_�m_�e = MYNAME

netbios scope
netbios scope (G) This sets the NetBIOS scope that Samba will operate under. This should not be set unless every machine on your LAN also sets this value.

Default: _�n_�e_�t_�b_�i_�o_�s _�s_�c_�o_�p_�e =

nis homedir
nis homedir (G) Get the home share server from a NIS map. For UNIX systems that use an automounter, the user's home directory will often be mounted on a workstation on demand from a remote server.

When the Samba logon server is not the actual home directory server, but is mounting the home directories via NFS then two network hops would be required to access the users home directory if the logon server told the client to use itself as the SMB server for home directories (one over SMB and one over NFS). This can be very slow.

This option allows Samba to return the home share as being on a different server to the logon server and as long as a Samba daemon is running on the home directory server, it will be mounted on the Samba client directly from the directory server. When Samba is returning the home share to the client, it will consult the NIS map specified in _�h_�o_�m_�e_�d_�i_�r _�m_�a_�p and return the server listed there.

Note that for this option to work there must be a working NIS system and the Samba server with this option must also be a logon server.

Default: _�n_�i_�s _�h_�o_�m_�e_�d_�i_�r = no

nt acl support
nt acl support (S) This boolean parameter controls whether s�sm�mb�bd�d(8) will attempt to map UNIX permissions into Windows NT access control lists. This parameter was formally a global parameter in releases prior to 2.2.2.

Default: _�n_�t _�a_�c_�l _�s_�u_�p_�p_�o_�r_�t = yes

ntlm auth
ntlm auth (G) This parameter determines whether or not s�sm�mb�bd�d(8) will attempt to authenticate users using the NTLM encrypted password response. If disabled, either the lanman password hash or an NTLMv2 response will need to be sent by the client.

If this option, and l�la�an�nm�ma�an�n a�au�ut�th�h are both disabled, then only NTLMv2 logins will be permited. Not all clients support NTLMv2, and most will require special configuration to us it.

Default: _�n_�t_�l_�m _�a_�u_�t_�h = yes

nt pipe support
nt pipe support (G) This boolean parameter controls whether s�sm�mb�bd�d(8) will allow Windows NT clients to connect to the NT SMB specific I�IP�PC�C$�$ pipes. This is a developer debugging option and can be left alone.

Default: _�n_�t _�p_�i_�p_�e _�s_�u_�p_�p_�o_�r_�t = yes

nt status support
nt status support (G) This boolean parameter controls whether s�sm�mb�bd�d(8) will negotiate NT specific status support with Windows NT/2k/XP clients. This is a developer debugging option and should be left alone. If this option is set to n�no�o then Samba offers exactly the same DOS error codes that versions prior to Samba 2.2.3 reported.

You should not need to ever disable this parameter.

Default: _�n_�t _�s_�t_�a_�t_�u_�s _�s_�u_�p_�p_�o_�r_�t = yes

null passwords
null passwords (G) Allow or disallow client access to accounts that have null passwords.

See also s�sm�mb�bp�pa�as�ss�sw�wd�d(5).

Default: _�n_�u_�l_�l _�p_�a_�s_�s_�w_�o_�r_�d_�s = no