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

1379 Commits

Author SHA1 Message Date
Jelmer Vernooij
ab31a44216 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10 13:47:24 -05:00
Rafal Szczesniak
737d59abc9 r12162: More comments.
rafal
(This used to be commit 2d69e4b13e547768a36e293a9164923e35da7334)
2007-10-10 13:47:16 -05:00
Andrew Tridgell
499e51b5a9 r12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
(This used to be commit 5ce6a62f2e8fd27e50bcbdcf13d34c60e70c9923)
2007-10-10 13:47:13 -05:00
Rafal Szczesniak
38b0dde114 r12135: Move named pipe connect on smb2 function to async implementation.
Completely untested, it's a bit difficult without having vista
around (yet), so - Andrew, please test it and let me know what's
wrong.

rafal
(This used to be commit b9e7522bd4b626402c51a69695bea0928f5baef7)
2007-10-10 13:47:12 -05:00
Andrew Tridgell
111a920fdb r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback

this removes one of the common mistakes in writing a composite function
(This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10 13:47:11 -05:00
Rafal Szczesniak
3b85d04025 r12103: Comments and a bit of formatting.
rafal
(This used to be commit 4a12711c310f3dc228ea7be539703fc3fc77444a)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
2184ad5af7 r12101: revert my last commit, I breaks the build and I don't know why...
metze
(This used to be commit dc664df873c208c57752e8288a82cef77bc61338)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
3adb3013b1 r12090: use the _trigger_error() function in the function
that allocated the composite_context

metze
(This used to be commit 998a7f8572bb90b5d478f03f09fba9867a6d8bfa)
2007-10-10 13:47:08 -05:00
Rafal Szczesniak
b38783f40a r12089: Couple of fixes in cases of memory outage before we sort
out how and when to use composite_error() and composite_trigger_error().
Spotted by Metze.

rafal
(This used to be commit 218db3ebc06f2d3e906f23a36bad088861b8e720)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
d1c41cb83f r12088: Use a structure to pass arguments to dcerpc connection functions
and move migrated (async) code to a new file.

rafal
(This used to be commit 79b231bc534e10149d86a2c647a27c27ce524949)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
18cfac7c71 r12087: Split dcerpc pipe connection functions into separate file.
It's going to contain async functions and ncacn_np is the
first.

rafal
(This used to be commit 3fe2df5fe3165972536c937620d770e763b0d5bb)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
5245679015 r12086: reverted the utf8string change in xattr.idl. See the discussion on
samba-technical on why this should stay as a simple null terminated
string (basically to make hand-written parsers easier)
(This used to be commit 0f1de4b1db7f0035e2b31f967d86de9306558968)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
d55ab321b2 r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring the
Samba4 and ethereal IDL into line, so ethereal doesn't lose any
existing strucutres when switching to idl
(This used to be commit afccf73ecf6cf85e72c04e28724096aa6da96a80)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
08377f458e r12084: added a comment on what is appropriate for parameter_control
(This used to be commit 040d798a88ad6e6d56179de2b9036e3d0c36afc8)
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
7416dd1889 r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,
used for replication conflicts

metze
(This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
2007-10-10 13:47:00 -05:00
Andrew Tridgell
f4edfc21e5 r12016: fixed a valgrind error
(This used to be commit 482548031e69ba4bddac999ca9f2cb6ad8359953)
2007-10-10 13:47:00 -05:00
Andrew Tridgell
f5ed8cc829 r12010: - added support for domain specific SID codes in SDDL strings
- added a bunch more tests to LOCAL-SDDL (all the ones from our schema)

- fixed 'mixed coded declarations' bug
(This used to be commit c30e7698e8e1d9991d35bf86c0d4041a1814ad92)
2007-10-10 13:46:59 -05:00
Andrew Tridgell
c6f954f116 r12004: added some SEC_ADS_* security flags. Needed for a SDDL parser.
(This used to be commit dc1b83cc13e0324139c6b756a6f135534be7be79)
2007-10-10 13:46:58 -05:00
Rafal Szczesniak
3584f2cac1 r12001: Replace smbcli_full_connection call with composite connect used
in sync version. This step makes it easer to move further to async
dcerpc connect routine.

rafal
(This used to be commit 87b016d55315190fa3f6083c75cb783ad45ddd0b)
2007-10-10 13:46:57 -05:00
Andrew Tridgell
6615907b94 r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and that
it only appeared to be like a SMBtrans request as it was being called
with function 0x11c017 which is "named pipe read write"

I wonder if this means we could do DCE/RPC over SMB using ntioctl
calls as well?
(This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa)
2007-10-10 13:46:53 -05:00
Stefan Metzmacher
fd18ab334a r11973: make it easier to find bugs
metze
(This used to be commit 247f90c28d845fd2224cb07ed30d3e8122ba5644)
2007-10-10 13:46:53 -05:00
Andrew Tridgell
36a5e35353 r11970: fixed a valgrind error. The auth info from the alter_context reply was
being freed before being given to gensec_update()
(This used to be commit cf2cb4279e2b31989eee2fec848982b10fcc2136)
2007-10-10 13:46:52 -05:00
Andrew Tridgell
2f74901802 r11891: - added pipe_flags field in smb2_trans
- while running dcerpc over SMB2, the server will occasionally send us
  a oh-so-useful STATUS_PENDING result meaning "I don't have a result
  for you yet, but I'm working on it". These can be discarded :-)
(This used to be commit 24588a9c499536299d7aaf5b56ff73fb255290ca)
2007-10-10 13:46:42 -05:00
Andrew Tridgell
ced449b016 r11889: added support for dcerpc ncacn_np over SMB2. You use it by giving the
flag 'smb2' in the dcerpc binding string. This gives a pretty good
test to the new SMB2 trans call.
(This used to be commit f99bef585d4c1e52becc06b581bd5aaa62cf9dd7)
2007-10-10 13:46:42 -05:00
Andrew Tridgell
e3e066fcb4 r11872: another attempt at fixing the data_blob_free in async dcerpc bind,
after volker gently pointed out that I should be wearing a paper bag
over my head for the last attempt :-)
(This used to be commit 7e132761fce75f64d3e7d42f650c45a483e37e3e)
2007-10-10 13:46:39 -05:00
Andrew Tridgell
090898de71 r11871: fixed a problem volker found with the async bind code, and a callback
destroying the dcerpc pipe
(This used to be commit 0b91602fa4b9a8b40331d088bdaac76381eac7ef)
2007-10-10 13:46:39 -05:00
Volker Lendecke
35741ad8b1 r11835: Restore comments
(This used to be commit 94591bdb6542d4a3096074b672e19142c9236211)
2007-10-10 13:46:36 -05:00
Andrew Tridgell
0df8dcb7c9 r11824: fixed a valgrind error in the dcerpc_smb code
(This used to be commit 128b5ea7b369df6e7433609a24128f8bf623c4fe)
2007-10-10 13:46:34 -05:00
Andrew Tridgell
11e9b40f13 r11819: simplified the async rpc bind code a little.
- removed the struct dcerpc_request_state as all the state
   information is already available on the dcerpc_pipe structure, so just
   use that

 - added a single dcerpc_recv_data() handler for receiving packets
   from the transport layer. This then does the initial decoding of
   the dcerpc packet, and then looks at the packet type in order to
   work out who to dispatch it to. This should allow in-flight async
   rpc requests to still work while a new bind or alter context is
   happening

 - ensure that if the transport indicates the connection is dead that
   any in-flight bind or alter context requests are given an error

 - removed full_request_private and instead use separate bind_private
   and alter_private pointers

 - added a few comments for some bits I found hard to understand
(This used to be commit 938e372bffbee1982ad8268b83c43514fd2e5633)
2007-10-10 13:46:33 -05:00
Andrew Tridgell
38d540e9fe r11817: fixed the problem with the RPC join tests. The problem was that
revision 11809 had removed the change to the session key function
after authentication succeeds.
(This used to be commit c04c78d617b0d8c9f8fa724d475fefbe9e478ef7)
2007-10-10 13:46:33 -05:00
Andrew Tridgell
b495bb246c r11816: this fixes some of the problems with the recent async rpc changes and
ncacn_ip_tcp/ncalrpc. The problem was that svn revision 11809 removed
the logic that forced the CONNECT auth type for authenticated binds
which don't have an explicit SIGN or SEAL flag set.
(This used to be commit e7a1f11e8bcba3839f74c7303bd82533a6acfbcd)
2007-10-10 13:46:32 -05:00
Volker Lendecke
a6852523d6 r11812: Convert winbind to the async bind routines. Also remove tridge's hack for the
winbind "bug" :-)

Volker
(This used to be commit fb9a3c7ef376f289288c71bc47d67f548ddb7194)
2007-10-10 13:46:32 -05:00
Volker Lendecke
02aba4c339 r11810: Fix talloc hierarchy
(This used to be commit e1bf1c326f297321a6c8fdf9679130dba102669e)
2007-10-10 13:46:31 -05:00
Volker Lendecke
f2dedc629c r11809: Make dcerpc_bind_auth async.
This also removes dcerpc_bind_auth_password, the only user of
dcerpc_bind_auth. And this was not only passwords anyway.

Andrew Bartlett, as usual: Please take a close look.

Thanks,

Volker
(This used to be commit 2ff2dae3d035af6cb0c131573cfd983fc9a58eee)
2007-10-10 13:46:31 -05:00
Volker Lendecke
b03f5c4478 r11807: Make dcerpc_alter_context async. Same thing: Please look at this
closely. Survives RPC-ALTERCONTEXT.

Volker
(This used to be commit 1875c4808f8c30a6f750b88e166d43a736d5edc7)
2007-10-10 13:46:31 -05:00
Volker Lendecke
957869d2f4 r11806: Minor cleanup
(This used to be commit e75080b26d76199a6006fb076cf816ac023254ee)
2007-10-10 13:46:30 -05:00
Volker Lendecke
82b4335dd2 r11805: dcerpc_bind_auth is only used in dcerpc_bind_auth_password
(This used to be commit 16bc6b64f9053df3d08a05e7b7cfe77be6580d2b)
2007-10-10 13:46:30 -05:00
Volker Lendecke
46685f3e20 r11804: Asyncify the anonymous bind, convert the calls in xplogin.c.
Tridge et al, please take a close look at this. It survives my basic rpc-login
test as well as rpc-lsa, but this is critical I think.

Volker
(This used to be commit bf1a55f44c84d9bb8b2f83f5d25727550ca8fcf2)
2007-10-10 13:46:30 -05:00
Stefan Metzmacher
ab33c314a4 r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs it
- add an idtree_limit to limit the max VUID we give the clients
  it's UINT16_MAX (0xffff) for the SMB protocol
- add auth_time to the smbsrv_session statistics
- use the session_info as marker for finished and non-finished
  session setups

metze
(This used to be commit 7eb10048b2c4e5ee9c39750dc877514ed9235a76)
2007-10-10 13:46:26 -05:00
Stefan Metzmacher
3f968be9d5 r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 uses
them
- add a idtree_limit to the tcons substructure of smbsrv_connection
  this controls what the highest TID is we give away to the client
  it's UINT16_MAX (0xFFFF) for the SMB protocol

metze
(This used to be commit f3bf5a2c0947e33d4167fa4fa290968204a826e8)
2007-10-10 13:46:26 -05:00
Stefan Metzmacher
509be8d902 r11781: rename tree to tcons to match the sessions substructure of smbsrv_connection
metze
(This used to be commit acd3e644e030a3544ddc6cdcd4e0ec9617732cba)
2007-10-10 13:46:26 -05:00
Andrew Tridgell
614950aed3 r11713: separate out the setting of the fde in the packet context from the
enabling of packet serialisation
(This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
2007-10-10 13:46:17 -05:00
Stefan Metzmacher
1598aaca95 r11676: as tridge uses 0x%llx in his latest commits...
try to use it every where and see how portable it is

metze
(This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
2007-10-10 13:46:12 -05:00
Andrew Tridgell
79b3a3afb5 r11627: give the caller much more control over the stream to packet process,
allowing it to specify the initial read size (thus preventing
over-reading) and to stop the recv process when needed. This is used
by the dcerpc socket code, which relies on not getting packets when it
isn't ready for them
(This used to be commit f869fd674ec4b148dc9a264e94d19ce79d35131d)
2007-10-10 13:46:01 -05:00
Andrew Tridgell
f3d66f310f r11623: convert the dcerpc socket layer to the generic packet code
(This used to be commit 4ea66e6e80de0d70b53bf9cd16c1dfd1c400f57e)
2007-10-10 13:46:00 -05:00
Volker Lendecke
687dea8de6 r11516: Fix a valgrind bug I introduce with queued requests
(This used to be commit 3e4ab756f421acd747e9ea4c48b0f61d48dfa8fd)
2007-10-10 13:45:47 -05:00
Volker Lendecke
baff088fed r11515: Add some talloc_get_type
(This used to be commit 558c29971d5855308a9d8dfd21e8ac7ec24abc01)
2007-10-10 13:45:46 -05:00
Andrew Bartlett
794386e5c4 r11497: Don't name parameters 'floor'. Rename fl and floor to epm_floor for
consistancy.

Andrew Bartlett
(This used to be commit 8787eb982f899c68a490fb9c71c21ec1d9ec0308)
2007-10-10 13:45:45 -05:00
Volker Lendecke
66d3ee9ccb r11473: Based on work by Jelmer, implement the [async] flag for rpc requests. If it's
not there (it's not yet on *any* call... :-)), the rpc client strictly
sequences calls to an rpc pipe. Might need some more work on the exact
sequencing semantics when a pipe with both sync and async calls is actually
deployed, but I want it in for winbind simplification.

Volker
(This used to be commit b8f324e4f000971b7dafc263c16dd4af958ee7f9)
2007-10-10 13:45:41 -05:00
Andrew Tridgell
e8c23e4e2d r11457: fixed the winreg IDL and torture code so key and value enumerations
work again. The automatic value() is fine for the length, but cannot
be used for the size as the size is not the number of bytes being
sent, but the number of bytes that the server is allowed to use in the
reply
(This used to be commit 46e91f269c83707863a726e716325eade38e1142)
2007-10-10 13:45:39 -05:00