summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:LDB TDB index code - reintroduce accidentally removed code partMatthias Dieter Wallnöfer2010-03-081-1/+3
| | | | This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry.
* s4:ldb_ldap.c - fix indentationMatthias Dieter Wallnöfer2010-03-081-1/+1
|
* LDB:TDB backend - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-085-16/+19
|
* LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-8/+10
|
* LDB:LDAP backend - change a counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-081-1/+1
|
* LDB:map - make LDB "signed-safe" on counter variables where appropriateMatthias Dieter Wallnöfer2010-03-083-21/+28
|
* s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better hereMatthias Dieter Wallnöfer2010-03-081-1/+1
|
* s4-gensec: Fixed wrong usage of error_string.Andreas Schneider2010-03-081-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:extended_dn_out LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-8/+11
| | | | appropriate
* s4:repl_meta_data LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-20/+24
| | | | | | | | | | | appropriate I used "unsigned int" counters where we count LDB objects (LDB specification prescribes to use "unsigned" index variables). But on DSDB replication object counters I used "uint32_t" typed variables as it is suggested. If a counter variable counts both types of objects I used "unsigned int" since size(unsigned int) >= size(uint32_t), but on most platforms equal.
* s4:local_password LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-4/+4
| | | | appropriate
* s4:ranged_results LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-2/+2
| | | | appropriate
* s4:objectguid LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-1/+1
| | | | appropriate
* s4:objectclass LDB module - change counter variabls to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-2/+2
| | | | appropriate
* s4:anr LDB module - change counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-071-1/+1
|
* s4:acl LDB module - change counter variable to "unsigned"Matthias Dieter Wallnöfer2010-03-071-1/+1
|
* s4:linked_attributes LDB module - change counter variables to "unsigned" ↵Matthias Dieter Wallnöfer2010-03-071-3/+5
| | | | where appropriate
* s4:kludge_acl LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-5/+10
| | | | appropriate
* s4:proxy LDB module - Change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-071-5/+6
| | | | Use "size_t" when counting string index positions.
* s4:schema_data LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-3/+6
| | | | appropriate
* s4:resolve_oids LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-071-5/+5
| | | | appropriate
* s4:rootdse LDB module - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-071-9/+10
|
* s4:partition LDB module - change counter variables to "unsigned" where ↵Matthias Dieter Wallnöfer2010-03-072-17/+26
| | | | appropriate
* s4:schema - Change also here counters to "unsigned" where neededMatthias Dieter Wallnöfer2010-03-077-26/+27
| | | | | | Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there.
* s4:schema_syntax.c - Change also here counters to "unsigned" where neededMatthias Dieter Wallnöfer2010-03-071-44/+44
| | | | | | | | | | | Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there. There were many counter variables typed "uint32_t". This isn't fully correct since those count LDB objects. The amount is saved in a "num_*" variable which is "unsigned" without a bitlength specification. Therefore change also these counters to be plain "unsigned".
* s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher2010-03-077-537/+330
| | | | | | and tstream_context metze
* s4:wrepl_out_helpers: add a WREPLSRV_PUSH_NOTIFY_STAGE_WAIT_UPDATE stageStefan Metzmacher2010-03-071-44/+64
| | | | | | This makes the logic more consistent. metze
* s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher2010-03-072-1/+18
| | | | metze
* s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher2010-03-072-29/+30
| | | | metze
* s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher2010-03-073-53/+144
| | | | metze
* s4:libcli/wrepl: rename enum wrepl_request_state => enum ↵Stefan Metzmacher2010-03-071-2/+2
| | | | | | wrepl_request_internal_state metze
* s4:libcli/wrepl: move wrepl_request_send/recv => ↵Stefan Metzmacher2010-03-071-6/+20
| | | | | | wrepl_request_internal_send/recv metze
* s4:torture/nbt: use wrepl_associate_stop() instead of build the request by handStefan Metzmacher2010-03-071-9/+4
| | | | metze
* s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed ↵Stefan Metzmacher2010-03-071-2/+1
| | | | | | by wrepl_request_recv() metze
* s4:libcli/wrepl: add my copyrightStefan Metzmacher2010-03-072-0/+2
| | | | metze
* s4:lib/registry/ldb.c - fix trailing whitespacesMatthias Dieter Wallnöfer2010-03-061-6/+6
|
* s4:registry library - fix up "reg_ldb_set_value"Matthias Dieter Wallnöfer2010-03-061-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.
* s4:registry library - make "reg_ldb_pack/unpack_value" more robustMatthias Dieter Wallnöfer2010-03-061-28/+35
| | | | This to prevent segmentation faults, wrong server inputs ecc.
* s4:provision.reg - call us Windows 2008 from the current version point of viewMatthias Dieter Wallnöfer2010-03-061-1/+1
|
* s4:libregistry - change counters to be "unsigned"Matthias Dieter Wallnöfer2010-03-0610-40/+41
| | | | | Also the s4 registry library has to have "unsigned" counters like the Windows one.
* s3: Fix the build of net_afs.c with --fake-kaserver=yes, bug 7216Volker Lendecke2010-03-061-1/+1
| | | | Thanks to Geza Gemes <geza@kzsdabas.hu> for filing this bug
* LDB:tools - change counters to be unsignedMatthias Dieter Wallnöfer2010-03-066-32/+38
| | | | | In most cases we do count LDB objects which are enumerated within the "unsigned" type. Therefore no need to use "signed" counters.
* s4:lsa RPC - fix up "gendb_*" result codesMatthias Dieter Wallnöfer2010-03-062-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.
* s4:lsa RPC - Change some counters to be "unsigned" where neededMatthias Dieter Wallnöfer2010-03-062-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.
* s4:samr RPC - Change some counters to be "unsigned" where neededMatthias Dieter Wallnöfer2010-03-061-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.
* Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison2010-03-0521-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.
* s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warningsKamen Mazdrashki2010-03-061-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: re-run make samba3-idl.Günther Deschner2010-03-054-20/+20
| | | | Guenther
* winreg: fix winreg_QueryValue IDL.Günther Deschner2010-03-051-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
* s3-rpcclient: Leave setprinterdata directly if not enough args were passed.Andreas Schneider2010-03-051-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>