Jelmer Vernooij
fa23b09567
r15809: Fix typo in array offsets. Caught by the IBM checker.
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
673e101b07
r15808: Fix two uninitialized variables, caught by the IBM Checker.
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
2b65c490e4
r15807: Fix incorrect initialization. Very nice catch by the IBM Checker.
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
2e1ce01899
r15806: Remove some unnecessary nesting making the function harder to read.
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
cef5cc6464
r15805: Fix incompatible type assignment. Caught by the IBM checker.
2007-10-10 14:08:25 -05:00
Simo Sorce
2e9a840bb9
r15804: Fix SAMLOGON test
2007-10-10 14:08:25 -05:00
Stefan Metzmacher
aa98aad097
r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of NT_STATUS_INVALID_HANDLE
...
metze
2007-10-10 14:08:25 -05:00
Stefan Metzmacher
2ea15e9d28
r15802: merge tridge's fix to the SMB2 server
...
metze
2007-10-10 14:08:24 -05:00
Andrew Tridgell
09a9c7fdff
r15799: fixed the problem with BASE-DISCONNECT after the recent memory leak
...
was fixed
2007-10-10 14:08:22 -05:00
Andrew Tridgell
dea82fa615
r15798: shortcut the lookup of "localhost" in the ipv6 backend
2007-10-10 14:08:21 -05:00
Andrew Tridgell
2ebcfcc6da
r15797: fixed a notify bug, where a notify_remove() is beyond the current max
...
depth
2007-10-10 14:08:21 -05:00
Andrew Tridgell
2e105a32c7
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.
2007-10-10 14:08:21 -05:00
Simo Sorce
8b2a563e71
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.
2007-10-10 14:08:21 -05:00
Andrew Tridgell
1a57b16715
r15794: fixed a problem with DOS status codes - found by kukks (thanks!)
2007-10-10 14:08:21 -05:00
Simo Sorce
977982c884
r15789: hmm, damn, testing uncovcer all your bugs :-)
2007-10-10 14:08:20 -05:00
Simo Sorce
efb7e39e51
r15788: Do not crash when no result is returned
2007-10-10 14:08:20 -05:00
Simo Sorce
43d9bfeb22
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
2007-10-10 14:08:20 -05:00
Simo Sorce
202ce2a947
r15786: another fix in rdn_name
2007-10-10 14:08:20 -05:00
Rafal Szczesniak
857993bfe4
r15785: Change the test names according to changes made in libnet torture test.
...
rafal
2007-10-10 14:08:20 -05:00
Rafal Szczesniak
e64084a39d
r15784: Redesign of NET-API-RPCCONNECT tests to cover more cases of usage.
...
Right now, each level of libnet_RpcConnect can be tested with
correct and incorrect credentials (testing against expected nt
status). Various transports can be tested on NET-API-RPCCONN-BIND
test which does testing on explicitly passed binding string.
Tested services include LSA, SAMR, SRVSVC at the moment.
rafal
2007-10-10 14:08:19 -05:00
Simo Sorce
36537100db
r15783: Fix previous commit, was the wrong way to deal with the problem
2007-10-10 14:08:19 -05:00
Simo Sorce
3c9434e264
r15782: More fixes for async cases
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
a7c9ec69b2
r15780: Fix indentation of deferred code ( fixed #3739 )
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
b44a8c32d3
r15779: Remove keepref from atsvc and efs.
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
030272e79b
r15778: Fix bug printing ref pointers.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
3fb9f07a75
r15777: Fix unresolved symbols in shared library build.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
bdc6dd3750
r15776: Don't generate ref pointers in Samba4-generated code. There is no point
...
in having pointers for outgoing data when you can already modify the top-level
element.
This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
2007-10-10 14:08:18 -05:00
Stefan Metzmacher
4e8c9bbd76
r15775: add some privilege related WERROR codes
...
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
98f58d710a
r15774: take care of the SYSTEM_SECURITY flag
...
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
e1635ce5c0
r15773: - implement srvsvc_NetGetFileSecurity() and srvsvc_NetSetFileSecurity()
...
- we do this by just creating a ntvfs_context (this doesn't need and smbsrv_* stuff :-)
and then call ntvfs_qpathinfo() and ntvfs_setpathinfo()
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
fb1debf219
r15772: pass the messaging context and server_id to the dcerpc server subsystem
...
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
fdfa6dcc97
r15771: this should be a o32s32 blob
...
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
c7e8e79d75
r15770: when there's a dynamic body, we need to send the first byte even if the
...
dynamic size if 0
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
9c4c40772b
r15769: this functions belong to params/ so move it.
...
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
dfd07e6f89
r15768: make it possible that the caller of the ntvfs_subsystem doesn't
...
provide handle callbacks
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
98890052fe
r15767: we need to free here
...
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
dbcb144dec
r15766: fix parsing of srvsvc_NetGetFileSecurity() and srvsvc_NetSetFileSecurity()
...
metze
2007-10-10 14:08:16 -05:00
Simo Sorce
bf260f2a84
r15762: It make no sense for rdn_name to implement modify, it will need to implement rename ...
2007-10-10 14:08:15 -05:00
Simo Sorce
099d873ea5
r15761: Fix-as-you-go ...
...
Testing various async paths and uncovering bugs
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
d0ac0c5af4
r15760: - add RAW_READ_SMB2 => generic mapping
...
- Implement SMB2 Read
metze
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
05ced31cb9
r15759: samba4 currently only supports read sizes up to with UINT16_MAX
...
metze
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
41d87ebe35
r15758: - handle RAW_FLUSH_SMB2 in the posix ntvfs backend
...
- Implement SMB2 Flush
metze
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
5ab6f304f8
r15757: - add RAW_WRITE_SMB2 => generic mapping
...
- implement SMB2 Write
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
8aebd7adc9
r15756: handle RAW_OPEN_SMB2
...
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
41bc3cfc82
r15754: - implement SMB2 Close
...
- add RAW_CLOSE_SMB2 generic mapping
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
65b67a8af6
r15753: implement SMB2 Create
...
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
d26144f957
r15752: - add generic mapping for RAW_OPEN_SMB2
...
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
6c304a1a5f
r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in the smb2srv code
...
metze
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
0e23d2a45a
r15750: don't clear after setting
...
metze
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
338aee88d4
r15749: - pass in a dummy oplock callback
...
- pass in SMB2 ntvfs_handle callbacks
metze
2007-10-10 14:08:13 -05:00