Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-15 | s3:smbd: make sure we always have a valid talloc stackframe | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-03-15 | talloc_stack: reset stackframe pointers to NULL | Stefan Metzmacher | 1 | -0/+2 | |
This makes it easier to debug the code in future. metze | |||||
2010-03-15 | talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1] | Stefan Metzmacher | 1 | -1/+1 | |
In smbd there's a small gab between TALLOC_FREE(frame); before be call smbd_parent_loop() where we don't have a valid talloc stackframe. smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop. As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct the time header for the debug message we crash on some systems. metze | |||||
2010-03-15 | s4-smbtorture: cleanup data after enumdata{ex} consistency test. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2010-03-15 | s3-spoolss: Fix _spoolss_EnumPrinterData. | Günther Deschner | 1 | -3/+5 | |
Guenther | |||||
2010-03-15 | s4-smbtorture: when cross checking enumdata{ex} make sure to have at least ↵ | Günther Deschner | 1 | -0/+21 | |
one entry. Guenther | |||||
2010-03-15 | s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS. | Günther Deschner | 1 | -72/+59 | |
Guenther | |||||
2010-03-15 | s4:registry - rpc - don't crash when communication partner isn't available | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2010-03-15 | s4:registry - util.c - treat unsupported and binary values as the same in ↵ | Matthias Dieter Wallnöfer | 1 | -17/+5 | |
the conversion functions We don't need to provide an extra representation for all available registry types. But if we treat all unsupported types as binary we also get our tools (regtree, regshell, regdiff...) working with them in a basic manner. | |||||
2010-03-15 | s4:registry - util.c - move the "REG_NONE" case in the conversion functions ↵ | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
on top of the switch (As in the "reg_value_types" structure) | |||||
2010-03-15 | s4:registry - local testsuite - add a test for REG_QWORD | Matthias Dieter Wallnöfer | 1 | -1/+15 | |
Change also here to fixed-length HEX values output to test for the right representation. | |||||
2010-03-15 | s4:registry - fix up the output of hexadecimal values | Matthias Dieter Wallnöfer | 2 | -14/+6 | |
Use a fixed-length representation to avoid platform-specific issues. | |||||
2010-03-15 | s4:registry - add support for REG_QWORD values | Matthias Dieter Wallnöfer | 2 | -1/+82 | |
Basically the same as REG_DWORD but these are eight byte long. | |||||
2010-03-15 | s4-smbtorture: fix torture_comment in RPC-SPOOLSS. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-15 | s4:tortore/libnet: fix crash bugs because of incorrect function prototypes | Stefan Metzmacher | 6 | -26/+43 | |
metze | |||||
2010-03-14 | s4:registry - util.c - add harder checks for inputs on "reg_val_data_string" | Matthias Dieter Wallnöfer | 1 | -12/+16 | |
("NULL" result is error on most data types). | |||||
2010-03-14 | Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont ↵ | Matthias Dieter Wallnöfer | 1 | -5/+9 | |
survive)." This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd. s4 should support now also the extended "SetValue" tests. | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD ↵ | Matthias Dieter Wallnöfer | 1 | -12/+47 | |
values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechansim for storing UTF8/binary ↵ | Matthias Dieter Wallnöfer | 1 | -7/+39 | |
REG_SZ/REG_EXPAND_SZ values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - fix up a strange LDB filter | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-14 | s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value" | Matthias Dieter Wallnöfer | 1 | -3/+8 | |
Don't substitute existing data blobs with new ones and make sure, that the result objects in the data blob don't have memory dependencies of the LDB value input. | |||||
2010-03-14 | s4:registry - ldb.c - check more for possible "Out of memory" circumstances | Matthias Dieter Wallnöfer | 1 | -4/+10 | |
2010-03-14 | s4:registry - ldb.c - remove superfluous "query" variable | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-03-14 | s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value" | Matthias Dieter Wallnöfer | 1 | -17/+59 | |
Break on errors and return NULL and otherwise the message pointer. | |||||
2010-03-14 | s4:registry - ldb.c - Move the "val" structure | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
Move it into the REG_SZ/REG_EXPAND_SZ case block since it's used only there. Plus convert it from static into dynamic talloc'ed. | |||||
2010-03-14 | s3: Remove some unused #defines | Volker Lendecke | 1 | -8/+0 | |
2010-03-14 | s3: Use a switch to implement map_nt_error_from_tdb | Volker Lendecke | 1 | -30/+47 | |
First, this immediately gave me the warning that TDB_ERR_NESTING was not covered and second, this saved 48 bytes in the .o :-) | |||||
2010-03-14 | s3: Remove some unused code | Volker Lendecke | 2 | -24/+0 | |
2010-03-14 | s3: Fix some nonempty blank lines | Volker Lendecke | 5 | -30/+27 | |
2010-03-14 | Reintroduce "s4:provision Improve the handling of provision errors"" | Matthias Dieter Wallnöfer | 1 | -18/+23 | |
This mainly reverts commit f0bc02d74c16bc013e9fdab46ef271cf45873453. Jelmer pointed out a way how we can achieve the same error handling with an older syntax also on Python 2.4+. | |||||
2010-03-13 | s3: Convert unexpected.tdb to use tdb_wrap_open | Volker Lendecke | 1 | -10/+12 | |
2010-03-13 | s3: Make tdb_wrap_open more robust | Volker Lendecke | 2 | -43/+87 | |
This hides the use of talloc_reference from the caller, making it impossible to wrongly call talloc_free() on the result. | |||||
2010-03-13 | NSS:winbind_struct_protocol.h - fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-13 | Revert "s4:provision Improve the handling of provision errors" | Matthias Dieter Wallnöfer | 1 | -25/+18 | |
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193. Andrew, this is not Python 2.4+ compatible | |||||
2010-03-13 | s4:torture/rpc/spoolss.c: fix compiler warnings | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2010-03-13 | s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: send even more random data in extended winreg SetValue test. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: fix build and handle in spoolss test. | Günther Deschner | 1 | -1/+1 | |
it's friday night... Guenther | |||||
2010-03-13 | s3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx(). | Günther Deschner | 1 | -64/+40 | |
This removes some dependencies to registry code. Guenther | |||||
2010-03-13 | s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency ↵ | Günther Deschner | 1 | -0/+89 | |
test. Guenther | |||||
2010-03-13 | s4-smbtorture: refactor spoolss EnumPrinterData test. | Günther Deschner | 1 | -39/+76 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: refactor SetPrinterData() calls a little more. | Günther Deschner | 1 | -129/+179 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: re-arrange spoolss_SetPrinterData() tests. | Günther Deschner | 1 | -26/+41 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2). | Günther Deschner | 1 | -2/+10 | |
Guenther | |||||
2010-03-12 | Missed a couple more uses of conn->server_info->ptok that need to be ↵ | Jeremy Allison | 3 | -30/+36 | |
get_current_nttok(conn) Centralize the root check into smb1_file_se_access_check() so this is used by modules/vfs_acl_common.c also. Jeremy. | |||||
2010-03-12 | Remove more uses of "extern struct current_user current_user;". | Jeremy Allison | 10 | -79/+130 | |
Use accessor functions to get to this value. Tidies up much of the user context code. Volker, please look at the changes in smbd/uid.c to familiarize yourself with these changes as I think they make the logic in there cleaner. Cause smbd/posix_acls.c code to look at current user context, not stored context on the conn struct - allows correct use of these function calls under a become_root()/unbecome_root() pair. Jeremy. | |||||
2010-03-12 | s4:provision.py - small output improvement | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-12 | s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-12 | s3: Add "net registry increment" | Volker Lendecke | 1 | -0/+105 | |
A convenience function to increment a DWORD value under a (cluster-wide) lock | |||||
2010-03-12 | s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -56/+58 | |
metze |