diff options
Diffstat (limited to 'docs/manpages')
-rw-r--r-- | docs/manpages/lmhosts.5 | 2 | ||||
-rw-r--r-- | docs/manpages/make_smbcodepage.1 | 2 | ||||
-rw-r--r-- | docs/manpages/nmbd.8 | 2 | ||||
-rw-r--r-- | docs/manpages/nmblookup.1 | 2 | ||||
-rw-r--r-- | docs/manpages/samba.7 | 2 | ||||
-rw-r--r-- | docs/manpages/smb.conf.5 | 148 | ||||
-rw-r--r-- | docs/manpages/smbclient.1 | 2 | ||||
-rw-r--r-- | docs/manpages/smbd.8 | 2 | ||||
-rw-r--r-- | docs/manpages/smbpasswd.5 | 2 | ||||
-rw-r--r-- | docs/manpages/smbpasswd.8 | 2 | ||||
-rw-r--r-- | docs/manpages/smbrun.1 | 2 | ||||
-rw-r--r-- | docs/manpages/smbstatus.1 | 2 | ||||
-rw-r--r-- | docs/manpages/smbtar.1 | 2 | ||||
-rw-r--r-- | docs/manpages/swat.8 | 2 | ||||
-rw-r--r-- | docs/manpages/testparm.1 | 2 | ||||
-rw-r--r-- | docs/manpages/testprns.1 | 2 |
16 files changed, 92 insertions, 86 deletions
diff --git a/docs/manpages/lmhosts.5 b/docs/manpages/lmhosts.5 index 505434f6873..534c2484150 100644 --- a/docs/manpages/lmhosts.5 +++ b/docs/manpages/lmhosts.5 @@ -1,4 +1,4 @@ -.TH LMHOSTS 5 "08 Dec 1998" "lmhosts 2.0.0beta3" +.TH "lmhosts " "5" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" lmhosts \- The Samba NetBIOS hosts file diff --git a/docs/manpages/make_smbcodepage.1 b/docs/manpages/make_smbcodepage.1 index 44bbff9f3f6..9c134201078 100644 --- a/docs/manpages/make_smbcodepage.1 +++ b/docs/manpages/make_smbcodepage.1 @@ -1,4 +1,4 @@ -.TH MAKE_SMBCODEPAGE 1 "08 Dec 1998" "make_smbcodepage 2.0.0beta3" +.TH "make_smbcodepage " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" make_codepage \- Construct a codepage file for Samba diff --git a/docs/manpages/nmbd.8 b/docs/manpages/nmbd.8 index f4ac093120c..2c880faa427 100644 --- a/docs/manpages/nmbd.8 +++ b/docs/manpages/nmbd.8 @@ -1,4 +1,4 @@ -.TH NMBD 8 "08 Dec 1998" "nmbd 2.0.0beta3" +.TH "nmbd" "8" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" nmbd \- NetBIOS name server to provide NetBIOS over IP diff --git a/docs/manpages/nmblookup.1 b/docs/manpages/nmblookup.1 index a666ebddf7f..04f24d0ef53 100644 --- a/docs/manpages/nmblookup.1 +++ b/docs/manpages/nmblookup.1 @@ -1,4 +1,4 @@ -.TH NMBLOOKUP 1 "08 Dec 1998" "nmblookup 2.0.0beta3" +.TH "nmblookup " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" nmblookup \- NetBIOS over TCP/IP client used to lookup NetBIOS names diff --git a/docs/manpages/samba.7 b/docs/manpages/samba.7 index 2732479709c..96975f34c26 100644 --- a/docs/manpages/samba.7 +++ b/docs/manpages/samba.7 @@ -1,4 +1,4 @@ -.TH SAMBA 7 "08 Dec 1998" "samba 2.0.0beta3" +.TH "Samba " "7" "23 Oct 1998" "Samba" "" .PP .SH "NAME" Samba \- A Windows SMB/CIFS fileserver for UNIX diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5 index dbf4c9e2a0d..116eaeb066e 100644 --- a/docs/manpages/smb.conf.5 +++ b/docs/manpages/smb.conf.5 @@ -1,4 +1,4 @@ -.TH SMB.CONF 5 "08 Dec 1998" "smb.conf 2.0.0beta3" +.TH "smb\&.conf " "5" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smb\&.conf \- The configuration file for the Samba suite @@ -1289,63 +1289,7 @@ file permissions\&. .IP .IP "\fBallow hosts (S)\fP" .IP -A synonym for this parameter is \fB\'hosts allow\'\fP -.IP -This parameter is a comma, space, or tab delimited set of hosts which -are permitted to access a service\&. -.IP -If specified in the \fB[global]\fP section then it will -apply to all services, regardless of whether the individual service -has a different setting\&. -.IP -You can specify the hosts by name or IP number\&. For example, you could -restrict access to only the hosts on a Class C subnet with something -like \f(CW"allow hosts = 150\&.203\&.5\&."\fP\&. The full syntax of the list is -described in the man page \fBhosts_access (5)\fP\&. Note that this man -page may not be present on your system, so a brief description will -be given here also\&. -.IP -\fINOTE:\fP IF you wish to allow the \fBsmbpasswd -(8)\fP program to be run by local users to change -their Samba passwords using the local \fBsmbd (8)\fP -daemon, then you \fIMUST\fP ensure that the localhost is listed in your -\fBallow hosts\fP list, as \fBsmbpasswd (8)\fP runs -in client-server mode and is seen by the local -\fBsmbd\fP process as just another client\&. -.IP -You can also specify hosts by network/netmask pairs and by netgroup -names if your system supports netgroups\&. The \fIEXCEPT\fP keyword can also -be used to limit a wildcard list\&. The following examples may provide -some help: -.IP -\fBExample 1\fP: allow localhost and all IPs in 150\&.203\&.*\&.* except one -.IP -\f(CW hosts allow = localhost, 150\&.203\&. EXCEPT 150\&.203\&.6\&.66\fP -.IP -\fBExample 2\fP: allow localhost and hosts that match the given network/netmask -.IP -\f(CW hosts allow = localhost, 150\&.203\&.15\&.0/255\&.255\&.255\&.0\fP -.IP -\fBExample 3\fP: allow a localhost plus a couple of hosts -.IP -\f(CW hosts allow = localhost, lapland, arvidsjaur\fP -.IP -\fBExample 4\fP: allow only hosts in NIS netgroup "foonet" or localhost, but -deny access from one particular host -.IP -\f(CW hosts allow = @foonet, localhost\fP -\f(CW hosts deny = pirate\fP -.IP -Note that access still requires suitable user-level passwords\&. -.IP -See \fBtestparm (1)\fP for a way of testing your -host access to see if it does what you expect\&. -.IP -\fBDefault:\fP -\f(CW none (i\&.e\&., all hosts permitted access)\fP -.IP -\fBExample:\fP -\f(CW allow hosts = 150\&.203\&.5\&. localhost myhost\&.mynet\&.edu\&.au\fP +Synonym for \fBhosts allow\fP\&. .IP .IP "\fBalternate permissions (S)\fP" .IP @@ -1982,16 +1926,7 @@ See also the \fBveto files\fP parameter\&. .IP .IP "\fBdeny hosts (S)\fP" .IP -The opposite of \fB\'allow hosts\'\fP - hosts listed -here are \fINOT\fP permitted access to services unless the specific -services have their own lists to override this one\&. Where the lists -conflict, the \fB\'allow\'\fP list takes precedence\&. -.IP -\fBDefault:\fP -\f(CW none (i\&.e\&., no hosts specifically excluded)\fP -.IP -\fBExample:\fP -\f(CW deny hosts = 150\&.203\&.4\&. badhost\&.mynet\&.edu\&.au\fP +Synonym for \fBhosts deny\fP\&. .IP .IP "\fBdfree command (G)\fP" .IP @@ -2606,11 +2541,77 @@ logons\fP\&. .IP .IP "\fBhosts allow (S)\fP" .IP -Synonym for \fBallow hosts\fP\&. +A synonym for this parameter is \fB\'allow hosts\'\fP +.IP +This parameter is a comma, space, or tab delimited set of hosts which +are permitted to access a service\&. +.IP +If specified in the \fB[global]\fP section then it will +apply to all services, regardless of whether the individual service +has a different setting\&. +.IP +You can specify the hosts by name or IP number\&. For example, you could +restrict access to only the hosts on a Class C subnet with something +like \f(CW"allow hosts = 150\&.203\&.5\&."\fP\&. The full syntax of the list is +described in the man page \fBhosts_access (5)\fP\&. Note that this man +page may not be present on your system, so a brief description will +be given here also\&. +.IP +\fINOTE:\fP IF you wish to allow the \fBsmbpasswd +(8)\fP program to be run by local users to change +their Samba passwords using the local \fBsmbd (8)\fP +daemon, then you \fIMUST\fP ensure that the localhost is listed in your +\fBhosts allow\fP list, as \fBsmbpasswd (8)\fP runs +in client-server mode and is seen by the local +\fBsmbd\fP process as just another client\&. +.IP +You can also specify hosts by network/netmask pairs and by netgroup +names if your system supports netgroups\&. The \fIEXCEPT\fP keyword can also +be used to limit a wildcard list\&. The following examples may provide +some help: +.IP +\fBExample 1\fP: allow localhost and all IPs in 150\&.203\&.*\&.* except one +.IP +\f(CW hosts allow = localhost, 150\&.203\&. EXCEPT 150\&.203\&.6\&.66\fP +.IP +\fBExample 2\fP: allow localhost and hosts that match the given network/netmask +.IP +\f(CW hosts allow = localhost, 150\&.203\&.15\&.0/255\&.255\&.255\&.0\fP +.IP +\fBExample 3\fP: allow a localhost plus a couple of hosts +.IP +\f(CW hosts allow = localhost, lapland, arvidsjaur\fP +.IP +\fBExample 4\fP: allow only hosts in NIS netgroup "foonet" or localhost, but +deny access from one particular host +.IP +\f(CW hosts allow = @foonet, localhost\fP +.IP +\f(CW hosts deny = pirate\fP +.IP +Note that access still requires suitable user-level passwords\&. +.IP +See \fBtestparm (1)\fP for a way of testing your +host access to see if it does what you expect\&. +.IP +\fBDefault:\fP +\f(CW none (i\&.e\&., all hosts permitted access)\fP +.IP +\fBExample:\fP +\f(CW allow hosts = 150\&.203\&.5\&. localhost myhost\&.mynet\&.edu\&.au\fP .IP .IP "\fBhosts deny (S)\fP" .IP -Synonym for \fBdenyhosts\fP\&. +The opposite of \fB\'hosts allow\'\fP - hosts listed +here are \fINOT\fP permitted access to services unless the specific +services have their own lists to override this one\&. Where the lists +conflict, the \fB\'allow\'\fP list takes precedence\&. +.IP +\fBDefault:\fP +\f(CW none (i\&.e\&., no hosts specifically excluded)\fP +.IP +\fBExample:\fP +\f(CW hosts deny = 150\&.203\&.4\&. badhost\&.mynet\&.edu\&.au\fP .IP .IP "\fBhosts equiv (G)\fP" .IP @@ -2618,7 +2619,7 @@ If this global parameter is a non-null string, it specifies the name of a file to read for the names of hosts and users who will be allowed access without specifying a password\&. .IP -This is not be confused with \fBallow hosts\fP which +This is not be confused with \fBhosts allow\fP which is about hosts access to services and is more useful for guest services\&. \fBhosts equiv\fP may be useful for NT clients which will not supply passwords to samba\&. @@ -3728,12 +3729,17 @@ names to be resolved as follows : .IP .IP o \fBlmhosts\fP : 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 \fBlmhosts (5)\fP for details) then +any name type matches for lookup\&. .IP .IP o \fBhost\fP : Do a standard host name to IP address resolution, using the system /etc/hosts, 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 \fI/etc/nsswitch\&.conf\fP file)\&. +Note that this method is only used if the NetBIOS name type being +queried is the 0x20 (server) name type, otherwise it is ignored\&. .IP .IP o \fBwins\fP : Query a name with the IP address listed in the diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1 index fb45171af24..6d93c3cd51e 100644 --- a/docs/manpages/smbclient.1 +++ b/docs/manpages/smbclient.1 @@ -1,4 +1,4 @@ -.TH SMBCLIENT 1 "08 Dec 1998" "smbclient 2.0.0beta3" +.TH "smbclient " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbclient \- ftp-like client to access SMB/CIFS resources on servers diff --git a/docs/manpages/smbd.8 b/docs/manpages/smbd.8 index 4a78ffd0bee..7088cfd557e 100644 --- a/docs/manpages/smbd.8 +++ b/docs/manpages/smbd.8 @@ -1,4 +1,4 @@ -.TH SMBD 8 "08 Dec 1998" "smbd 2.0.0beta3" +.TH "smbd " "8" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbd \- server to provide SMB/CIFS services to clients diff --git a/docs/manpages/smbpasswd.5 b/docs/manpages/smbpasswd.5 index 7edf66a00b9..e3fbcf161ee 100644 --- a/docs/manpages/smbpasswd.5 +++ b/docs/manpages/smbpasswd.5 @@ -1,4 +1,4 @@ -.TH SMBPASSWD 5 "08 Dec 1998" "smbpasswd 2.0.0beta3" +.TH "smbpasswd " "5" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbpasswd \- The Samba encrypted password file diff --git a/docs/manpages/smbpasswd.8 b/docs/manpages/smbpasswd.8 index 96c4032b86a..ad502e01b12 100644 --- a/docs/manpages/smbpasswd.8 +++ b/docs/manpages/smbpasswd.8 @@ -1,4 +1,4 @@ -.TH SMBPASSWD 8 "08 Dec 1998" "smbpasswd 2.0.0beta3" +.TH "smbpasswd " "8" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbpasswd \- change a users SMB password diff --git a/docs/manpages/smbrun.1 b/docs/manpages/smbrun.1 index 56f293981b6..d34b408d6bd 100644 --- a/docs/manpages/smbrun.1 +++ b/docs/manpages/smbrun.1 @@ -1,4 +1,4 @@ -.TH SMBRUN 1 "08 Dec 1998" "smbrun 2.0.0beta3" +.TH "smbrun " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbrun \- interface program between smbd and external programs diff --git a/docs/manpages/smbstatus.1 b/docs/manpages/smbstatus.1 index c589d464306..ddbbc7e8a53 100644 --- a/docs/manpages/smbstatus.1 +++ b/docs/manpages/smbstatus.1 @@ -1,4 +1,4 @@ -.TH SMBSTATUS 1 "08 Dec 1998" "smbstatus 2.0.0beta3" +.TH "smbstatus " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbstatus \- report on current Samba connections diff --git a/docs/manpages/smbtar.1 b/docs/manpages/smbtar.1 index 32a00f1108a..2aaa542231e 100644 --- a/docs/manpages/smbtar.1 +++ b/docs/manpages/smbtar.1 @@ -1,4 +1,4 @@ -.TH SMBTAR 1 "08 Dec 1998" "smbtar 2.0.0beta3" +.TH "smbtar " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" smbtar \- shell script for backing up SMB/CIFS shares directly to UNIX tape drives diff --git a/docs/manpages/swat.8 b/docs/manpages/swat.8 index dee153c19c7..a9e876aaf29 100644 --- a/docs/manpages/swat.8 +++ b/docs/manpages/swat.8 @@ -1,4 +1,4 @@ -.TH SWAT 8 "08 Dec 1998" "swat 2.0.0beta3" +.TH "swat " "8" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" swat \- swat - Samba Web Administration Tool diff --git a/docs/manpages/testparm.1 b/docs/manpages/testparm.1 index c2523f8aa31..b75590aa9ad 100644 --- a/docs/manpages/testparm.1 +++ b/docs/manpages/testparm.1 @@ -1,4 +1,4 @@ -.TH TESTPARM 1 "08 Dec 1998" "testparm 2.0.0beta3" +.TH "testparm " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" testparm \- check an smb\&.conf configuration file for internal correctness diff --git a/docs/manpages/testprns.1 b/docs/manpages/testprns.1 index f5e872bdf37..bb366e329c3 100644 --- a/docs/manpages/testprns.1 +++ b/docs/manpages/testprns.1 @@ -1,4 +1,4 @@ -.TH TESTPRNS 1 "08 Dec 1998" "testprns 2.0.0beta3" +.TH "testprns " "1" "23 Oct 1998" "Samba" "SAMBA" .PP .SH "NAME" testprns \- check printer name for validity with smbd |