summaryrefslogtreecommitdiffstats
path: root/source/utils/testparm.c
Commit message (Collapse)AuthorAgeFilesLines
* testparm: allow the default debug level of 2 to be changed from the command ↵Michael Adam2008-07-151-1/+8
| | | | | | line. Michael
* testparm: refactor the per-share logic checks out into do_per_share_checks().Michael Adam2008-07-151-58/+67
| | | | | | Just to enhance clearness of the code. Michael
* testparm: skip the per-share logic checks when --skip-logic-checks is specified.Michael Adam2008-07-151-1/+1
| | | | Michael
* testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam2008-07-151-3/+3
| | | | | | | | | as suggested by Karolin. That is what it really means. And per-share logic tests will be disabled by the same switch, too... Michael
* testparm: add a switch --skip-global-checks.Michael Adam2008-07-151-1/+5
| | | | | | | | This allows for successfully calling testparm without the need to "make install" before. Without this, testparm fails with the message that the lock directory does not exist... Michael
* testparm: list registry shares with testparm.Michael Adam2008-05-151-1/+1
| | | | | | I.e., use lp_load_with_registry_shares() instead of lp_load(). Michael
* testparm: only check for %u und passwd program when passwd program is given.Michael Adam2008-03-181-5/+10
| | | | Michael
* testparm: correctly check for empty lp_passwd_prog().Michael Adam2008-03-181-1/+3
| | | | Michael
* testparm: fix irritating indentation.Michael Adam2008-03-181-2/+1
| | | | Michael
* testparm: fix a segfault triggered by setting "unix password sync = yes".Michael Adam2008-03-181-1/+0
| | | | | | (introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-1/+1
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* Getting to the home stretch for elimination of pstrings...Jeremy Allison2007-12-031-10/+12
| | | | Jeremy.
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-191-2/+2
| | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-4/+4
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r24951: Warn if "os level" > 255Volker Lendecke2007-10-101-0/+4
| | | | Thanks to Karolin Seeger <ks@sernet.de>
* r24825: Give testparm an initial talloc stackframe, so it does not complainMichael Adam2007-10-101-0/+3
| | | | it is leaking.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r15549: removing rhosts and 'hosts equiv' authentication featuresGerald Carter2007-10-101-9/+0
|
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping ↵Gerald Carter2007-10-101-1/+1
| | | | server role when calling 'testparm -s' (BUG 1336)
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2007-10-101-0/+2
| | | | | What I'd give for a global constructor... Jeremy.
* r12415: Forgot newlines.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner2007-10-101-18/+1
| | | | | | translation elsewhere. Guenther
* r11999: Re-add "passdb expand explicit".Volker Lendecke2007-10-101-0/+5
| | | | | | | We came to the conclusion that changing the default is something that has to wait one or two more releases, but it will happen one way or the other. Volker
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-1/+1
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r7511: Add three new command line switches to testparm:Lars Müller2007-10-101-1/+40
| | | | | | | | | | | | | | | | | --show-all-parameters Enumerates all available parameters, grouped in to sections [local] and [global] by the class of the parameter. Each line is formated name=type[,enum values],flags --parameter-name Display the setting of the named parameter. The global section is assumed if no other is set with --section-name --section-name Limit the view of testparm to the named section. Use 'global' to only view the settings of the global section. This fixes bug #2767. Lars
* r5176: Warn the user that print command is ignored when using cups librariesSimo Sorce2007-10-101-0/+7
|
* r3683: BUG 2017: fix testparm reporting for the passwd program stringGerald Carter2007-10-101-1/+1
|
* r2826: Complain if 'password chat' doesn't contain the %u variable. based on ↵Jelmer Vernooij2007-10-101-1/+8
| | | | a patch by Ronan Waide
* Added strstr_m() function. Use in all places where we might run into mbJeremy Allison2004-03-091-1/+1
| | | | | (should fix the mb service name problem, can't remember the bugid). Jeremy.
* Changed output so all debug output goes to stderr, and all file processingJohn Terpstra2003-10-201-40/+40
| | | | | | | | | | | | | | goes to stdout. Note: This change permits use of testparm processing of smb.conf to be redirected into a file that can be used as an smb.conf file. ie: All information that should not be in smb.conf will be on stderr, all pertinent smb.conf info will go to stdout. Example of use: A fully documented smb.conf.master file can be maintained. To create smb.conf do: testparm -s > smb.conf
* Testparm fixes:Jelmer Vernooij2003-09-291-3/+9
| | | | | | | - Also check global 'hosts allow'/'hosts deny' when checking access to share - Warn when user specifies 2 arguments instead of 1 or 3. Patch from Jay Fenlason <fenlason@redhat.com>
* Fixed test and wording for long share names.Christopher R. Hertel2003-09-151-3/+4
| | | | | | The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as previously tested). Took DaveCB's suggested and added a note listing some of the client systems that might be affected.
* Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.Jeremy Allison2003-09-081-2/+2
| | | | Jeremy.
* Test invalid map system, map hidden, create mask, force create maskJeremy Allison2003-08-121-0/+21
| | | | | parameters. Fix return code for Samba 4 torture tester. Jeremy.
* Fix bug #136. Add message about erroneous empty "passdb backend" parameter.Jim McDonough2003-06-201-0/+4
|
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in.
* Use the new modules system for passdb (merge from HEAD)Jelmer Vernooij2003-04-151-4/+4
|
* Add some more functions for the modules (backport from HEAD):Jelmer Vernooij2003-04-141-0/+6
| | | | | - init_modules() - smb_probe_module()
* Merge:Tim Potter2003-04-141-7/+4
| | | | - Jelmer's latest popt changes
* One more on set_local_machine_name() taking a new 'perm' argument.Andrew Bartlett2003-03-181-1/+1
|
* Added Volkers "print server role" patch.Jeremy Allison2003-02-201-0/+22
| | | | Jeremy.
* Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,Andrew Bartlett2003-01-141-1/+2
| | | | | | and probably SWAT too.. Andrew Bartlett
* Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-1/+0
| | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-3/+3
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Sync with HEADJelmer Vernooij2002-11-091-0/+1
|
* Merge vl's 'algorithmic rid base' patch, and my changes to pdb_smbpasswd's NUAAndrew Bartlett2002-11-051-0/+10
| | | | | | support from HEAD -> 3.0 Andrew Bartlett
* logic error in checking wins servers--merged from HEADGerald Carter2002-09-301-2/+2
|