summaryrefslogtreecommitdiff
path: root/source/utils/testparm.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-5/+7
|
* sync 3.0 branch with HEADJelmer Vernooij2002-08-171-4/+5
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-151/+126
|
* 3 branches might become a pain... :-)Volker Lendecke2002-04-141-0/+9
| | | | Volker
* Spelling.Tim Potter2002-04-071-1/+1
|
* the SEC_DOMAIN tests also apply to SEC_ADSAndrew Tridgell2002-03-151-2/+2
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis2002-01-071-0/+3
| | | | of commands when specified on command line.
* This is another rather major change to the samba authenticaionAndrew Bartlett2001-11-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subystem. The particular aim is to modularized the interface - so that we can have arbitrary password back-ends. This code adds one such back-end, a 'winbind' module to authenticate against the winbind_auth_crap functionality. While fully-functional this code is mainly useful as a demonstration, because we don't get back the info3 as we would for direct ntdomain authentication. This commit introduced the new 'auth methods' parameter, in the spirit of the 'auth order' discussed on the lists. It is renamed because not all the methods may be consulted, even if previous methods fail - they may not have a suitable challenge for example. Also, we have a 'local' authentication method, for old-style 'unix if plaintext, sam if encrypted' authentication and a 'guest' module to handle guest logins in a single place. While this current design is not ideal, I feel that it does provide a better infrastructure than the current design, and can be built upon. The following parameters have changed: - use rhosts = This has been replaced by the 'rhosts' authentication method, and can be specified like 'auth methods = guest rhosts' - hosts equiv = This needs both this parameter and an 'auth methods' entry to be effective. (auth methods = guest hostsequiv ....) - plaintext to smbpasswd = This is replaced by specifying 'sam' rather than 'local' in the auth methods. The security = parameter is unchanged, and now provides defaults for the 'auth methods' parameter. The available auth methods are: guest rhosts hostsequiv sam (passdb direct hash access) unix (PAM, crypt() etc) local (the combination of the above, based on encryption) smbserver (old security=server) ntdomain (old security=domain) winbind (use winbind to cache DC connections) Assistance in testing, or the production of new and interesting authentication modules is always appreciated. Andrew Bartlett
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-2/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-1/+1
| | | | default, rather than in preprocessor macros.
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-111-5/+0
| | | | of gettext for internationalisation support. There is more to do
* Fixed bug when status=no and max smbd processes > 0.Jeremy Allison2001-10-111-0/+5
| | | | Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* Check 'hosts equiv' and 'use rhosts' compatability with 'hostnameAndrew Bartlett2001-09-201-0/+16
| | | | lookup' value.
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-2/+2
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel2001-08-261-1/+1
| | | | to determine whether the 'wins server' parameter is set.