Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-06 | s4:libregistry - change counters to be "unsigned" | Matthias Dieter Wallnöfer | 10 | -40/+41 | |
Also the s4 registry library has to have "unsigned" counters like the Windows one. | |||||
2010-03-06 | LDB:tools - change counters to be unsigned | Matthias Dieter Wallnöfer | 6 | -32/+38 | |
In most cases we do count LDB objects which are enumerated within the "unsigned" type. Therefore no need to use "signed" counters. | |||||
2010-03-06 | s4:lsa RPC - fix up "gendb_*" result codes | Matthias Dieter Wallnöfer | 2 | -33/+34 | |
Make the resultcodes consistent: that means: result < 0 -> NT_STATUS_INTERNAL_DB_CORRUPTION since our DB had a critical error result >= 0 -> depends on the function usage. I tried to let the logic always as it was before. | |||||
2010-03-06 | s4:lsa RPC - Change some counters to be "unsigned" where needed | Matthias Dieter Wallnöfer | 2 | -21/+24 | |
The "count" size specifiers I typed "uint32_t" since they're often returned as an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they count till a limit of a "gendb*" call or "unsigned" if they count directly the number of objects. | |||||
2010-03-06 | s4:samr RPC - Change some counters to be "unsigned" where needed | Matthias Dieter Wallnöfer | 1 | -9/+14 | |
The "count" size specifiers I typed "uint32_t" since they're often returned as an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they count till a limit of a "gendb*" call or "unsigned" if they count directly the number of objects. | |||||
2010-03-06 | s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warnings | Kamen Mazdrashki | 1 | -0/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-05 | s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes. | Günther Deschner | 1 | -3/+4 | |
Guenther | |||||
2010-03-05 | s4:drsuapi RPC - Change also here counters to "unsigned" | Matthias Dieter Wallnöfer | 3 | -7/+8 | |
No need to have "signed" counters at those places. | |||||
2010-03-05 | s4:dsdb/util - Change also here counters to "unsigned" | Matthias Dieter Wallnöfer | 1 | -13/+16 | |
No need to have "signed" counters at those places. | |||||
2010-03-05 | s4:repl - change also here the counter variables to "unsigned" | Matthias Dieter Wallnöfer | 3 | -7/+8 | |
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type. | |||||
2010-03-05 | s4:wrepl_server - change also here the counter variables to "unsigned" | Matthias Dieter Wallnöfer | 3 | -6/+6 | |
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type. | |||||
2010-03-05 | s4-spoolss: fix dcesrv_spoolss_GetPrinterData build. | Günther Deschner | 1 | -1/+1 | |
really not my day today... Guenther | |||||
2010-03-05 | s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry... | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-05 | s4-smbtorture: when checking PrinterData matrix, include winreg cross ↵ | Günther Deschner | 1 | -2/+179 | |
reference checks. Guenther | |||||
2010-03-05 | s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix. | Günther Deschner | 1 | -3/+4 | |
Guenther | |||||
2010-03-05 | s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests. | Günther Deschner | 1 | -10/+1 | |
Guenther | |||||
2010-03-05 | s4-smbtorture: remove check for selfmade parsing artefact. | Günther Deschner | 1 | -8/+1 | |
We were checking against a phenomenon that we created ourselves at the pidl layer... Guenther | |||||
2010-03-05 | s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes. | Günther Deschner | 1 | -49/+37 | |
Guenther | |||||
2010-03-05 | s4-spoolss: fix spoolss_GetPrinterData implementation after IDL change. | Günther Deschner | 2 | -44/+75 | |
Guenther | |||||
2010-03-05 | s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes. | Günther Deschner | 1 | -18/+28 | |
Guenther | |||||
2010-03-05 | s4:dcesrv_samr_AddAliasMember - wrap a long "DEBUG" statement | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2010-03-05 | s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_req | Stefan Metzmacher | 2 | -37/+97 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: convert wrepl_connect_send to tevent_req | Stefan Metzmacher | 2 | -80/+104 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: convert wrepl_associate_send to tevent_req | Stefan Metzmacher | 2 | -45/+111 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_req | Stefan Metzmacher | 2 | -48/+111 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_req | Stefan Metzmacher | 2 | -72/+156 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: use UTIL_TEVENT | Stefan Metzmacher | 2 | -1/+2 | |
metze | |||||
2010-03-05 | s4:libcli/wrepl: avoid neested named structures | Stefan Metzmacher | 1 | -15/+19 | |
metze | |||||
2010-03-05 | s4:torture/nbt: avoid the usage of wrepl_pull_table_send() | Stefan Metzmacher | 1 | -3/+6 | |
metze | |||||
2010-03-05 | s4:kcc - Change some counter variables to be unsigned | Matthias Dieter Wallnöfer | 2 | -4/+5 | |
The upper limits are unsigned variables therefore also the counter variables need to be like that. | |||||
2010-03-05 | s4:samdb_privilege.c - Change two counter variables to unsigned | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
Also here in both cases the unsigned counter fits better than the signed one. | |||||
2010-03-05 | s4:cracknames - Change two counter variables to unsigned | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
In both cases the unsigned counter fits better: - in the first one since we are counting LDB objects starting from 0 - in the second since we are counting an array starting from 0 | |||||
2010-03-05 | s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORY | Andrew Tridgell | 1 | -4/+22 | |
2010-03-05 | s4-pvfs_sys: talloc_free should be before errno restore | Andrew Tridgell | 1 | -13/+13 | |
talloc can potentially change the errno | |||||
2010-03-05 | s4-pvfs: use pvfs_sys_fchmod() | Andrew Tridgell | 3 | -4/+4 | |
2010-03-05 | s4-pvfs: set default for perm override based on system features | Andrew Tridgell | 1 | -1/+9 | |
If the system has O_NOFOLLOW and O_DIRECTORY then we allow for overrides by default. If not, then we disable by default, as we will be more vulnerable to symlink attacks | |||||
2010-03-05 | s4-pvfs: use O_FOLLOW one level at a time for security overrides | Andrew Tridgell | 1 | -37/+357 | |
To prevent symlink attacks we need to use O_NOFOLLOW one level at a time when processing a root security override | |||||
2010-03-05 | s4-pvfs: use pvfs_sys_*() functions to wrap posix calls | Andrew Tridgell | 5 | -20/+20 | |
This allows for root override, which fixes many problems with mismatches between NT ACL permissions and unix permissions. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-05 | s4-pvfs: new pvfs_sys module | Andrew Tridgell | 2 | -0/+301 | |
The pvfs_sys_*() calls provide wrapper functions for posix file functions which use root privileges to override EACCES failures if PVFS_FLAG_PERM_OVERRIDE is set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-05 | s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDE | Andrew Tridgell | 2 | -0/+4 | |
This flag indicates that we should use root privileges to override unix permissions when the NT ACLs indicate that access should be granted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-05 | s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-03-05 | s4:torture/rpc/samr.c - add some decision possibility constants to some switch | Matthias Dieter Wallnöfer | 1 | -0/+3 | |
At the moment nothing is done when the enumeration variable is set to one of those constants as before. This is only to quite nasty warnings. | |||||
2010-03-05 | s4:torture/rpc/samr.c - make some argument of function ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
"test_SamLogon_with_creds" constant This to quiet warnings. | |||||
2010-03-05 | s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argument | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
Otherwise always a warning is generated. | |||||
2010-03-05 | s4-pvfs: log more error conditions in NTVFS backend | Andrew Tridgell | 3 | -0/+31 | |
This should make is easier to track down some bug reports Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-03-05 | s4-pvfs: move the private ntcreatex flags to private_flags | Andrew Tridgell | 7 | -20/+21 | |
Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189 | |||||
2010-03-05 | s4-rpc: don't use s->credentials after it is freed | Andrew Tridgell | 1 | -2/+1 | |
2010-03-05 | s4-torture: fixed commas separating C statements | Andrew Tridgell | 1 | -4/+3 | |
2010-03-05 | s4-python: only install external python libs that are missing | Andrew Tridgell | 2 | -1/+19 | |
2010-03-05 | s4-python: import a copy of the python dns library | Andrew Tridgell | 114 | -0/+16829 | |
This library is not installed on enough systems for us to rely on it being available. We use the system copy if possible, and fallback to this local copy Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |