summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-22s4:registry - "util" - remove "const" from "reg_abs_path"Matthias Dieter Wallnöfer1-3/+3
Here it's not really needed
2010-03-22s4:registry - adaptions for "add also a memory context argument for ↵Matthias Dieter Wallnöfer2-2/+2
"reg_key_del_abs"
2010-03-22s4:registry - "util" - add also a memory context argument for "reg_key_del_abs"Matthias Dieter Wallnöfer2-5/+4
2010-03-22s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs"Matthias Dieter Wallnöfer1-6/+3
2010-03-22s4:registry - "util" - fix up memory allocated dataMatthias Dieter Wallnöfer1-1/+10
2010-03-22s4:registry - "dir.c" - fix up dynamic memory allocation operationsMatthias Dieter Wallnöfer1-15/+50
- Added free operations where needed - Use always the "mem_ctx" for temporary data - Proof with W_ERROR_HAVE_NO_MEMORY if stuff was allocated
2010-03-22s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer14-64/+59
2010-03-22s4:registry - registry.h - add memory contexts for delete value/key functionsMatthias Dieter Wallnöfer1-8/+16
2010-03-22tdb: Fix bug 7248, avoid the nanosleep dependencyVolker Lendecke1-4/+4
2010-03-22Fix valgrind error when running under share level security. plaintext_passwordJeremy Allison1-2/+2
is a data blob with a data pointer pointing to an allocation of length zero. Jeremy.
2010-03-22s3: Add the "ctdb locktime warn threshold" parameterVolker Lendecke4-0/+41
This is mainly a debugging aid for post-mortem analysis in case a cluster file system is slow.
2010-03-22s3: Implement an asynchronous echo responder processVolker Lendecke1-19/+478
This replies to echo requests when the main smbd is stuck somewhere Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-22s3:smbd: don't allow SMB2 if the async echo handler is activeStefan Metzmacher1-1/+2
metze
2010-03-22s3:smbd: disable SMB encryption when the echo handler is activeStefan Metzmacher1-0/+10
metze
2010-03-22s3:smbd: disallow readbraw and writebraw if the echo handler is activeStefan Metzmacher1-0/+17
metze
2010-03-22s3:smbd: disable sendfile if the echo handler is activeStefan Metzmacher1-0/+4
metze
2010-03-22s3:smbd: don't use recvfile if the echo handler is activeStefan Metzmacher1-1/+2
metze
2010-03-22s3:smbd: setup a shared memory area for the signing stateStefan Metzmacher1-0/+80
metze
2010-03-22s3:smbd: add echo handler information to struct smbd_server_connectionStefan Metzmacher2-0/+22
metze
2010-03-22s3:param: add "async smb echo handler" optionStefan Metzmacher2-0/+12
This will enable an extra forked process that will reply to SMBecho requests, while the main process is blocked by another request. metze
2010-03-22s3:smbd: pass down trusted_channel via receive_smb_talloc()Stefan Metzmacher1-3/+5
metze
2010-03-22s3:smbd: let reply_readbraw_error use the locked socketStefan Metzmacher1-0/+11
metze
2010-03-22s3:smbd: send keepalive packets under the socket lockStefan Metzmacher1-1/+16
metze
2010-03-22s3:smbd: smbd_[un]lock_socket() while accessing the socket to the clientStefan Metzmacher1-1/+24
metze
2010-03-22s3:smbd: add smbd_[un]lock_socket() dummiesStefan Metzmacher2-0/+13
metze
2010-03-22s3:smbd: add an option to skip signings checks srv_check_sign_mac for ↵Stefan Metzmacher3-3/+25
trusted channels metze
2010-03-22s3:libsmb: add a smb_signing_init_ex() functionStefan Metzmacher2-8/+56
Make it possible to overload memory handling functions. metze
2010-03-22lib/util: add allocate_anonymous_shared()Stefan Metzmacher2-0/+33
metze
2010-03-22s3: Fix a bad memleak in winbindVolker Lendecke1-1/+2
2010-03-22s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"Matthias Dieter Wallnöfer1-4/+4
No need to create additional references but we need to assign the strings to the right context.
2010-03-22s4:registry - "patchfile" - check if strings could be allocatedMatthias Dieter Wallnöfer1-0/+10
2010-03-22s4:registry - "patchfile" - initialise the data blobsMatthias Dieter Wallnöfer1-2/+2
2010-03-22s4:registry - "patchfile" - add more "talloc_free"s to save memoryMatthias Dieter Wallnöfer1-5/+30
2010-03-22s4:registry - "util.c" - "reg_string_to_val" - consider always the return valuesMatthias Dieter Wallnöfer1-7/+9
In some cases we didn't consider them.
2010-03-22s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usageMatthias Dieter Wallnöfer1-4/+26
Free always the unused stuff.
2010-03-22s4:registry - "patchfile_dotreg.c" - fix a memory leakMatthias Dieter Wallnöfer1-3/+5
Here we allocate memory on the "NULL" context through "reg_val_data_string" on each call of "set_value". So when we have written out the allocated data on the specified file descriptor we should immediately free this memory! Otherwise we may end up with a big memory consumption on big registry databases.
2010-03-22s4:registry - "patchfile" - add commentsMatthias Dieter Wallnöfer1-0/+6
Helps to understand when we need to generate the hive diffs.
2010-03-22s3: Add "log writeable files on exit" parameterVolker Lendecke4-0/+61
This boolean option controls whether at exit time the server dumps a list of files with debug level 0 that were still open for write. This is an administrative aid to find the files that were potentially corrupt if the network connection died.
2010-03-22s4-selftest: fix selftest-vars script.Günther Deschner1-1/+1
Tridge, please check. Guenther
2010-03-22s4:dsdb Add a shortcut sequence number for schema reloadsAndrew Bartlett2-14/+81
This uses the ldb sequence number, in a hope to detect an unchanged schema quicker. Andrew Bartlett
2010-03-22s4:dsdb Rework schema loading and add schema reloadingAndrew Bartlett3-131/+185
This commit reworks Samba4's schema loading code to detect when it needs to reload the schema. This is done by watching the @REPLCHANGED special DN. The reload happens by means of a callback, which is only set when the schema is loaded from the ldb - not when loaded from an LDIF file or DRS. We also rework the global schema handling - instead of storing the pointer to the global schema in each ldb, we store a flag indicating that the global schema should be returned at run time. This makes it much easier to switch to a new global schema. Andrew Bartlett
2010-03-22s4:dsdb Move dsdb_save_partition_usn() to be a module helper functionAndrew Bartlett3-92/+178
This function should not traverse the module stack again, but instead run from this point. Also add a matching dsdb_module_load_partition_usn() and change repl_meta_data to match. Andrew Bartlett
2010-03-22s4:schema Expand the schema structureAndrew Bartlett2-0/+11
We now store the location of the schema in the schema, and provide hooks for a future schema reloading mechanism. Andrew Bartlett
2010-03-22s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglueAndrew Bartlett1-17/+0
2010-03-22s4:dsdb Add 'const' to some struct dsdb_schema variablesAndrew Bartlett2-9/+9
We don't currently require this, but we may move this way in future.
2010-03-22s4:dsdb Don't load the schema unconditionallyAndrew Bartlett2-3/+19
Schema loads now come at a price, so avoid doing them if we don't have to (such as when doing an @REPLCHANGED or other special DN based search). Andrew Bartlett
2010-03-22s3: file_walk_table -> files_forallVolker Lendecke3-3/+3
This is more in line with the rest of the Samba code, like connections_forall etc.
2010-03-22s3: Fix some nonempty blank linesVolker Lendecke2-7/+6
2010-03-22s4:registry - "patchfile.c" - consider also the hives in the generated diffsMatthias Dieter Wallnöfer1-0/+9
Apparently the diffs for the hives weren't generated previously.
2010-03-22s4:registry - "patchfile.c" - fix a typoMatthias Dieter Wallnöfer1-1/+1