Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-22 | s3:smbd: setup a shared memory area for the signing state | Stefan Metzmacher | 1 | -0/+80 | |
metze | |||||
2010-03-22 | s3:smbd: add echo handler information to struct smbd_server_connection | Stefan Metzmacher | 2 | -0/+22 | |
metze | |||||
2010-03-22 | s3:param: add "async smb echo handler" option | Stefan Metzmacher | 2 | -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-22 | s3:smbd: pass down trusted_channel via receive_smb_talloc() | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2010-03-22 | s3:smbd: let reply_readbraw_error use the locked socket | Stefan Metzmacher | 1 | -0/+11 | |
metze | |||||
2010-03-22 | s3:smbd: send keepalive packets under the socket lock | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2010-03-22 | s3:smbd: smbd_[un]lock_socket() while accessing the socket to the client | Stefan Metzmacher | 1 | -1/+24 | |
metze | |||||
2010-03-22 | s3:smbd: add smbd_[un]lock_socket() dummies | Stefan Metzmacher | 2 | -0/+13 | |
metze | |||||
2010-03-22 | s3:smbd: add an option to skip signings checks srv_check_sign_mac for ↵ | Stefan Metzmacher | 3 | -3/+25 | |
trusted channels metze | |||||
2010-03-22 | s3:libsmb: add a smb_signing_init_ex() function | Stefan Metzmacher | 2 | -8/+56 | |
Make it possible to overload memory handling functions. metze | |||||
2010-03-22 | lib/util: add allocate_anonymous_shared() | Stefan Metzmacher | 2 | -0/+33 | |
metze | |||||
2010-03-22 | s3: Fix a bad memleak in winbind | Volker Lendecke | 1 | -1/+2 | |
2010-03-22 | s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference" | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
No need to create additional references but we need to assign the strings to the right context. | |||||
2010-03-22 | s4:registry - "patchfile" - check if strings could be allocated | Matthias Dieter Wallnöfer | 1 | -0/+10 | |
2010-03-22 | s4:registry - "patchfile" - initialise the data blobs | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-03-22 | s4:registry - "patchfile" - add more "talloc_free"s to save memory | Matthias Dieter Wallnöfer | 1 | -5/+30 | |
2010-03-22 | s4:registry - "util.c" - "reg_string_to_val" - consider always the return values | Matthias Dieter Wallnöfer | 1 | -7/+9 | |
In some cases we didn't consider them. | |||||
2010-03-22 | s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usage | Matthias Dieter Wallnöfer | 1 | -4/+26 | |
Free always the unused stuff. | |||||
2010-03-22 | s4:registry - "patchfile_dotreg.c" - fix a memory leak | Matthias Dieter Wallnöfer | 1 | -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-22 | s4:registry - "patchfile" - add comments | Matthias Dieter Wallnöfer | 1 | -0/+6 | |
Helps to understand when we need to generate the hive diffs. | |||||
2010-03-22 | s3: Add "log writeable files on exit" parameter | Volker Lendecke | 4 | -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-22 | s4-selftest: fix selftest-vars script. | Günther Deschner | 1 | -1/+1 | |
Tridge, please check. Guenther | |||||
2010-03-22 | s4:dsdb Add a shortcut sequence number for schema reloads | Andrew Bartlett | 2 | -14/+81 | |
This uses the ldb sequence number, in a hope to detect an unchanged schema quicker. Andrew Bartlett | |||||
2010-03-22 | s4:dsdb Rework schema loading and add schema reloading | Andrew Bartlett | 3 | -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-22 | s4:dsdb Move dsdb_save_partition_usn() to be a module helper function | Andrew Bartlett | 3 | -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-22 | s4:schema Expand the schema structure | Andrew Bartlett | 2 | -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-22 | s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglue | Andrew Bartlett | 1 | -17/+0 | |
2010-03-22 | s4:dsdb Add 'const' to some struct dsdb_schema variables | Andrew Bartlett | 2 | -9/+9 | |
We don't currently require this, but we may move this way in future. | |||||
2010-03-22 | s4:dsdb Don't load the schema unconditionally | Andrew Bartlett | 2 | -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-22 | s3: file_walk_table -> files_forall | Volker Lendecke | 3 | -3/+3 | |
This is more in line with the rest of the Samba code, like connections_forall etc. | |||||
2010-03-22 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -7/+6 | |
2010-03-22 | s4:registry - "patchfile.c" - consider also the hives in the generated diffs | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
Apparently the diffs for the hives weren't generated previously. | |||||
2010-03-22 | s4:registry - "patchfile.c" - fix a typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-21 | s4:regtree - fix counter variables to be "unsigned" | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
2010-03-21 | s4:registry - "LDB backend" - "reg_ldb_unpack_value" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
When the name isn't found it is the default value. Call it "" to be consistent. | |||||
2010-03-21 | s4:registry - "LDB backend" - "reg_key_get_info" | Matthias Dieter Wallnöfer | 1 | -2/+29 | |
Consider also the default value (if it exists) as value. That means: - count it when setting "num_values" - take also his buffer length as a candidate for the maximum value buffer length This is what Windows does. | |||||
2010-03-21 | s4:registry - "LDB backend" - "ldb_get_default_value" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
There exist also key objects (the hives) which don't contain a "key" entry at all. This prevented to display their default value (my fault). | |||||
2010-03-21 | s4:registry - "LDB backend" - make the key argument "const" of ↵ | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
ldb_get_default_value | |||||
2010-03-21 | s4:registry - "LDB backend" - fix indentation | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-03-21 | Fix an uninitialized variable | Volker Lendecke | 1 | -0/+4 | |
2010-03-21 | s3: Fix bug 7202 for multi-threaded applications | Volker Lendecke | 1 | -0/+1 | |
Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good feedback! Volker | |||||
2010-03-21 | Use TALLOC_FREE in talloc_pop() | Volker Lendecke | 1 | -2/+1 | |
2010-03-21 | Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create() | Volker Lendecke | 1 | -7/+5 | |
2010-03-21 | Trim an overlong line | Volker Lendecke | 1 | -2/+2 | |
2010-03-21 | s4:regshell - here we don't need a newline - "ctime" itself provides one | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-21 | s4:regshell - don't return an error code if we get a security descriptors error | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
s4 itself doesn't support them so print only the error code out (in s4's case WERR_NOT_SUPPORTED). | |||||
2010-03-21 | s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value ↵ | Matthias Dieter Wallnöfer | 1 | -8/+8 | |
length Those lengths are measured in UTF8 string lengths and not in UTF16 ones (the returned strings are generally in this format). Discovered this by checking the s3 registry code. Therefore we have to multiply the both numbers by two. Discovered with the "regedt32" (old NT registry editor). | |||||
2010-03-21 | s4:WINREG RPC server - don't check for the "name" size in "EnumValue" | Matthias Dieter Wallnöfer | 1 | -5/+0 | |
This isn't needed at all since: 1.) a new name object is created and sent back to the client 2.) the "size" seems to be the size of the "name" pointer. On my test with the "regedt32" program this has always been "4". | |||||
2010-03-21 | s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4 | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
Should be definitely fixed now. | |||||
2010-03-21 | s4:WINREG RPC - we support only non-volatile keys | Matthias Dieter Wallnöfer | 1 | -0/+5 | |