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
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
79af05551f
r15747: move some functions to the protocol independend part of the
...
smb server
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
0be887c7c6
r15745: - reorder the elements of smbsrv_request
...
- move the SMB specific elements to the end
metze
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
92c19b1ba4
r15744: convert_string_talloc() handles src_len == 0 as error
...
but it's valid in this case
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
9180635317
r15741: move smb2 request structures into the main smb request structs
...
as new levels
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
b9ba2b8c5a
r15740: add TODO, that we should check if the server supports
...
large offsets, before sending large offset requests
metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
fc20e4154a
r15739: return False when the function is called with an invalid level
...
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
5114cab662
r15738: make the code more readable
...
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
1f50b2e053
r15737: fix a typos and comment
...
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
287fc1c22d
r15734: This is a major change to the NTVFS subsystem:
...
- to use a struct ntvfs_handle instead of a uint16_t fnum.
(to make it independend from the frontend protocol)
- the allocation of handles now is provided by the frontend
(smbsrv_*) via callbacks and not by each backend module
- this also makes sure that file handles are only passed
to the ntvfs subsystem when the tcon and session matches,
so modules can rely on this and need to check this.
- this allows multiple modules in the ntvfs module chain
to allocate file handles. This can be used for virtual
files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"...
- also this will make SMB2 with 128 bit file handles possible
metze
2007-10-10 14:08:10 -05:00
Andrew Tridgell
c6d20c2245
r15731: module init functions should return NTSTATUS, not void
2007-10-10 14:08:10 -05:00
Rafal Szczesniak
2ab8343e99
r15726: Comments and a couple of minor formattings in the code.
...
rafal
2007-10-10 14:08:09 -05:00
Simo Sorce
b7d5f23257
r15725: First shot at making password_hash async
...
The async path is not yet enabled by default so it should make no harm
2007-10-10 14:08:09 -05:00
Jim McDonough
d28f49fc6d
r15719: Fix build on systems (AIX) that don't have vsyslog or strcasestr, with
...
--enable-developer on. syslog() and toupper() required more includes.
Someone more familiar with samba4 builds should verify this, please.
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
95bf41b4d4
r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
...
metze
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
69e7a45474
r15716: disable the cifs_posix ntvfs backend as it will not be updated
...
with coming ntvfs subsystem changes
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
a3799771c8
r15715: add my copyright
...
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
0ac9a49f42
r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the reply
...
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
6725cbf9e2
r15713: - initialize ntioctl.in.max_data and ntioctl.in.blob
...
- use define instead of hex value
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
a870c084f6
r15711: - make use of nttrans_setup_reply()
...
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
6a0c24c73e
r15710: - we no longer need to set the nttrans out fields to zero
...
in the backends
- some whitespace cleanups
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
b21d98a875
r15709: - return an error is better than ignoring a non supported request
...
- zero nttrans output fields before calling the backends
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
6bc89b422c
r15708: setup count is 8bit and param_count and data_count are 32bit
...
metze
2007-10-10 14:08:07 -05:00
Volker Lendecke
cc9634d586
r15706: This is a very specific test that helps me in making sure I don't screw up too
...
badly in getting rid of set_saved_ntstatus in Samba3. If this is not the
appropriate place to put it, please tell me.
Volker
2007-10-10 14:08:07 -05:00
Jelmer Vernooij
26442023d1
r15702: Fix typo
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
2a9e55fafc
r15694: for the cifs backend it's desired that we pull and repush
...
the packets with our parsing code for the most stuff.
So make cifs:maptrans2=yes the default.
metze
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
09aeb387a0
r15693: fix the logic for the "cifs:map_trans2" parameter
...
we need to return NOT_IMPLEMENTED when mapping is desired
metze
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
620cc182b3
r15690: - disable the lock cancel test against samba3
...
- disable the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT test against samba3
metze
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
ecd13b2fd2
r15689: dummy commit
...
metze
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
0d983fa46f
r15688: windows sends 4 as max_setup count on NT IOCTL
...
metze
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
856656739c
r15685: let samba3 pass RAW-READ and ignore one bug
...
this demonstrates how the target:samba3=yes option
passed in samba3's make test can be used in samba4's smbtorture
metze
2007-10-10 14:08:05 -05:00
Stefan Metzmacher
c567d92f5b
r15684: fix option passing
...
metze
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
b751eb1102
r15667: Make sure the rpc pipe pointers are zeroed during
...
initialisation of libnet_context.
This fixes a valgrind warning.
rafal
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
dc93aef09a
r15666: Fix a silly typo.
...
rafal
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
9bb5415929
r15665: ejsnet test should be better now, after changes in delete
...
user routine.
rafal
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
7b5ebf9392
r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.
...
Only the sync version right now.
rafal
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
89e9a88719
r15663: Turn libnet_DeleteUser into async function and fix subtle bug probably
...
causing ejsnet test to segfault. Also, cleanup a bit and add monitor
fn pointer to internal user delete libnet function.
Time for some comments now.
rafal
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
2c9db94291
r15661: add NT_STATUS_OBJECTID_NOT_FOUND
...
metze
2007-10-10 14:08:04 -05:00
Jelmer Vernooij
dece573d47
r15659: Implement opening a key by name (significant better performance
...
in some situations). Patch by Wilco Baan Hofman.
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
3cab02f6f5
r15656: for NT IOCTL's we need to control the max_data field for some calls
...
metze
2007-10-10 14:08:04 -05:00
Jelmer Vernooij
fadb9529ec
r15653: Remove idl_types.h include where possible. Remove
...
types from .h file that are now in pidls' aliases list.
2007-10-10 14:08:03 -05:00
Jelmer Vernooij
3e89ef0875
r15652: Fix aliases mechanism ( fixes #3710 )
2007-10-10 14:08:03 -05:00