summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-07s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher2-29/+30
metze
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher3-53/+144
metze
2010-03-07s4:libcli/wrepl: rename enum wrepl_request_state => enum ↵Stefan Metzmacher1-2/+2
wrepl_request_internal_state metze
2010-03-07s4:libcli/wrepl: move wrepl_request_send/recv => ↵Stefan Metzmacher1-6/+20
wrepl_request_internal_send/recv metze
2010-03-07s4:torture/nbt: use wrepl_associate_stop() instead of build the request by handStefan Metzmacher1-9/+4
metze
2010-03-07s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed ↵Stefan Metzmacher1-2/+1
by wrepl_request_recv() metze
2010-03-07s4:libcli/wrepl: add my copyrightStefan Metzmacher2-0/+2
metze
2010-03-06s4:lib/registry/ldb.c - fix trailing whitespacesMatthias Dieter Wallnöfer1-6/+6
2010-03-06s4:registry library - fix up "reg_ldb_set_value"Matthias Dieter Wallnöfer1-9/+23
The previous logic was wrong since it tried to add empty data in some cases which always ended in an error. This problem should be fixed with the new logic.
2010-03-06s4:registry library - make "reg_ldb_pack/unpack_value" more robustMatthias Dieter Wallnöfer1-28/+35
This to prevent segmentation faults, wrong server inputs ecc.
2010-03-06s4:provision.reg - call us Windows 2008 from the current version point of viewMatthias Dieter Wallnöfer1-1/+1
2010-03-06s4:libregistry - change counters to be "unsigned"Matthias Dieter Wallnöfer10-40/+41
Also the s4 registry library has to have "unsigned" counters like the Windows one.
2010-03-06s3: Fix the build of net_afs.c with --fake-kaserver=yes, bug 7216Volker Lendecke1-1/+1
Thanks to Geza Gemes <geza@kzsdabas.hu> for filing this bug
2010-03-06LDB:tools - change counters to be unsignedMatthias Dieter Wallnöfer6-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-06s4:lsa RPC - fix up "gendb_*" result codesMatthias Dieter Wallnöfer2-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-06s4:lsa RPC - Change some counters to be "unsigned" where neededMatthias Dieter Wallnöfer2-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-06s4:samr RPC - Change some counters to be "unsigned" where neededMatthias Dieter Wallnöfer1-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-05Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison21-47/+129
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy.
2010-03-06s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warningsKamen Mazdrashki1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s3: re-run make samba3-idl.Günther Deschner4-20/+20
Guenther
2010-03-05winreg: fix winreg_QueryValue IDL.Günther Deschner1-1/+1
Note that before this change pidl generated code that just dereferenced size_is and length_is values from unique pointers without checking whether these pointers were actually NULL. With this change, pidl now throws a warning like: warning: Got pointer for `data_size', expected fully derefenced variable which is not correct, probably because pidl does not evaluate the C expression. Guenther
2010-03-05s3-rpcclient: Leave setprinterdata directly if not enough args were passed.Andreas Schneider1-2/+1
If we don't pass enough arguments we don't have to close the connection. Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s3-rpc_server: Document rpc_pipe_open_internal.Andreas Schneider1-1/+27
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.Günther Deschner1-3/+4
Guenther
2010-03-05s4:drsuapi RPC - Change also here counters to "unsigned"Matthias Dieter Wallnöfer3-7/+8
No need to have "signed" counters at those places.
2010-03-05s4:dsdb/util - Change also here counters to "unsigned"Matthias Dieter Wallnöfer1-13/+16
No need to have "signed" counters at those places.
2010-03-05s4:repl - change also here the counter variables to "unsigned"Matthias Dieter Wallnöfer3-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-05s4:wrepl_server - change also here the counter variables to "unsigned"Matthias Dieter Wallnöfer3-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-05s3: Make "smbcontrol xx debuglevel" print the correct cluster pidVolker Lendecke1-2/+6
2010-03-05s4-spoolss: fix dcesrv_spoolss_GetPrinterData build.Günther Deschner1-1/+1
really not my day today... Guenther
2010-03-05s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...Günther Deschner1-1/+1
Guenther
2010-03-05s3: Remove the unused parameter "persistent" from fetch_locked_internalVolker Lendecke1-8/+2
2010-03-05s3: db->persistent==true was handled earlier, make this more obviousVolker Lendecke1-1/+1
2010-03-05s4-smbtorture: when checking PrinterData matrix, include winreg cross ↵Günther Deschner1-2/+179
reference checks. Guenther
2010-03-05s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.Günther Deschner1-3/+4
Guenther
2010-03-05s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.Günther Deschner1-10/+1
Guenther
2010-03-05s4-smbtorture: remove check for selfmade parsing artefact.Günther Deschner1-8/+1
We were checking against a phenomenon that we created ourselves at the pidl layer... Guenther
2010-03-05s3-libads: fix get_remote_printer_publishing_data after ↵Günther Deschner1-26/+14
spoolss_EnumPrinterDataEx IDL change. Guenther
2010-03-05s3-spoolss: fix _spoolss_EnumPrinterDataEx after idlGünther Deschner1-11/+2
Guenther
2010-03-05s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.Günther Deschner1-5/+4
Guenther
2010-03-05s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.Günther Deschner1-9/+2
Guenther
2010-03-05s3: re-run make samba3-idl.Günther Deschner2-39/+56
Guenther
2010-03-05spoolss: fix spoolss_EnumPrinterDataEx IDL.Günther Deschner1-2/+2
Guenther
2010-03-05s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.Günther Deschner1-49/+37
Guenther
2010-03-05s4-spoolss: fix spoolss_GetPrinterData implementation after IDL change.Günther Deschner2-44/+75
Guenther
2010-03-05s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.Günther Deschner3-20/+53
Guenther
2010-03-05s3-spoolss: fix _spoolss_GetPrinterDataEx after IDL change.Günther Deschner1-11/+27
Guenther
2010-03-05s3: re-run make samba3-idl.Günther Deschner6-201/+50
Guenther
2010-03-05spoolss: rollback GetPrinterData[Ex] IDL.Günther Deschner3-238/+4
Guenther
2010-03-05s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.Günther Deschner1-18/+28
Guenther