Andrew Tridgell
92acfc0799
r15855: more talloc_set_destructor() typesafe fixes. nearly done ...
...
(This used to be commit 396d82a231
)
2007-10-10 14:08:33 -05:00
Andrew Tridgell
971d30bb20
r15854: more talloc_set_destructor() typesafe fixes
...
(This used to be commit 61c6100617
)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
cdc64c448d
r15853: started the process of removing the warnings now that
...
talloc_set_destructor() is type safe. The end result will be lots less
use of void*, and less calls to talloc_get_type()
(This used to be commit 6b4c085b86
)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
a665cccd2e
r15852: patch from Rusty to make talloc_set_destructor() and talloc_steal()
...
type safe. This only works on recent gcc versions. With other
compilers it reverts to a non-typesafe cast
The patch also ensures that talloc_free() does not change error on
systems where free() can change errno
(This used to be commit babbff5f77
)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
574daba795
r15851: the conversion of loadparm to BOOL broke all big-endian platforms as
...
the service and global declarations were left as int. I tried to fix
this initially by fixing the service declarations, but it didn't
work. While I investigate why, this patch at least gets the use of int
right, and should give big-endian platforms a chance
(This used to be commit e12ae809ea
)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
3372344ade
r15850: another spot where r->out.error_string can be uninitialied
...
(This used to be commit 4898b29c32
)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
6e0511f3ee
r15849: ensure we don't try to talloc_steal() an invalid error_string in
...
r->out on error
(This used to be commit 1d1d2aaeae
)
2007-10-10 14:08:31 -05:00
Simo Sorce
71152824ef
r15847: We probably want to keep the global init
...
(This used to be commit 35df457fe6
)
2007-10-10 14:08:31 -05:00
Simo Sorce
f1655e0298
r15846: An async version of ldbsearch
...
(This used to be commit 2c1af6556a
)
2007-10-10 14:08:31 -05:00
Volker Lendecke
61bd876065
r15836: Test an invalid DOS share mode.
...
Volker
(This used to be commit 0369d59142
)
2007-10-10 14:08:31 -05:00
Andrew Tridgell
0b56e916a7
r15835: fixed locking in the client library
...
(This used to be commit 7ea51fb624
)
2007-10-10 14:08:31 -05:00
Andrew Tridgell
e5e9bcd398
r15834: fixed a memory leak in the session code
...
(This used to be commit 8a7047c102
)
2007-10-10 14:08:30 -05:00
Andrew Tridgell
d8223e4b94
r15833: fixed two delete on close memory leaks
...
(This used to be commit f3274e8f78
)
2007-10-10 14:08:30 -05:00
Andrew Tridgell
0f881ff069
r15832: put a talloc leak report in the log file at the end of each test run
...
(This used to be commit 16c67e135a
)
2007-10-10 14:08:30 -05:00
Andrew Tridgell
47e7f45751
r15831: fixed a memory leak in the netlogon server
...
(This used to be commit c4425f8988
)
2007-10-10 14:08:30 -05:00
Andrew Tridgell
8d130005a1
r15830: fixed two kdc memory leaks
...
(This used to be commit cc290ece92
)
2007-10-10 14:08:30 -05:00
Stefan Metzmacher
97d489b21c
r15829: we need to include socket.h before we can use enum socket_type
...
this fixes a compiler warning
metze
(This used to be commit dbf82fff10
)
2007-10-10 14:08:29 -05:00
Andrew Tridgell
0db0de6190
r15828: a talloc steal optimisation spotted by metze
...
(This used to be commit e00ff9f35e
)
2007-10-10 14:08:29 -05:00
Andrew Tridgell
03e7d37461
r15827: fixed a spelling error
...
(This used to be commit 801357af2e
)
2007-10-10 14:08:29 -05:00
Andrew Tridgell
507e502c35
r15826: ensure we don't dereference sec when NULL
...
(This used to be commit b6bf6b17cd
)
2007-10-10 14:08:28 -05:00
Andrew Tridgell
ae034247ef
r15825: there are quite subtle semantics with change notify events being sent
...
when a context (such as a tree connect) is destroyed. The behaviour
was changed by the ntvfs memory leak fix, and this patch is needed to
make it all work again.
(This used to be commit a7ad4df7cd
)
2007-10-10 14:08:28 -05:00
Andrew Tridgell
5da75f5c36
r15824: fixed a subtle talloc bug to do with memory context loops. When you
...
have a structure that references one of its parents, and a parent of
that parent is freed, then the whole structure should be freed, not
just the reference.
this was found by the change notify code, as a side effect of fixing
the memory leak yesterday
(This used to be commit 70531dcaee
)
2007-10-10 14:08:28 -05:00
Jelmer Vernooij
495652fe24
r15821: Fix static library build.
...
(This used to be commit d9d8f93af1
)
2007-10-10 14:08:28 -05:00
Stefan Metzmacher
e982523bc0
r15820: this line was just for testing
...
metze
(This used to be commit 1a9bfa2ac9
)
2007-10-10 14:08:28 -05:00
Jelmer Vernooij
4099637512
r15819: Use updated API in smbtorture, use UI tools in registry tests.
...
(This used to be commit 4c452090fb
)
2007-10-10 14:08:27 -05:00
Jelmer Vernooij
f76eafe7d7
r15818: Improve UI utilities: allow format strings and add some convenience macros.
...
(This used to be commit f0a4547b76
)
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
20532d7c49
r15816: add SMB2-LOCK torture test, which demonstrates what possible valid and invalid
...
requests you can do with it
metze
(This used to be commit adef1372c1
)
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
a2f463bb3a
r15815: add SMB2 Lock client code
...
metze
(This used to be commit 4a307d7185
)
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
d9bdfb0a07
r15814: add SMB2 Lock interface structure
...
metze
(This used to be commit 8f1850ef65
)
2007-10-10 14:08:27 -05:00
Jelmer Vernooij
3553a24dfe
r15813: Use labs() rather than abs() for 32-bit integers. Caught by the IBM checker.
...
(This used to be commit 6e37084965
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
f3bf3dd80a
r15812: Explicitly cast to unsigned int.
...
(This used to be commit c910a3f9c8
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
23776d243d
r15811: Fix mget command without arguments. Caught by the IBM Checker.
...
(This used to be commit c77fd9f515
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
ab5cbd8813
r15810: Fix uninitialized variable error, caught by the IBM checker.
...
(This used to be commit 1354333fd1
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
a26f1f12b3
r15809: Fix typo in array offsets. Caught by the IBM checker.
...
(This used to be commit fa23b09567
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
3bd0802272
r15808: Fix two uninitialized variables, caught by the IBM Checker.
...
(This used to be commit 673e101b07
)
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
029cf10ff8
r15807: Fix incorrect initialization. Very nice catch by the IBM Checker.
...
(This used to be commit 2b65c490e4
)
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
73da6bf6da
r15806: Remove some unnecessary nesting making the function harder to read.
...
(This used to be commit 2e1ce01899
)
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
c82c88dccb
r15805: Fix incompatible type assignment. Caught by the IBM checker.
...
(This used to be commit cef5cc6464
)
2007-10-10 14:08:25 -05:00
Simo Sorce
d6aaca599b
r15804: Fix SAMLOGON test
...
(This used to be commit 2e9a840bb9
)
2007-10-10 14:08:25 -05:00
Stefan Metzmacher
184c28844d
r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of NT_STATUS_INVALID_HANDLE
...
metze
(This used to be commit aa98aad097
)
2007-10-10 14:08:25 -05:00
Stefan Metzmacher
c51dfa7926
r15802: merge tridge's fix to the SMB2 server
...
metze
(This used to be commit 2ea15e9d28
)
2007-10-10 14:08:24 -05:00
Andrew Tridgell
f6c9fbbc50
r15799: fixed the problem with BASE-DISCONNECT after the recent memory leak
...
was fixed
(This used to be commit 09a9c7fdff
)
2007-10-10 14:08:22 -05:00
Andrew Tridgell
fd51a5c5bd
r15798: shortcut the lookup of "localhost" in the ipv6 backend
...
(This used to be commit dea82fa615
)
2007-10-10 14:08:21 -05:00
Andrew Tridgell
225d6485eb
r15797: fixed a notify bug, where a notify_remove() is beyond the current max
...
depth
(This used to be commit 2ebcfcc6da
)
2007-10-10 14:08:21 -05:00
Andrew Tridgell
00e772d747
r15796: this talloc_reference() was causing a memory leak on every NTVFS
...
request. The problem is that the talloc_free() in
smbsrv_send_reply_nosign() frees this reference, but doesn't free the
memory iself, thus leaving it attached to the connection context.
Metze, what was the idea behind this reference? If we need it, then we
need a corresponding talloc_free() to go with it.
(This used to be commit 2e105a32c7
)
2007-10-10 14:08:21 -05:00
Simo Sorce
8081e4f402
r15795: Try to use the async code by default
...
It passess all my tests, but I still need to work on a lot of stuff.
Shouldn't impact anybody else work, so I want to commit now and see what happens
Will work to remove the old code from modules and backends soon, and make some
more restyling in ldb internals.
So, if there is something you don't like in this desgin please speak now.
Simo.
(This used to be commit 8b2a563e71
)
2007-10-10 14:08:21 -05:00
Andrew Tridgell
79183f68fc
r15794: fixed a problem with DOS status codes - found by kukks (thanks!)
...
(This used to be commit 1a57b16715
)
2007-10-10 14:08:21 -05:00
Simo Sorce
d51f4fb2c7
r15789: hmm, damn, testing uncovcer all your bugs :-)
...
(This used to be commit 977982c884
)
2007-10-10 14:08:20 -05:00
Simo Sorce
efa3803335
r15788: Do not crash when no result is returned
...
(This used to be commit efb7e39e51
)
2007-10-10 14:08:20 -05:00
Simo Sorce
f376b6c386
r15787: NET-API-CREATEUSER was crashing for me because of this uninitialized value...
...
now it still does not work (auth failure ?!) but at least it does not crash
(This used to be commit 43d9bfeb22
)
2007-10-10 14:08:20 -05:00