1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

1422 Commits

Author SHA1 Message Date
Andrew Bartlett
1c06bf6731 r1687: Fix bogus requirement for SMB signing on guest connections.
Andrew Bartlett
(This used to be commit 3520af0f3d8826ac52a7fb6a658ed0924e51bbf7)
2007-10-10 12:57:49 -05:00
Andrew Bartlett
6ffaf57fe7 r1686: Don't use a void* for the context inside the SMB signing code.
Andrew Bartlett
(This used to be commit 64fcd8ecebabdd09fed6b65e3c436bffc1da9de7)
2007-10-10 12:57:48 -05:00
Andrew Bartlett
06cf56bc1d r1685: Add the ability to lookup RPC auth types for the RPC-MGMT torture test.
Andrew Bartlett
(This used to be commit 0e4e3647e848605416fe79c742ac84d84dc4357c)
2007-10-10 12:57:48 -05:00
Stefan Metzmacher
bf85647095 r1679: fix add the extrasids and resource group array in
the EXTRA_SIDS idl isn't verified to be correct yet

metze
(This used to be commit 43fd611593af030a3d86d2640be6b1de959939c7)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
ac2c620c50 r1677: security descriptors are always little-endian, regardless of DCE/RPC
level byte order flags
(This used to be commit a9c46aefaf4b53329eaf1a8e0446e74c4d1c750c)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
9c41274ace r1676: - improved the handling of username/password in locktest and gentest
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey
  the smb.conf "max protocol" option

- better handling of -M option in masktest
(This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
0f32036afe r1675: netlogon deltas IDL update from Richard Renard
(This used to be commit ae49221301215a6aa12666f2ea336a42120459c5)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
3ef16b2679 r1674: fixed a bug in the handling of STR_LEN8BIT flagged strings
(This used to be commit 17a331529706266bd53b2d1c7b873cf4bbd7aaa7)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
11afc70bb0 r1673: using the new [relative] pidl handling, the PAC decode is now much closer
(This used to be commit c33bf6f935025b5623f21cca50664ba70f886b49)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
15dddf7b1e r1671: make [relative] pointers in idl much more generic, treating them just
like normal pointers in most cases. This means we can now support
relative pointers to unions, builtin types etc, whereas we could only
previously support relative pointers to structures.

metze needs this for the PAC decoding.
(This used to be commit 0d063725e12f51375b7d0be55a19072a9a54e7e6)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
1d529283c7 r1662: add a copy of the GPL text to the samba4 svn tree
(This used to be commit 74cc2cda92f72272c7ba437912794a1e5adf591c)
2007-10-10 12:57:47 -05:00
Andrew Tridgell
7011c71600 r1657: fixed the string types of two strings in svcctl.
we still need to fix the handling of subcontexts
(This used to be commit 589c5e394ca1c7ef29f2a0f755a5f932ce60dde5)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
c5fbb6f23c r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

metze
(This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
a0cb701b6f r1649: do a join as dc and run this test as the machine account
metze
(This used to be commit 59de2b1f528fb82fbfcf9c3783dd733a36d3fb6c)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
3a296195b3 r1648: the endpoints for the DRSUAPI pipe are
lsass,protected_storage not drsuapi:-)

metze
(This used to be commit a60ce66a01ff7528778dfded43d2a6e893acc5e2)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
ae24bf5251 r1647: destroy mem_ctx
metze
(This used to be commit 973ac69a012e579a09807d635061ff3550a10719)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
07aa4d8fe2 r1646: disable testing of group rename in the RPC-SAMR test, as it leaves the
group in a state where it can't be deleted via samr, which breaks
repeated runs of the test.
(This used to be commit bcad9efd728983c2d8932ef93eebd3d0c6d4d085)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
79a228a35b r1645: added a debug when a RPC fault is received
(This used to be commit cb1830909952dd0d0fed2090e820f1ee2552a7a2)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
60708de658 r1644: changed the way [relative] pointers work in pidl, making them much
simpler. This doesn't appear to hurt any of the existing uses of
[relative], but fixes its use for svcctl that jelmer is working on.
(This used to be commit 573f56a44785526d15c0179c5bbdab4c8b9461f1)
2007-10-10 12:57:46 -05:00
Jelmer Vernooij
d31150a34f r1642: Torture test for EnumServicesStatus, almost finished.
(This used to be commit fb2ca1f4cde014c93a0741b8ba03d2d9caffd8df)
2007-10-10 12:57:46 -05:00
Jelmer Vernooij
076d0bc8c4 r1641: Finish IDL for EnumServicesStatus
(This used to be commit c395652aa033502e4e0944b8031c869f479c888a)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
707c94babb r1637: - w2k3 can't handle more than 1000 names in a LookupNames request
- use a SID that w2k3 likes in CreateTrustedDomain
(This used to be commit b5f25fdb7440ba21f073f4ca7fa9a8771a6ebaf4)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
d4ceaff6a5 r1636: improved the negnowait test so it is standalone (taking advantage of the async APIs)
(This used to be commit 19c22760c699aa2b000f023ff6083055a27a83cb)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
bff2c7a578 r1635: when a transport dies, setup errors for all pending sends and recvs, plus disalllow any more sends
(This used to be commit 326fdc8c9d2848c6c08a49e34c72430fe0116d23)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
682a02d7d4 r1634: to get signing right for async requests we must send requests in
order. Fixed the linked list add to always add to the end for outgoing
requests.
(This used to be commit 81c450b434bb28b0fa8620c309f39203e8950497)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
53781e9d37 r1633: fixed a couple of async oplock handling errors
(This used to be commit d7e2f39b90122088e94d4a8e8c7ffa7c91d7d664)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
44194cc663 r1632: in case of error don't send uninitialised fnums on the wire
(This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
cfdd3e68be r1631: don't use req->transport after req has been destroyed
(This used to be commit 35f4ad4700de25085a2d0e5d0f9674ca2e606cd1)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
94fb514376 r1630: - fixed the replacement timegm() function to work correctly for DST changes
- got rid of global_myname(), using lp_netbios_name() instead
(This used to be commit e8d4b390884e487163d81f66a5a7ac1de1305d9a)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
2d9adf1ea5 r1629: server_zone needs to be "int" not "int16_t" as it can hold values
larger than 35536 (the max value is actually 12*3600 == 43200)
(This used to be commit 78dcaddbb78574b7f489989df0b1f979677bb7d5)
2007-10-10 12:57:45 -05:00
Andrew Tridgell
16e452ddf8 r1628: - fixed the comment on run_deferopen. (I also think that the
deferopen test should probably be ripped out and redone, as it
   tests the wrong thing.)

 - removed some unused code

 - add progress printing to the pipe_number test

 - fixed the dir1 test to use deltree rather than trying to re-invent it itself (in a broken manner)

 - renamed all of the tests into catagories, so you can now run
   BASE-* for the base tests, and BENCH-* for the benchmarks.
(This used to be commit 2e297be5c34086a42396acc3abf965f8dbd665cd)
2007-10-10 12:57:44 -05:00
Andrew Tridgell
f0ff2eccad r1627: make sure we initialise write_time in the deprecated function cli_ctemp()
(This used to be commit 48b5b740f1d0c252f248aa944d8487a83c016fa1)
2007-10-10 12:57:44 -05:00
Andrew Tridgell
ae81794cf8 r1619: - add support for older systems to cli_list*()
- make cli_list_new() use the last_name continue method rather than
   the trans2 findnext continue flag, as the continue flag is broken on
   win2003 (win2003 sometimes misses up to 1/3 of all files in a directory)
(This used to be commit daa9648b3f6919b1615a5737b96310c3a41a0192)
2007-10-10 12:57:44 -05:00
Andrew Tridgell
27ce337277 r1618: fixed the receipt of multi-part replies to SMBtrans2
(This used to be commit bd4106a8e57fc98d1feddc01b58f87f68164247a)
2007-10-10 12:57:44 -05:00
Jelmer Vernooij
0c55b8d8c2 r1617: Start working on the svcctl pipe
(This used to be commit 518ff5f505446fee623365fd5bdfc75c0cb93d2a)
2007-10-10 12:57:44 -05:00
Tim Potter
2768216e62 r1611: Put a brace on a new line.
(This used to be commit d9b4e45f46cd738b196f8d167cea264b3ce0d364)
2007-10-10 12:57:44 -05:00
Andrew Tridgell
578a99db4d r1606: make the low level socket read/write routines cope properly with non-blocking sockets
(This used to be commit bb6cbf29ccf8f2b556bf3e7b3ff487faa0f36773)
2007-10-10 12:57:44 -05:00
Andrew Bartlett
188a8014ea r1605: GENSEC krb5 updates - fix a valgrind found uninitialised variable, and
allow tests for 'unwrapped' krb5, allowed by Win2k3.

SPENGO changes, trying to get the logic right (when and what
sub-mechanisms to wrap).

Andrew Bartlett
(This used to be commit 8a0f7bf5e282d021afe93994a91fd76fa9c05f42)
2007-10-10 12:57:44 -05:00
Andrew Bartlett
f1a215f5cb r1604: Samba4 avoids memcpy() as much as possible - we don't need to make a copy here.
Andrew Bartlett
(This used to be commit 9efc94eeafbf0eb4488c53a1456cc7026c937f9f)
2007-10-10 12:57:43 -05:00
Andrew Tridgell
2de2ead42d r1603: fixed in.size to not overstate the packet size by 4 bytes
my apologies to abartlett for thinking this was his bug!
(This used to be commit 6edbc55ddd2fc0d4686ec3075ba9bfc72ac24315)
2007-10-10 12:57:43 -05:00
Andrew Tridgell
b5061894dc r1602: make sure we honor the use_spnego flag
(This used to be commit de764d9004a0d90479158e78e30b1266eb529e3e)
2007-10-10 12:57:43 -05:00
Jim McDonough
112c2c831b r1596: Fix up copyrights.
(This used to be commit d2553aac0a75591026b9b1fcf46065e5b03ed19c)
2007-10-10 12:57:43 -05:00
Tim Potter
cf507bf2ae r1595: Always use a loop variable named $e when iterating over lists of
elements.
(This used to be commit daf2aea67cbfa2cda1fb3da8862b152c66d9573f)
2007-10-10 12:57:43 -05:00
Tim Potter
c5cc59b1b3 r1594: Remove some array checks that we can't do because we don't store state
between scalar and buffer passes.

Fix array handling - most of the samr queryuserinfo calls now parse
properly!
(This used to be commit 10e3ba03df500ecbb24a70fb9a59c80ac64608da)
2007-10-10 12:57:43 -05:00
Tim Potter
ccbad22865 r1593: Fix bug in get_subtree() where we were always looking at the head of
the list of subtrees.
(This used to be commit 7fab5c4ecb429057c627396bdee5dc36245fb441)
2007-10-10 12:57:43 -05:00
Tim Potter
42304f6a8f r1592: Fix up subtrees for non-scalar types instead of hardcoding module subtree.
Arrays currently broken though.  )-:
(This used to be commit 8fad205c51d270cdf7f84a8cec6ebea7ccf4cead)
2007-10-10 12:57:43 -05:00
Tim Potter
8ded5420e3 r1586: Finally, a technique for putting buffers in scalars in the same
protocol tree that actually works.  Instead of trying really hard
to do this in code, just remember a list of strings and subtrees
for every tree.  (This does require the addition of a void *user_data
field to ethereal's proto_node structure).
(This used to be commit 5bc61162602f84c8a3a0b22c74c69318b92e087a)
2007-10-10 12:57:42 -05:00
Stefan Metzmacher
144bb17b06 r1585: add dcpromo.pl start, this should be configure a
samba4 ads domain controller's ldb database

metze
(This used to be commit 932e22badda84c3c1d0ee71a4dec32a21ca37e60)
2007-10-10 12:57:42 -05:00
Andrew Tridgell
5ddf678e01 r1578: the first stage of the async client rewrite.
Up to now the client code has had an async API, and operated
asynchronously at the packet level, but was not truly async in that it
assumed that it could always write to the socket and when a partial
packet came in that it could block waiting for the rest of the packet.

This change makes the SMB client library full async, by adding a
separate outgoing packet queue, using non-blocking socket IO and
having a input buffer that can fill asynchonously until the full
packet has arrived.

The main complexity was in dealing with the events structure when
using the CIFS proxy backend. In that case the same events structure
needs to be used in both the client library and the main smbd server,
so that when the client library is waiting for a reply that the main
server keeps processing packets. This required some changes in the
events library code.

Next step is to make the generated rpc client code use these new
capabilities.
(This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10 12:57:42 -05:00
Stefan Metzmacher
1ce4a2d5fe r1558: the unknown_time is the same as the logon_time in the PAC_LOGON_INFO
the account_name is a 'nstring'

metze
(This used to be commit bb906e5e9e566e7ed931436956ba8323503875f9)
2007-10-10 12:57:41 -05:00