1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

9234 Commits

Author SHA1 Message Date
Stefan Metzmacher
e941cc3003 r15772: pass the messaging context and server_id to the dcerpc server subsystem
metze
(This used to be commit fb1debf219)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
6ba94bb12f r15771: this should be a o32s32 blob
metze
(This used to be commit fdfa6dcc97)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
1911475976 r15770: when there's a dynamic body, we need to send the first byte even if the
dynamic size if 0

metze
(This used to be commit c7e8e79d75)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
e0dcbe8dd1 r15769: this functions belong to params/ so move it.
metze
(This used to be commit 9c4c40772b)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
8b4da058bc r15768: make it possible that the caller of the ntvfs_subsystem doesn't
provide handle callbacks

metze
(This used to be commit dfd07e6f89)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
017855b766 r15767: we need to free here
metze
(This used to be commit 98890052fe)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
e1cc2636d1 r15766: fix parsing of srvsvc_NetGetFileSecurity() and srvsvc_NetSetFileSecurity()
metze
(This used to be commit dbcb144dec)
2007-10-10 14:08:16 -05:00
Simo Sorce
5e3bb665ca r15762: It make no sense for rdn_name to implement modify, it will need to implement rename ...
(This used to be commit bf260f2a84)
2007-10-10 14:08:15 -05:00
Simo Sorce
6d0969aa1a r15761: Fix-as-you-go ...
Testing various async paths and uncovering bugs
(This used to be commit 099d873ea5)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
e23cc70a72 r15760: - add RAW_READ_SMB2 => generic mapping
- Implement SMB2 Read

metze
(This used to be commit d0ac0c5af4)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
f9ddc0dde5 r15759: samba4 currently only supports read sizes up to with UINT16_MAX
metze
(This used to be commit 05ced31cb9)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
49012954d0 r15758: - handle RAW_FLUSH_SMB2 in the posix ntvfs backend
- Implement SMB2 Flush

metze
(This used to be commit 41d87ebe35)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
772c492840 r15757: - add RAW_WRITE_SMB2 => generic mapping
- implement SMB2 Write

metze
(This used to be commit 5ab6f304f8)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
26047265cc r15756: handle RAW_OPEN_SMB2
metze
(This used to be commit 8aebd7adc9)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
183fb2bd4b r15754: - implement SMB2 Close
- add RAW_CLOSE_SMB2 generic mapping

metze
(This used to be commit 41bc3cfc82)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
c2c5f78f11 r15753: implement SMB2 Create
metze
(This used to be commit 65b67a8af6)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
6af051409a r15752: - add generic mapping for RAW_OPEN_SMB2
metze
(This used to be commit d26144f957)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
3cb64219e2 r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in the smb2srv code
metze
(This used to be commit 6c304a1a5f)
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
35d6a53ff7 r15750: don't clear after setting
metze
(This used to be commit 0e23d2a45a)
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
476a6253a6 r15749: - pass in a dummy oplock callback
- pass in SMB2 ntvfs_handle callbacks

metze
(This used to be commit 338aee88d4)
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
7442613a53 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
(This used to be commit 4ae4a742fc)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
7930ae6a70 r15747: move some functions to the protocol independend part of the
smb server

metze
(This used to be commit 79af05551f)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
607e97bef0 r15746: - reorder elements of smb2srv_request
- move SMB2 specific elements to the end

metze
(This used to be commit 7d2087bd1b)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
e9cf630ec7 r15745: - reorder the elements of smbsrv_request
- move the SMB specific elements to the end

metze
(This used to be commit 0be887c7c6)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
6885c6253e r15744: convert_string_talloc() handles src_len == 0 as error
but it's valid in this case

metze
(This used to be commit 92c19b1ba4)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
44dc58fe16 r15743: use union smb_tcon
metze
(This used to be commit 012a08cfb9)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
681a7f21e2 r15742: use union smb_sessetup
metze
(This used to be commit de7e856a46)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
e306c5bf12 r15741: move smb2 request structures into the main smb request structs
as new levels

metze
(This used to be commit 9180635317)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
2de1d5f7a8 r15740: add TODO, that we should check if the server supports
large offsets, before sending large offset requests

metze
(This used to be commit b9ba2b8c5a)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
add9d49dbb r15739: return False when the function is called with an invalid level
metze
(This used to be commit fc20e4154a)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
1a60ed5aa8 r15738: make the code more readable
metze
(This used to be commit 5114cab662)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
b77eaaa3bc r15737: fix a typos and comment
metze
(This used to be commit 1f50b2e053)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
9ef33f5f5c 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
(This used to be commit 287fc1c22d)
2007-10-10 14:08:10 -05:00
Andrew Tridgell
0dcecc3148 r15731: module init functions should return NTSTATUS, not void
(This used to be commit c6d20c2245)
2007-10-10 14:08:10 -05:00
Rafal Szczesniak
dda3dceac7 r15726: Comments and a couple of minor formattings in the code.
rafal
(This used to be commit 2ab8343e99)
2007-10-10 14:08:09 -05:00
Simo Sorce
1fdd6a6e68 r15725: First shot at making password_hash async
The async path is not yet enabled by default so it should make no harm
(This used to be commit b7d5f23257)
2007-10-10 14:08:09 -05:00
Jim McDonough
96a858b5cd 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.
(This used to be commit d28f49fc6d)
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
7f0e17e903 r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
metze
(This used to be commit 95bf41b4d4)
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
472c088625 r15716: disable the cifs_posix ntvfs backend as it will not be updated
with coming ntvfs subsystem changes

metze
(This used to be commit 69e7a45474)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
4c5a67fa35 r15715: add my copyright
metze
(This used to be commit a3799771c8)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
82fd602cf0 r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the reply
metze
(This used to be commit 0ac9a49f42)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
6dbd4ac331 r15713: - initialize ntioctl.in.max_data and ntioctl.in.blob
- use define instead of hex value

metze
(This used to be commit 6725cbf9e2)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
5445415b82 r15711: - make use of nttrans_setup_reply()
metze
(This used to be commit a870c084f6)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
2adbcc3965 r15710: - we no longer need to set the nttrans out fields to zero
in the backends
- some whitespace cleanups

metze
(This used to be commit 6a0c24c73e)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
0fc977c54d r15709: - return an error is better than ignoring a non supported request
- zero nttrans output fields before calling the backends

metze
(This used to be commit b21d98a875)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
a3cc3c9c1f r15708: setup count is 8bit and param_count and data_count are 32bit
metze
(This used to be commit 6bc89b422c)
2007-10-10 14:08:07 -05:00
Volker Lendecke
e48fd4e710 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
(This used to be commit cc9634d586)
2007-10-10 14:08:07 -05:00
Jelmer Vernooij
05b1657769 r15702: Fix typo
(This used to be commit 26442023d1)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
e6da54799c 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
(This used to be commit 2a9e55fafc)
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
799113e1f9 r15693: fix the logic for the "cifs:map_trans2" parameter
we need to return NOT_IMPLEMENTED when mapping is desired

metze
(This used to be commit 09aeb387a0)
2007-10-10 14:08:06 -05:00