1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

50156 Commits

Author SHA1 Message Date
Jelmer Vernooij
0898b96d26 Reprocess LDB SWIG file. 2008-12-19 23:48:30 +01:00
Volker Lendecke
9915045a45 Add a torture test simulating Windows write behaviour
Jeremy, enjoy :-)
2008-12-19 23:44:41 +01:00
Volker Lendecke
32a7ecf5ce Make smbclient "put" use cli_push
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-19 23:33:55 +01:00
Jelmer Vernooij
89043bda3e Depend on specific version of LDB, as the API seems to unstable
to predict that newer versions (even minor versions) are going to be be
backwards compatible :-(
2008-12-19 23:33:43 +01:00
Volker Lendecke
9f31468bd3 Add async cli_write_andx and cli_pull 2008-12-19 23:16:25 +01:00
Jeremy Allison
6eda98dd13 Fix bug #5986 - Editing a stream is broken (rename problems).
Jeremy.
2008-12-19 13:59:12 -08:00
Jelmer Vernooij
071a71e27f Specify explicit path to tevent.h, compilation breaks without it for me. 2008-12-19 22:03:11 +01:00
Jelmer Vernooij
5076c64d43 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-19 21:47:45 +01:00
Jelmer Vernooij
6998ef4fe0 Avoid use of parentheses in Python import statements, as it's not supported by Python2.3. 2008-12-19 21:47:31 +01:00
Volker Lendecke
ae1d6020f0 Fix setting smb_len for huge write&x calls 2008-12-19 18:15:30 +01:00
Volker Lendecke
fa5f11279b Add the cli_wct_ofs routine to calculate the offset for write&x 2008-12-19 18:12:44 +01:00
Volker Lendecke
ae0c6cff25 Remove the direct inbuf reference from construct_reply_common() 2008-12-19 18:08:47 +01:00
Volker Lendecke
13eefa7c43 Add a doxygen comment line I forgot to merge 2008-12-19 17:50:34 +01:00
Volker Lendecke
1f04d07db0 Convert cli_request->outbuf to uint8_t 2008-12-19 17:47:30 +01:00
Jelmer Vernooij
04bef7fe2a Fix more tests. 2008-12-19 16:08:35 +00:00
Volker Lendecke
398ef0fb85 For large smbwrite&x, we need more than 64k bcc 2008-12-19 16:13:27 +01:00
Volker Lendecke
98c4055bcb Add some comments
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-19 16:13:26 +01:00
Simo Sorce
af049ae83c s4:cosmetic: Remove trailing tabs and spaces 2008-12-19 09:58:28 -05:00
Matthias Dieter Wallnöfer
dde0964d72 Small cosmetic LDB patch regarding return values.
It changes some "return 0" in "return LDB_SUCCESS"
2008-12-19 09:54:20 -05:00
Volker Lendecke
45ad3df140 Fix the padding calculation in smb_splice_chain for "bytes_padding!=0" 2008-12-19 14:53:29 +01:00
Volker Lendecke
4abdd3981e Pass "bytes_alignment" up through cli_request_send
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-19 14:53:29 +01:00
Jelmer Vernooij
7f4e4df58d Port over more functionality to new SWIGless Python module. 2008-12-19 13:41:44 +00:00
Björn Jacke
1aff97bc48 correct the description of the "ldap timeout" parameter 2008-12-19 14:23:11 +01:00
Volker Lendecke
2504d78c82 Fix a "ignoring function call result" warning 2008-12-19 13:57:32 +01:00
Volker Lendecke
2fe7d5936a Prefer network writes over reads
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-19 13:46:52 +01:00
Volker Lendecke
3c6d070595 Move some bytes from data to text, make use of the ARRAY_SIZE macro
Probably pointless, but it doesn't add complexity and it is fun to see bss and
data shrink :-)
2008-12-19 13:38:54 +01:00
Volker Lendecke
42e407b300 Factor out cli_write_max_bufsize 2008-12-19 13:34:26 +01:00
Volker Lendecke
7c3497ef5e Remove two write-only variables
If someone wants those stats, please don't use globals :-)
2008-12-19 13:18:57 +01:00
Jelmer Vernooij
263036a798 Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry 2008-12-19 12:03:17 +00:00
Volker Lendecke
f87da49830 Make cli_negprot async 2008-12-19 10:50:52 +01:00
Volker Lendecke
bb8ca0fdbf Make cli_negprot return NTSTATUS instead of bool 2008-12-19 10:28:30 +01:00
Volker Lendecke
96a3d7be31 cli_negprot_send -> cli_negprot_sendsync 2008-12-19 10:28:20 +01:00
Jelmer Vernooij
e0672ae29b Remove swig support from standalone ldb build. 2008-12-19 01:24:00 +00:00
Jelmer Vernooij
a57b1aa0f1 Initial work using manual Python bindings for LDB, rather than SWIG-generated ones. 2008-12-19 01:22:07 +00:00
Andrew Bartlett
cbddddb6cd Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel 2008-12-19 11:01:25 +11:00
Sreepathi Pai
43f232fcc9 Fix errors in MS-AD_Schema_Attributes_v20080618.txt
- 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-19 10:56:09 +11:00
Stefan (metze) Metzmacher
a937a68826 Here's the prefixMap from w2k8.
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-19 10:55:56 +11:00
Jeremy Allison
4283ae489b Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-12-18 15:40:05 -08:00
Jeremy Allison
f9bb8fbe83 Comment out the parent inheritance code (this is incorrect) as was
done for POSIX ACLs.
Jeremy.
2008-12-18 15:38:28 -08:00
Tim Prouty
d031472227 s4: Fix include path to work with tevent 2008-12-18 15:03:37 -08:00
Andrew Bartlett
f52fc2f90e Move aggregate schema stub to it's own file
This should make it easier to import just the schema entries from the
WSPP docs.

Andrew Bartlett
2008-12-19 09:51:42 +11:00
Jeremy Allison
6f9e7505b2 Fix bug #5980 - Race condition when granting level2 oplocks can cause break notify to be missed.
Jeremy.
2008-12-18 13:27:42 -08:00
Andrew Bartlett
ff98d7f9ce Fix failures setting a random password
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-19 08:18:57 +11:00
Jelmer Vernooij
21702bfcde Cope with slight changes in tdb API. 2008-12-18 20:43:05 +00:00
Jelmer Vernooij
6fe6983e4c Make sure to not close tdb database more than once. 2008-12-18 20:42:50 +00:00
Jelmer Vernooij
8c1ede0b32 Remove swig use from tdb standalone build. 2008-12-18 19:49:53 +00:00
Jelmer Vernooij
2da551bbcc Implement missing functions in pytdb. 2008-12-18 19:41:02 +00:00
Jelmer Vernooij
2a61fd41e9 Add simple manually written replacement for the tdb module. 2008-12-18 18:57:21 +00:00
Jelmer Vernooij
7f148a2cf8 Fix Python event tests after rename to tevent. 2008-12-18 16:51:59 +00:00
Jelmer Vernooij
01c22153a9 Fix samba3sam test after removal of dom_sid IDL file. 2008-12-18 16:50:54 +00:00