Stefan Metzmacher
3f8ce6d680
r16410: remove some warnings of talloc_steal() usage without target
...
I only commit this as this is used in a global macro
tridge: we should try to get rid of this warning without using
(void)talloc_steal(ctx, ptr);
everywhere!!!
metze
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
c4755c83c6
r16407: add parsing code the SMB2 GetInfo in the server
...
metze
2007-10-10 14:09:13 -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
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
d0ac0c5af4
r15760: - add RAW_READ_SMB2 => generic mapping
...
- Implement SMB2 Read
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
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
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
338aee88d4
r15749: - pass in a dummy oplock callback
...
- pass in SMB2 ntvfs_handle callbacks
metze
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
4ae4a742fc
r15748: - implement SMB2 TreeConnect server code
...
TODO: pass in oplock and handle callbacks, but as we don't do file access
yet, it's no problem to skip them
metze
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
7d2087bd1b
r15746: - reorder elements of smb2srv_request
...
- move SMB2 specific elements to the end
metze
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
012a08cfb9
r15743: use union smb_tcon
...
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
de7e856a46
r15742: use union smb_sessetup
...
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
297868325f
r15535: fix the build
...
metze
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
6c920d21a1
r15533: with this vista does a fine SMB2 TreeConnect against samba4
...
metze
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
7829100e1e
r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
...
also if the dynamic flag should be set
metze
2007-10-10 14:05:54 -05:00
Jelmer Vernooij
c0ab0f4ed4
r15314: Fix recursive dependency hack for static libs. Should fix the build
...
on most systems.
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
f0afe9e2ff
r15313: Fix some dependencies in dso mode
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
3ef9326386
r15304: Fix smbd build, more updates on getting --enable-dso to build again
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
0654739166
r15301: Use static libraries internally. This required a few hacks in the build
...
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9
r15191: Avoid uint_t as it's not standard.
2007-10-10 14:04:15 -05:00
Stefan Metzmacher
2c87f210e9
r14739: keep the last request time for the smbsrv_connection,
...
smbsrv_session and smbsrv_tcon for management tools
metze
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
5709c1c4e1
r14456: don't access the smbsrv_tcon inside the ntvfs modules
...
metze
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
1a16a6f1df
r14380: Reduce the size of structs.h
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
2c74698032
r13960: Generate makefile rules for installing/removing shared modules.
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
d1bae931b3
r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
...
- the default max protocol is still NT1
metze
2007-10-10 13:52:17 -05:00
Stefan Metzmacher
f2e97983f2
r12725: some minor updates
...
metze
2007-10-10 13:49:45 -05:00
Jelmer Vernooij
6391761601
r12696: Reduce the size of include/structs.h
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
70e7449318
r12608: Remove some unused #include lines.
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
0aca5fd513
r12542: Move some more prototypes out to seperate headers
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
b24f2583ed
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
15973be48e
r12113: in SMB2 we should only allocate a new session
...
when the client sends UID = 0, otherwise we return
NT_STATUS_USER_SESSION_DELETED
metze
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
4d527ac005
r12102: for SMB2 we need to allocate tcons per session
...
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
40b301c6bd
r12095: the most SMB2 opcodes need a valid session and tcon,
...
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
cb9ddf7997
r12094: - implement dummy smb2srv_tcon()
...
- implement smb2srv_tdis()
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
1506be37db
r12093: add missing file
...
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
859ab627f4
r12092: - add dummy functions for the missing SMB2 opcodes
...
- implement keepalive and logoff
metze
2007-10-10 13:47:08 -05:00
Tim Potter
d479f2d760
r11968: More warning fixes. We're on track to getting to double digits for
...
the number of warnings generated now.
2007-10-10 13:46:52 -05:00
Stefan Metzmacher
08b31d5f61
r11789: - add the start of a SMB2 server
...
- it does Negprot and SessionSetup yet
the rest returns NT_STATUS_NOT_IMPLEMENTED
- it's off by default, enable with:
smbsrv:enable smb2 = yes
- negotition in the SMB Negprot isn't supported yet
- it's only tested with smbtorture SMB2-CONNECT
not with vista as client
metze
2007-10-10 13:46:28 -05:00