Stefan Metzmacher
507286dbcd
r11647: add smbcli_ prefix
...
metze
(This used to be commit 356e7d037cf3fc24844b2efa5071917ea03e6163)
2007-10-10 13:46:07 -05:00
Stefan Metzmacher
ca403dd4c6
r11646: fix typos
...
metze
(This used to be commit 0c520e19a0676c688341523add8a176c3aba8578)
2007-10-10 13:46:07 -05:00
Stefan Metzmacher
aecff39aac
r11644: free the buffer when it's not used
...
metze
(This used to be commit 16f2d92618a55188d260cadd144281b325cdacda)
2007-10-10 13:46:07 -05:00
Stefan Metzmacher
0b6370ea27
r11643: fix compiler warnings
...
metze
(This used to be commit 913d5356eb04d0fd02c36052b5cb6a2a5646473a)
2007-10-10 13:46:07 -05:00
Stefan Metzmacher
f0c7fca780
r11642: add some error checks
...
metze
(This used to be commit 9d6406d8daeff0a9bde72ce7749d18fa61324e8a)
2007-10-10 13:46:05 -05:00
Stefan Metzmacher
bd7525e1b4
r11641: remove unused parameter vuid
...
metze
(This used to be commit 9399e4d260011ce59229086e39585e1e56bd79a5)
2007-10-10 13:46:05 -05:00
Stefan Metzmacher
389f9dff29
r11640: just a nicer format, and make adding more special cases easier
...
metze
(This used to be commit 5fb5d1a864d9df0ac82fca145b51fdb27406bc97)
2007-10-10 13:46:05 -05:00
Andrew Tridgell
042a9958c8
r11639: fixed some create_time tests that should be change_time tests
...
(This used to be commit c4266c7f688145a9b7da8977aff7fb972b7d0aa4)
2007-10-10 13:46:04 -05:00
Andrew Tridgell
498b2892dd
r11638: fixed handling of null volume name in RAW-QFSINFO test
...
thanks to Stephen Zarkos for finding this
(This used to be commit 8331eee64cb679c091ca46cc001ff9851eb91f0e)
2007-10-10 13:46:04 -05:00
Stefan Metzmacher
a2d2128b8a
r11637: we need a session and a tcon for ntioctl() and ntrename()
...
metze
(This used to be commit 3389544c2b14a044aed4a6d0ff966c0a2d92a61a)
2007-10-10 13:46:03 -05:00
Andrew Tridgell
872b821fca
r11636: a bit neater solution to the nt_cancel problem
...
(This used to be commit ba7864b07eebecd4d4eb2ce515412a49964ae179)
2007-10-10 13:46:03 -05:00
Stefan Metzmacher
7118df6df0
r11635: fix a handling of packet_send in the smb client lib
...
this was cause of the PANIC on the build farm on metze01
as we use req->out.buffer from the old request in the smb_raw_ntcancel()
and send a 0 TID, that causes our server code to crash
(a fix for the server code will follow)
metze
(This used to be commit 97cd824e44b03178706b108c7a78753faf412e8f)
2007-10-10 13:46:03 -05:00
Stefan Metzmacher
62346e2b65
r11634: - make crc table static
...
- const uint8_t * in all places
- update header prototype
metze
(This used to be commit 91dfa4c28d280aff8dbf46cf1e174b5b317ba322)
2007-10-10 13:46:03 -05:00
Tim Potter
2c8dcf4177
r11633: Fix some more warnings.
...
(This used to be commit 89039683db4f2f492b292b32e2dd783e977ae165)
2007-10-10 13:46:02 -05:00
Andrew Tridgell
4c9ba2ffa1
r11632: removed 2 unused functions
...
(This used to be commit fa904afed93a350dd0dcd3cddc1521a4a1ad6711)
2007-10-10 13:46:02 -05:00
Andrew Tridgell
64525309e3
r11631: fixed a signed/unsigned warning
...
(This used to be commit 86d08d3ec5cfa36e048042563a56aca79c87a5bb)
2007-10-10 13:46:02 -05:00
Andrew Tridgell
1aa141dbd5
r11630: another fix for over-reading in the packet code. This time get the
...
sign of the comparison right :-)
(This used to be commit 7e40077aa793e29b5770aae2e07e964239e8249b)
2007-10-10 13:46:02 -05:00
Andrew Tridgell
78422169b2
r11629: fixed a bug found with the socket:testnonblock code. With randomised
...
under-reads we could end up supplying a buffer to the client that has
an incorrect length
(This used to be commit 9c95015b9cccc10a5ba1facd4b48c0fff34e9588)
2007-10-10 13:46:01 -05:00
Andrew Tridgell
6481a752a2
r11628: fixed a valgrind error in the rpc echo test
...
(This used to be commit d340ea7906c091a1400d3e73a8f530174aa8a965)
2007-10-10 13:46:01 -05:00
Andrew Tridgell
79b3a3afb5
r11627: give the caller much more control over the stream to packet process,
...
allowing it to specify the initial read size (thus preventing
over-reading) and to stop the recv process when needed. This is used
by the dcerpc socket code, which relies on not getting packets when it
isn't ready for them
(This used to be commit f869fd674ec4b148dc9a264e94d19ce79d35131d)
2007-10-10 13:46:01 -05:00
Tim Potter
0eeedb97a5
r11626: Fix unhandled enum in case statement warnings by noting appropriately
...
that some values aren't handled. The remaining warnings I think are
actual bugs or required functionality that is missing (mostly lack of
server side Unix extensions).
(This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
2007-10-10 13:46:01 -05:00
Tim Potter
16a9bfd33f
r11625: NULL terminate list of strings. For some reason this wasn't causing a
...
crash on i386 but was on ia64.
(This used to be commit 12c77bb2e17ef3cb3264da86852832dffb5474c1)
2007-10-10 13:46:00 -05:00
Tim Potter
a7f37f0930
r11624: Use enum names instead of magic numbers.
...
(This used to be commit f177c223e6b881a65ed49ceacf9106e42d2a7d0a)
2007-10-10 13:46:00 -05:00
Andrew Tridgell
f3d66f310f
r11623: convert the dcerpc socket layer to the generic packet code
...
(This used to be commit 4ea66e6e80de0d70b53bf9cd16c1dfd1c400f57e)
2007-10-10 13:46:00 -05:00
Andrew Tridgell
f59c61d413
r11622: convert the ldap server to the generic packet code
...
(This used to be commit 6ef4ba0c81002c9960dc5fe4fbfd0622957d492a)
2007-10-10 13:46:00 -05:00
Andrew Tridgell
b8f4d22ab5
r11621: some minor fixes from comments by metze
...
(This used to be commit 6ab808223475ba7c52dbe4d639af9a8e7f64b202)
2007-10-10 13:45:59 -05:00
Andrew Tridgell
65baaafc34
r11620: switch the ldap client code over to using the generic packet code
...
(This used to be commit 1d29ad2a27d89454e5e3c4a3cf05cc5edde0208c)
2007-10-10 13:45:59 -05:00
Andrew Tridgell
5d5b462bbb
r11619: use the 32 bit length helper in the kdc.
...
(This used to be commit 24f20eed0e242aab76ce8f0f8db7266ddc9ec97b)
2007-10-10 13:45:59 -05:00
Andrew Tridgell
a9d0bf8045
r11618: added a generic '32 bit length prefix' full packet helper to the packet code
...
(This used to be commit b4dbe55105cc2807a17d7e5bf8db9756cc526a3b)
2007-10-10 13:45:59 -05:00
Jeremy Allison
a684ff80b0
r11616: Replace old crc32 code with one from the FreeBSD tree.
...
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
* code or tables extracted from it, as desired without restriction.
Jeremy.
(This used to be commit d42644927d46154c6366f3a7d10bea09989ed813)
2007-10-10 13:45:58 -05:00
Stefan Metzmacher
70e9e843cb
r11611: don't use unions without a instance name, not all compilers support that...
...
fix the build with cc on IRIX 6.5 us4
tridge: we should post this to the appweb maintainers, also with my
hex constant fix from a few weeks ago!
metze
(This used to be commit 5cc44994fb17211009e68f941e3db56acf0ca236)
2007-10-10 13:45:58 -05:00
Andrew Tridgell
ac842774e4
r11609: fixed handling of one way requests with new send code
...
(This used to be commit d2b568a1114015839ca59c6f32bde4b06ea81ef9)
2007-10-10 13:45:58 -05:00
Andrew Tridgell
549b6dfdba
r11608: switched the kdc to use the generic packet send code
...
(This used to be commit 2cbcc8a919a5164bd57143ffc778f49011b9eee6)
2007-10-10 13:45:58 -05:00
Andrew Tridgell
5c620048e3
r11607: switched the smb server to use the generic packet send code
...
(This used to be commit 9eee7bafa12553a894536db8ce5cc2d268e09ae6)
2007-10-10 13:45:58 -05:00
Andrew Tridgell
dce04d193e
r11606: use the generic packet send code in libcli/raw/
...
(This used to be commit 0bcea45b15b08cb42d7f6fbbb3a25f73b95f362c)
2007-10-10 13:45:57 -05:00
Andrew Tridgell
fc5a11829d
r11605: added handling of the send queue to the generic packet handling code
...
(This used to be commit f98d499b2ef93cf2d060acafbc424754add322a8)
2007-10-10 13:45:57 -05:00
Andrew Tridgell
188a75b4a0
r11604: converted the kdc code to use the new packet lib. Andrew, I'm not sure
...
how to test this, can you have a look and see if it works for you? Is
there some hidden switch to kinit to use tcp?
(This used to be commit 0a797712fb9b11996ce035a77907000130b6f616)
2007-10-10 13:45:57 -05:00
Andrew Tridgell
7e963eb6e7
r11603: converted the smb server to use the new generic packet code
...
(This used to be commit 0fc496bb6f520ddf6d85cc2f3df80f93b871cfe9)
2007-10-10 13:45:57 -05:00
Andrew Tridgell
a3fcb93df1
r11602: added packet_set_serialise() to allow the generic packet layer to
...
handle optional request serialisation (this is something that is
commonly needed on stream connections)
(This used to be commit d860eb795693d8c292eec2a639ece4793d28dc38)
2007-10-10 13:45:57 -05:00
Stefan Metzmacher
1fb2397913
r11601: try to fix the build on IRIX 6.5 us4
...
abartlet, tridge, lha: is there a better way?
metze
(This used to be commit b2b4969bdcdd85b1093d91184ff10eff9f74e550)
2007-10-10 13:45:57 -05:00
Stefan Metzmacher
b4bc46feb9
r11600: remove unused code
...
metze
(This used to be commit 06ccbc3fa99dc6396b2fe46adb51ef42431669eb)
2007-10-10 13:45:56 -05:00
Stefan Metzmacher
5b28800103
r11599: remove local (and broken) version of strhaslower() strhasupper()
...
metze
(This used to be commit 35e17abb8763e4d90725d007fefa76965260c124)
2007-10-10 13:45:56 -05:00
Andrew Tridgell
177a098731
r11598: fixed strhaslower() and strhasupper() to not falsely recognise
...
caseless characters as lower/upper
(This used to be commit 74fb317f2acf7a5963f37c0cd9e21a34d7da2f4f)
2007-10-10 13:45:56 -05:00
Simo Sorce
56415ccacb
r11597: revert a commit by mistake
...
(This used to be commit 09e6f494b490127ace1a9d1077c2757d813abc55)
2007-10-10 13:45:56 -05:00
Andrew Tridgell
1c07c25322
r11596: switched the libcli/raw/ code over to using the lib/stream/ generic
...
packet parsing code. This simplifies the logic in the raw client
library a fair bit
(This used to be commit f8d43f1f67876360e1295d85a3c3702d1d60ed7b)
2007-10-10 13:45:56 -05:00
Andrew Tridgell
8752e38c05
r11595: added a helper layer to parse streams into individual packets. This is
...
something that Andrew Bartlett has been asking for for a while, and
when I started having to re-invent this packet parsing code yet again
for SMB2 I decided it was time to do it generically
you use it by providing a "is this a full packet yet?" helper function
to the packet_*() functions, which then handle all the logic of
partial packet buffering.
This also goes to great lengths to operate efficiently, minimising the
number of recv system calls.
(This used to be commit e6c47b954a6f09c53ea419800ce873295fcd0be9)
2007-10-10 13:45:55 -05:00
Andrew Tridgell
f613e18d1e
r11594: ensure ldb_search() sets *res to NULL on failure (some of the updated
...
ldb_result code coud rely on that)
(This used to be commit cd567bcb24125827c746c1c0902631b0e7c2cea5)
2007-10-10 13:45:55 -05:00
Andrew Tridgell
7659107738
r11593: added a data_blob_realloc() function
...
(This used to be commit e04262d391d81f863256a9fe69a2884fbce641af)
2007-10-10 13:45:55 -05:00
Andrew Tridgell
9a52d1a467
r11592: fixed a crash bug from the ldb_result changes (res was being used after being freed)
...
(This used to be commit 5c7f3fef3e2324f0d1edda0f0f06f662bbcf7e08)
2007-10-10 13:45:55 -05:00
Rafal Szczesniak
8aae0d3d63
r11588: Remove unused (at the moment) variable and quiet compiler warning.
...
rafal
(This used to be commit 90db7f13bc0df0a276dc736d2f9439616cb3b2f7)
2007-10-10 13:45:55 -05:00