summaryrefslogtreecommitdiffstats
path: root/source/param
Commit message (Collapse)AuthorAgeFilesLines
* r25387: Sync with 3.2.0 svn treeGerald Carter2007-09-271-4/+0
|
* r25050: Merge new, stricter NTLM password security requirements into Samba 3.2.0Andrew Bartlett2007-09-101-4/+4
| | | | | | | | | | As a client, we no longer send plaintext or LM responses, unless reconfigured. As a server, we no longer accept LM responses (encrypt passwords = yes has been set for a while), unless reconfigured. Andrew Bartlett
* r25036: Fix a become/unbecome_root() pairVolker Lendecke2007-09-081-1/+1
|
* r24957: Merge 21867, 21869, 21870 and 21871:Volker Lendecke2007-09-041-2/+5
| | | | | | | | | | | | | Simplify calling convention of timeout_processing. lp_deadtime is only referenced in conn_idle_all(). Move sending keepalives out of the main processing loop into idle event. On the way, make lp_keepalive() a proper parameter. Move sending auth_server keepalives out of the main loop into an idle event. Move deadtime processing into an idle event. While there, simplify conn_idle_all() a bit.
* r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke2007-08-301-39/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker
* r24660: Merge the inbuf/outbuf changesVolker Lendecke2007-08-251-4/+0
|
* r24639: Add parameter "directory name cache size" - parameterizeJeremy Allison2007-08-231-1/+8
| | | | | | use of directory name cache, 100 by default. Will be needed to turn this off for *BSD systems. Jeremy.
* r24636: Raise one debug level, since the callers (that want to do so)Michael Adam2007-08-231-1/+1
| | | | | | issue a level 0 debug message. Michael
* r24616: In set_boolean(), only pass the result back to the caller Michael Adam2007-08-221-1/+2
| | | | | | if parsing of the boolean string was successful. Also, initialize the local result variable (although not strictly necessary anymore, now.)
* r24602: Add function lp_string_is_valid_boolean() to check if a stringMichael Adam2007-08-211-2/+18
| | | | | | | | | contains a correct representation of a boolean value (in the understanding of loadparm.c). Make set_boolean() catch passing NULL for the boolean target. Michael
* r24572: Allow for functions map_parameter_canonical() and is_synonym_of() toMichael Adam2007-08-201-11/+33
| | | | | | | | | be called with inverse == NULL. Add a new function lp_parameter_is_canonical() to check whether a parameter name is the canonical name (as apposed to an alias). Michael
* r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam2007-08-171-0/+45
| | | | | | | | | a parameter and value into the canonical paramter with the value inverted if it was in invers boolean synonym. Make net conf use this function when storing parameters. Michael
* r24526: Refactor determiniation of the index of the canonical form of aMichael Adam2007-08-171-15/+35
| | | | | | | parameter given in string representation into a function of its own (map_parameter_canonical). Michael
* r24525: Add output of synonym information to show_parameter_list().Michael Adam2007-08-171-8/+52
| | | | | | | | | | | | Also simplify lp_canonicalize_parameter by making use of the new function "is_synonym_of". Michael Note: If anything depends on the exact former output format of show_parameter list, I would trigger the output of synonym information by a boolean verbose switch (that could be passed to testparm via the "-v" command line switch).
* r24519: Refactor printing of one parameter into a helper function of its own.Michael Adam2007-08-171-30/+42
|
* r24510: Fix logic. Thanks to Volker for the hint!Michael Adam2007-08-171-1/+1
| | | | Michael
* r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameterMichael Adam2007-08-161-0/+108
| | | | | | | | | | | | and produces the "canonical" (or main) name of the parameter (the one synonym that does not have the flag FLAG_HIDE). The function also sets a flag as to whether the synonym is a reverse boolean synonym. Add some functions for the handling of string representations of boolean values: return the canonical string representation of a bool, invert a bool given as a string, canonicalize a bool given as a string. Michael
* r24266: Remove the "open files database hash size" parameterVolker Lendecke2007-08-071-1/+0
| | | | This has been superseded by the "tdb_hashsize:<tdbname>" parameter
* r24073: merge from SAMBA_3_2:Stefan Metzmacher2007-07-301-1/+10
| | | | | | | Add "client ldap sasl wrapping" parameter. Possible values are "plain" (default), "sign" or "seal". metze
* r24028: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher2007-07-241-0/+4
| | | | | | | | | add in any cluster addresses. We need to response to these, but not listen on them. This allows us to run nmbd on every node in the cluster, and have all of them register with a WINS server correctly metze
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-07-101-2/+1
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-092-2/+2
| | | | Jeremy.
* r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam2007-06-301-1/+1
| | | | Michael
* r23657: Prevent setting of a global option in a share definitionMichael Adam2007-06-291-0/+18
| | | | | | in "net conf setparm". Michael
* r23656: Add initial checking of the validity of a paramterMichael Adam2007-06-291-0/+12
| | | | | | | given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael
* r23641: Put check for forbidden values in smbconf into a function.Michael Adam2007-06-281-4/+1
| | | | | | | (This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael
* r23592: Change a debuglevel to not clutter output when calling Michael Adam2007-06-221-1/+1
| | | | | | net as a non-root user, e.g. Michael
* r23579: Up to now, the "allparameters" argument to lp_next_parameter wasMichael Adam2007-06-211-0/+3
| | | | | | | | | | | | not effective for the global section (snum < 0). This checkin makes it effective for the global section, too. This does not produce changes in the results of the present calls of lp_next_parameter: Beside the new use in utils/net_conf.c (which is hereby fixed), the only calls of lp_next_parameter are in web/swat.c, where it is effectively always called with allparameters == 1. Michael
* r23575: Fix a segfault when lp_load is called before init_registry.Michael Adam2007-06-211-0/+2
| | | | Michael
* r23553: Also ignore "lock directory" in registry global options.Michael Adam2007-06-201-2/+5
| | | | Michael
* r23552: Use proper comparison function an fix logic.Michael Adam2007-06-201-1/+1
| | | | Michael
* r23548: Fix comments.Michael Adam2007-06-191-3/+3
| | | | Michael
* r23547: Ignore parameter "include" in regsitry globals.Michael Adam2007-06-191-0/+5
| | | | Michael
* r23513: Fix one more use of VALUE_PREFIX.Jeremy Allison2007-06-151-1/+1
| | | | Jeremy.
* r23511: Merge branches/SAMBA_3_0@23510James Peach2007-06-151-1/+1
| | | | | Tidy calls to smb_panic by removing trailing newlines. Print the failed expression in SMB_ASSERT.
* r23509: This activates the global options from the registry in loadparm. Michael Adam2007-06-151-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The global options are stored as values in the subkey "global" of the SMBCONF registry key. The activation is accomplished in smb.conf though a new special semantic of the "include" parameter: "include = registry" triggers the processing of the registry global options exactly at the position of the include statement. Options read from the registry take the same precedence as parameters loaded from a file via include. Need to reload the registry globals is detected by watching the tdb sequence number. Registry shares are automatically activated when the registry globals are processed. So a "registry only" configuration can be realized by an smb.conf that looks as follows: ================================ [global] include = registry ================================ The global options and registry shares can be conveniently edited with the "net conf" utility. Caveat: A possible pitfall consists in using "include = registry" together with the "lock directory" directive in the registry. This problem will be addressed in the next time. Note on the code: Processing of the registry options is accomplished by a function process_registry_globals() in loadparm.c The current version is only an interim solution: It is handcoded instead of using the infrastructure of reg_api.c. The reason for this is that using reg_api still has too large linker dependencies, bloating virtually all targets by PASSDB_OBJ, SMBLDAP_OBJ, GROUPDB_OBJ and LDB stuff. A version of process_registry_globals that uses reg_api is included but commented out. The goal is to eventually refactor and restructure the registry code so that one can use the reg_api to access only the registry tdb and not link all the dynamic backends with all their linking implications.
* r23471: Here's a rough patch for expanding domain group membershipGerald Carter2007-06-131-0/+4
| | | | | | | | | | | | in the winbindd_getgrnam() call. Couple of comments: * Adds "winbind expand groups" parameter which defines the max depth winbindd will expand group members. The default is the current behavior of one level of expansion. * The entire getrgnam() interface should be async. I haven't done that. * Refactors the domain users hack in fill_grent_mem() into its own function.
* r23438: Merge r21959 from 3_0: fix a comment.Michael Adam2007-06-121-1/+2
| | | | Michael
* r23437: Merge r21547 from 3_0:Michael Adam2007-06-121-3/+2
| | | | | | Refuse registry shares without path. Michael
* r23430: Merge r19963 from 3_0:Michael Adam2007-06-121-0/+10
| | | | | | Add 'registry shares = yes' and registry key security descriptors. Michael
* r23410: Merge the core of the cluster code.Volker Lendecke2007-06-101-0/+9
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin forVolker Lendecke2007-06-061-0/+3
| | | | the patch :-)
* r22285: Allow arbitrary bases in int and ulong parsing.Jeremy Allison2007-04-161-2/+2
| | | | Jeremy.
* r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison2007-04-161-6/+13
| | | | | 32 unicode chars. Windows XP doesn't like that :-). Jeremy
* r21905: RenameGerald Carter2007-03-211-8/+8
| | | | | idmap expire time -> idmap cache time idmap negative time -> idmap negative cache time
* r21884: * Blacklist BUILTIN and MACHINE domains from theGerald Carter2007-03-201-5/+5
| | | | | | | | | | | | | | | | | | idmap domains as these should only be handled by the winbindd_passdb.c backend * Allow the alloc init to fail for backwards compatible configurations like idmap backend = ad idmap uid = 1000-100000 .... * Remove the deprecated flags from idmap backend, et. al. These are mutually exclusive with the new configuration options (idmap domains). Logging annoying messages about deprecated parameters is confusing. So we'll try this apprpach for now.
* r21866: Remove unused "lock spin count" parameterVolker Lendecke2007-03-181-4/+0
|
* r21825: add debug prefix timestamp to allow "short timestamps" to beHerb Lewis2007-03-131-0/+4
| | | | added to debug messages
* r21517: Fix build warnings.Günther Deschner2007-02-231-2/+1
| | | | Guenther