summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-20Don't trust sscanf not to run off the end of the stringAndrew Bartlett1-14/+35
The memory allocations here are wasteful, but they do nicely ensure we cannot walk off the end of the DATA_BLOB that might be a string, or might be binary and might not be NULL terminated. Andrew Bartlett
2008-12-20Now store the GUID and SID from a DN over DRSUAPI into ldb.Andrew Bartlett4-43/+162
Until the extended DN work was compleated, there was no way to store the additional metadata. Andrew Bartlett
2008-12-20Fix compiler warning when parsing a SID in a data blobAndrew Bartlett1-1/+1
2008-12-19Add torture test for bug #5986 - streams rename, so we don't regress.Jeremy Allison1-0/+98
Jeremy.
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij9-62/+630
2008-12-19Extend the chain1 test with write&xVolker Lendecke1-2/+21
2008-12-19Reprocess LDB SWIG file.Jelmer Vernooij1-0/+2
2008-12-19Add a torture test simulating Windows write behaviourVolker Lendecke1-1/+81
Jeremy, enjoy :-)
2008-12-19Make smbclient "put" use cli_pushVolker Lendecke1-37/+31
This should fill the TCP socket even beyond the smbclient io_bufsize, very much like smbclient "get" should do it since 3.2
2008-12-19Depend on specific version of LDB, as the API seems to unstableJelmer Vernooij1-1/+1
to predict that newer versions (even minor versions) are going to be be backwards compatible :-(
2008-12-19Add async cli_write_andx and cli_pullVolker Lendecke2-0/+425
2008-12-19Fix bug #5986 - Editing a stream is broken (rename problems).Jeremy Allison2-11/+14
Jeremy.
2008-12-19Specify explicit path to tevent.h, compilation breaks without it for me.Jelmer Vernooij1-1/+1
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij328-13073/+35514
2008-12-19Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij4-10/+8
by Python2.3.
2008-12-19Fix setting smb_len for huge write&x callsVolker Lendecke1-1/+14
2008-12-19Add the cli_wct_ofs routine to calculate the offset for write&xVolker Lendecke2-0/+33
2008-12-19Remove the direct inbuf reference from construct_reply_common()Volker Lendecke2-10/+11
2008-12-19Add a doxygen comment line I forgot to mergeVolker Lendecke1-0/+1
2008-12-19Convert cli_request->outbuf to uint8_tVolker Lendecke2-15/+17
2008-12-19For large smbwrite&x, we need more than 64k bccVolker Lendecke2-6/+6
2008-12-19Add some commentsVolker Lendecke1-0/+22
If it takes more than 10 seconds to understand the code you've written yourself less than a year ago, it's time for comments or refactoring. I couldn't find a way to refactor that cleanly, so add comments :-)
2008-12-19s4:cosmetic: Remove trailing tabs and spacesSimo Sorce1-59/+59
2008-12-19Small cosmetic LDB patch regarding return values.Matthias Dieter Wallnöfer3-7/+7
It changes some "return 0" in "return LDB_SUCCESS"
2008-12-19Fix the padding calculation in smb_splice_chain for "bytes_padding!=0"Volker Lendecke1-1/+1
2008-12-19Pass "bytes_alignment" up through cli_request_sendVolker Lendecke7-10/+14
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-19correct the description of the "ldap timeout" parameterBjörn Jacke1-3/+1
2008-12-19Fix a "ignoring function call result" warningVolker Lendecke1-1/+6
2008-12-19Prefer network writes over readsVolker Lendecke1-32/+33
If we really want to keep the pipe busy, we need to write everything we have as early as possible, giving the kernel the chance to get rid of the buffers quickly :-)
2008-12-19Move some bytes from data to text, make use of the ARRAY_SIZE macroVolker Lendecke1-2/+2
Probably pointless, but it doesn't add complexity and it is fun to see bss and data shrink :-)
2008-12-19Factor out cli_write_max_bufsizeVolker Lendecke1-25/+36
2008-12-19Remove two write-only variablesVolker Lendecke1-8/+0
If someone wants those stats, please don't use globals :-)
2008-12-19Make cli_negprot asyncVolker Lendecke2-50/+101
2008-12-19Make cli_negprot return NTSTATUS instead of boolVolker Lendecke13-42/+69
2008-12-19cli_negprot_send -> cli_negprot_sendsyncVolker Lendecke3-3/+3
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2-0/+4
2008-12-19Fix errors in MS-AD_Schema_Attributes_v20080618.txtSreepathi Pai2-36/+9
- Remove spurious line breaks - Add missing attributeId from docs - Remove incorrect multiple values of systemFlags - Fix duplicate attributeId - Fix schemaIdGuid syntax Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-19Here's the prefixMap from w2k8.Stefan (metze) Metzmacher1-2/+9
We need to move 1.3.6.1.4.1.7165.4.1 and 1.3.6.1.4.1.7165.4.2 to the end...(if we still need them, which we should avoid) metze Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-18Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison300-12780/+35123
2008-12-18Comment out the parent inheritance code (this is incorrect) as wasJeremy Allison2-0/+4
done for POSIX ACLs. Jeremy.
2008-12-18s4: Fix include path to work with teventTim Prouty1-1/+1
2008-12-19Move aggregate schema stub to it's own fileAndrew Bartlett3-3/+5
This should make it easier to import just the schema entries from the WSPP docs. Andrew Bartlett
2008-12-18Fix bug #5980 - Race condition when granting level2 oplocks can cause break ↵Jeremy Allison1-4/+27
notify to be missed. Jeremy.
2008-12-19Fix failures setting a random passwordAndrew Bartlett1-1/+1
The test in extract_pw_from_buffer was incorrect: It tested if the first byte of the new password was 0 (a 1/256 chance for the random passwords), not if the password was allocated. Andrew Bartlett
2008-12-18Cope with slight changes in tdb API.Jelmer Vernooij1-31/+46
2008-12-18Make sure to not close tdb database more than once.Jelmer Vernooij1-2/+10
2008-12-18Remove swig use from tdb standalone build.Jelmer Vernooij3-14/+5
2008-12-18Implement missing functions in pytdb.Jelmer Vernooij2-34/+66
2008-12-18Add simple manually written replacement for the tdb module.Jelmer Vernooij6-4990/+453
2008-12-18Fix Python event tests after rename to tevent.Jelmer Vernooij1-1/+1