added full netbench simulation in smbtorture. It now reads a 4MB load
[Samba/gbeck.git] / docs / yodldocs / testparm.1.yo
blob27014345e0680bfa319acc248138d0aca6ddb96d
1 mailto(samba-bugs@samba.org) 
3 manpage(testparm htmlcommand((1)))(1)(23 Oct 1998)(Samba)(SAMBA)
5 label(NAME)
6 manpagename(testparm)(check an smb.conf configuration file for internal correctness)
8 label(SYNOPSIS)
9 manpagesynopsis() 
11 bf(testparm) [link(-s)(minuss)] [link(configfilename)(configfilename)] [link(hostname)(hostname) link(hostIP)(hostIP)]
13 label(DESCRIPTION)
14 manpagedescription()
16 This program is part of the bf(Samba) suite.
18 bf(testparm) is a very simple test program to check an
19 url(bf(smbd))(smbd.8.html) configuration file for internal
20 correctness. If this program reports no problems, you can use the
21 configuration file with confidence that url(bf(smbd))(smbd.8.html)
22 will successfully load the configuration file.
24 Note that this is em(NOT) a guarantee that the services specified in the
25 configuration file will be available or will operate as expected.
27 If the optional host name and host IP address are specified on the
28 command line, this test program will run through the service entries
29 reporting whether the specified host has access to each service.
31 If bf(testparm) finds an error in the url(bf(smb.conf))(smb.conf.5.html)
32 file it returns an exit code of 1 to the calling program, else it returns
33 an exit code of 0. This allows shell scripts to test the output from
34 bf(testparm).
36 label(OPTIONS)
37 manpageoptions()
39 startdit()
41 label(minuss)
42 dit(bf(-s)) Without this option, bf(testparm) will prompt for a
43 carriage return after printing the service names and before dumping
44 the service definitions.
46 label(configfilename)
47 dit(bf(configfilename)) This is the name of the configuration file to
48 check. If this parameter is not present then the default
49 url(bf(smb.conf))(smb.conf.5.html) file will be checked.
51 label(hostname)
52 dit(bf(hostname)) If this parameter and the following are specified,
53 then testparm will examine the url(bf("hosts
54 allow"))(smb.conf.5.html#hostsallow) and url(bf("hosts
55 deny"))(smb.conf.5.html#hostsdeny) parameters in the
56 url(bf(smb.conf))(smb.conf.5.html) file to determine if the hostname
57 with this IP address would be allowed access to the
58 url(bf(smbd))(smbd.8.html) server. If this parameter is supplied, the
59 link(hostIP)(hostIP) parameter must also be supplied.
61 label(hostIP)
62 dit(bf(hostIP)) This is the IP address of the host specified in the
63 previous parameter. This address must be supplied if the hostname
64 parameter is supplied.
66 enddit()
68 label(FILES)
69 manpagesection(FILES)
71 url(bf(smb.conf))(smb.conf.5.html). This is usually the name of the
72 configuration file used by url(bf(smbd))(smbd.8.html).
74 label(DIAGNOSTICS)
75 manpagesection(DIAGNOSTICS)
77 The program will issue a message saying whether the configuration file
78 loaded OK or not. This message may be preceded by errors and warnings
79 if the file did not load. If the file was loaded OK, the program then
80 dumps all known service details to stdout.
82 label(VERSION)
83 manpagesection(VERSION)
85 This man page is correct for version 2.0 of the Samba suite.
87 label(SEEALSO)
88 manpageseealso()
90 url(bf(smb.conf (5)))(smb.conf.5.html), url(bf(smbd (8)))(smbd.8.html)
92 label(AUTHOR)
93 manpageauthor()
95 The original Samba software and related utilities were created by
96 Andrew Tridgell email(samba-bugs@samba.org). Samba is now developed
97 by the Samba Team as an Open Source project similar to the way the
98 Linux kernel is developed.
100 The original Samba man pages were written by Karl Auer. The man page
101 sources were converted to YODL format (another excellent piece of Open
102 Source software, available at
103 url(bf(ftp://ftp.icce.rug.nl/pub/unix/))(ftp://ftp.icce.rug.nl/pub/unix/))
104 and updated for the Samba2.0 release by Jeremy Allison.
105 email(samba-bugs@samba.org).
107 See url(bf(samba (7)))(samba.7.html) to find out how to get a full
108 list of contributors and details on how to submit bug reports,
109 comments etc.