1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

9392 Commits

Author SHA1 Message Date
Jelmer Vernooij
03f520fd12 r15780: Fix indentation of deferred code (fixed #3739)
(This used to be commit a7c9ec69b229db1b9c93b97133601231a2995c1b)
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
ad9003b448 r15779: Remove keepref from atsvc and efs.
(This used to be commit b44a8c32d35bcd0dc7339793c34cb84dd6981366)
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
8fef2c8122 r15778: Fix bug printing ref pointers.
(This used to be commit 030272e79b621c2c54354f4c89cc25c202d2dbbc)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
151713d694 r15777: Fix unresolved symbols in shared library build.
(This used to be commit 3fb9f07a7576c465853b03916cb7c0e87e68a276)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
9727b061f3 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.
(This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10 14:08:18 -05:00
Stefan Metzmacher
39fd6db42b r15775: add some privilege related WERROR codes
metze
(This used to be commit 4e8c9bbd768a0d3f8719d8f2005d9b1b527c44fd)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
0f2c93016d r15774: take care of the SYSTEM_SECURITY flag
metze
(This used to be commit 98f58d710a4fe1cd3581b1fb25c4f0c0236b5092)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
2e415d4e98 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
(This used to be commit e1635ce5c07615eded6eac237cde3945a46ebbd9)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
e941cc3003 r15772: pass the messaging context and server_id to the dcerpc server subsystem
metze
(This used to be commit fb1debf219089188d1a8233ab3ff4ff314f7df0b)
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
6ba94bb12f r15771: this should be a o32s32 blob
metze
(This used to be commit fdfa6dcc97b6f7d61159497df2e214163d308649)
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 c7e8e79d75fd53fa37e9220e5bc9cac7ab574ff6)
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 9c4c40772bfd8a8324cd086c2234451d164be5d0)
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 dfd07e6f890ebe11d77d39f65c3f6850c9b9c37e)
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
017855b766 r15767: we need to free here
metze
(This used to be commit 98890052fec7ba4a8bf4e07a6b000d04d768f581)
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 dbcb144decd2ebd75dbad7509738074c1b0b5ec8)
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 bf260f2a84f9c1f749798068168a22c86ab2e7b2)
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 099d873ea596ece18efe63b06bc64e7f97a96f82)
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 d0ac0c5af44ba5aa8b18106c2ac26c0d194e59b4)
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 05ced31cb91eb1f170cb87d6964cf65daba43493)
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 41d87ebe355cd34d35a93d1e90cd2680363cb5d3)
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 5ab6f304f8b91c0362fd57429cc24126b241bd51)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
26047265cc r15756: handle RAW_OPEN_SMB2
metze
(This used to be commit 8aebd7adc9a0288ebf6b8d84fc376d699054a520)
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 41bc3cfc822bfc2fe4413f93a180fc4507005282)
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
c2c5f78f11 r15753: implement SMB2 Create
metze
(This used to be commit 65b67a8af6b661fe6eeabf45563c6aba12a6660a)
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 d26144f9575f1e53bfb837024d964a3324d38728)
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 6c304a1a5f5dc6b2d3774682303874444a59b07d)
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
35d6a53ff7 r15750: don't clear after setting
metze
(This used to be commit 0e23d2a45a4507051bb3453387b82e7a9f4433ea)
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 338aee88d4ba3b25b473a456e55dd7ff5c1a4c5d)
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 4ae4a742fc2e40b2937d9ce01f2e45f43f7ff1c3)
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 79af05551fe5f7b364c9f515ba4db54dd72907f8)
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 7d2087bd1b5036f79e205d6e17f2bca78576299e)
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 0be887c7c6d318cb2990610f353e75b5f6d98c0c)
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 92c19b1ba4e89bd1e973e084b254087c98ceac18)
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
44dc58fe16 r15743: use union smb_tcon
metze
(This used to be commit 012a08cfb9d550a47bed49b18335a038ae19605c)
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
681a7f21e2 r15742: use union smb_sessetup
metze
(This used to be commit de7e856a464c1c986be3687a7b97527b734240ce)
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 91806353174704857dfcc15a730af7232cfde660)
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 b9ba2b8c5a314ba9e559e50bea4deb692dc0f3ec)
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 fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
1a60ed5aa8 r15738: make the code more readable
metze
(This used to be commit 5114cab66294aa4fce586bb47a90ae32450ddbf3)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
b77eaaa3bc r15737: fix a typos and comment
metze
(This used to be commit 1f50b2e0534ee25861b6812b64d91f63cbb118ad)
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 287fc1c22d670f6e568014b420f7f4cb31dc7958)
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 c6d20c22454b87b4dea3527f0efcecd373679848)
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 2ab8343e99a21bddd61492722bd1d249ab04a306)
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 b7d5f2325726757a4fcd0b5ac03de1b867085a89)
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 d28f49fc6d3b7ee1b7077e2d35b2aee54d2d1469)
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 95bf41b4d4ec96349802955e364fe44ef85f9077)
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 69e7a454747acaad9ae4099d0ed5b4a5f3643ad7)
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
4c5a67fa35 r15715: add my copyright
metze
(This used to be commit a3799771c830a6ae952b0d9b45b8a01f7a6bf9c6)
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 0ac9a49f42719914e63758ea4e53cab65dcdd317)
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 6725cbf9e221e29cbe15dbcc62eecd8749655973)
2007-10-10 14:08:08 -05:00