1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
95339c0c1e testparm: list registry shares with testparm.
I.e., use lp_load_with_registry_shares() instead of lp_load().

Michael
2008-05-15 02:42:41 +02:00
af12b24c4f testparm: only check for %u und passwd program when passwd program is given.
Michael
2008-03-18 15:52:45 +01:00
0567f50698 testparm: correctly check for empty lp_passwd_prog().
Michael
2008-03-18 15:52:45 +01:00
a74f07243d testparm: fix irritating indentation.
Michael
2008-03-18 15:52:45 +01:00
46a021f27c testparm: fix a segfault triggered by setting "unix password sync = yes".
(introduced by pstring removal 0411635511)

Michael
2008-03-18 15:52:45 +01:00
52dc5eaef2 Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
2007-12-10 11:30:37 -08:00
0411635511 Getting to the home stretch for elimination of pstrings...
Jeremy.
2007-12-03 18:48:41 -08:00
793a9d24a1 Fix the popt / bool issues. Some places we used BOOL
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
2007-10-19 11:38:36 -07:00
f35a266b3c RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
3abf06efc1 r24951: Warn if "os level" > 255
Thanks to Karolin Seeger <ks@sernet.de>
2007-10-10 12:30:29 -05:00
705336ee10 r24825: Give testparm an initial talloc stackframe, so it does not complain
it is leaking.
2007-10-10 12:30:25 -05:00
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
d19dad8815 r15549: removing rhosts and 'hosts equiv' authentication features 2007-10-10 11:16:58 -05:00
f2a24de769 r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
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.)
2007-10-10 11:06:18 -05:00
a4c6eceaae r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336) 2007-10-10 11:06:14 -05:00
c970d7d0a5 r12555: Fix more load_case_table swegfaults. Arggg.
What I'd give for a global constructor...
Jeremy.
2007-10-10 11:05:59 -05:00
c727a1a330 r12415: Forgot newlines.
Guenther
2007-10-10 11:05:55 -05:00
6c4a6da3dc r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
translation elsewhere.

Guenther
2007-10-10 11:05:55 -05:00
30fcdf84d8 r11999: Re-add "passdb expand explicit".
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
2007-10-10 11:05:41 -05:00
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
a1b82624d7 r7511: Add three new command line switches to testparm:
--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
2007-10-10 10:57:10 -05:00
1424612047 r5176: Warn the user that print command is ignored when using cups libraries 2007-10-10 10:55:32 -05:00
23422aeec0 r3683: BUG 2017: fix testparm reporting for the passwd program string 2007-10-10 10:53:14 -05:00
a48b3b291c r2826: Complain if 'password chat' doesn't contain the %u variable. based on a patch by Ronan Waide 2007-10-10 10:52:54 -05:00
94a272b9a8 Added strstr_m() function. Use in all places where we might run into mb
(should fix the mb service name problem, can't remember the bugid).
Jeremy.
-
0450dc9773 Changed output so all debug output goes to stderr, and all file processing
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
-
2690c185f0 Testparm fixes:
- 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>
-
be06e52ce0 Fixed test and wording for long share names.
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.
-
28631ef23f Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.
-
c043835c87 Test invalid map system, map hidden, create mask, force create mask
parameters. Fix return code for Samba 4 torture tester.
Jeremy.
-
897125a9db Fix bug #136. Add message about erroneous empty "passdb backend" parameter. -
d817eaf0ec Reverse previous patch from Stefan and me after comments by Andrew Bartlett -
74d9ecfe2d Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
-
1755d5f662 Use the new modules system for passdb (merge from HEAD) -
b3328dab2f Add some more functions for the modules (backport from HEAD):
- init_modules()
 - smb_probe_module()
-
6a54d9a0a7 Merge:
- Jelmer's latest popt changes
-
29d909b184 One more on set_local_machine_name() taking a new 'perm' argument. -
b14e174c65 Added Volkers "print server role" patch.
Jeremy.
-
1df808ac89 Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,
and probably SWAT too..

Andrew Bartlett
-
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
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
-
f755711df8 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
1a25dc776d Sync with HEAD -
89d8ebd520 Merge vl's 'algorithmic rid base' patch, and my changes to pdb_smbpasswd's NUA
support from HEAD -> 3.0

Andrew Bartlett
-
a1c4a16267 logic error in checking wins servers--merged from HEAD -
65e7b5273b sync'ing up for 3.0alpha20 release -
1b83b78e33 sync 3.0 branch with HEAD -
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
8ecfed59a3 3 branches might become a pain... :-)
Volker
-
423985ed56 Spelling. -