14 years agor1767: Checkin of workarea. Sorry Jelmer but this overwrites some of your changes
Tim Potter [Thu, 12 Aug 2004 07:25:11 +0000 (07:25 +0000)]
r1767: Checkin of workarea.  Sorry Jelmer but this overwrites some of your changes
which I will have to merge in later on.

This latest version of eparser tries to stick more closely to the original
(This used to be commit 456a4d1d72807da037417073f346451421638c2f)

14 years agor1766: we do not have smb_read_error in samba4
Simo Sorce [Thu, 12 Aug 2004 07:13:44 +0000 (07:13 +0000)]
r1766: we do not have smb_read_error in samba4
(This used to be commit 1c3d52cea4dff57b14ee9bc197001fadb1d18abf)

14 years agor1762: Ensure that a user (as opposed to guest) cannot login without SPNEGO,
Andrew Bartlett [Thu, 12 Aug 2004 06:58:10 +0000 (06:58 +0000)]
r1762: Ensure that a user (as opposed to guest) cannot login without SPNEGO,
when we have negotiated SPNEGO.

Andrew Bartlett
(This used to be commit 07e3d2c4cd77d06c9ffaefd481ba58e4debe028c)

14 years agor1761: start porting valuable volker's work on ldap from trunk
Simo Sorce [Thu, 12 Aug 2004 06:37:12 +0000 (06:37 +0000)]
r1761: start porting valuable volker's work on ldap from trunk
all ldb functions has been renamed to ldap_ as we don't
really want to include ldb functions here, let's keep ldap
and ldb separate.
(This used to be commit f9d7b731c910b530a0a6c0f0c09c809f3e7b4167)

14 years agor1760: name the struct
Simo Sorce [Thu, 12 Aug 2004 06:31:55 +0000 (06:31 +0000)]
r1760: name the struct
(This used to be commit 512c410860a5947c94187454d7220ad1df08a6c0)

14 years agor1759: Add some helper functions to read and write data to a socket with timeout...
Simo Sorce [Thu, 12 Aug 2004 06:31:22 +0000 (06:31 +0000)]
r1759: Add some helper functions to read and write data to a socket with timeout (again from volker in trunk)
(This used to be commit 40d8262e7dbba76f88f1900744ed02f9f7fcdadd)

14 years agor1758: Move and enhance the add_string_to_array function as per volker job on trunk
Simo Sorce [Thu, 12 Aug 2004 06:30:03 +0000 (06:30 +0000)]
r1758: Move and enhance the add_string_to_array function as per volker job on trunk
(This used to be commit 606caddeb95382287fa41a5017ca473d0301be6b)

14 years agor1757: much simpler (and smaller, faster etc) way of doing relative pointers
Andrew Tridgell [Thu, 12 Aug 2004 05:15:41 +0000 (05:15 +0000)]
r1757: much simpler (and smaller, faster etc) way of doing relative pointers
in pidl. This mechanism should be much easier to extend to the
"retrospective subcontexts" that jelmer needs.

also produced more standards complient full-pointer offsets. This
keeps ethereal happy with decoding our epmapper frames.
(This used to be commit ecb7378bbcd86727aedfa04a9e302e06b0a2ccd9)

14 years agor1756: merge volkers ldap client lib to samba4 for simo to start with the
Stefan Metzmacher [Thu, 12 Aug 2004 04:55:59 +0000 (04:55 +0000)]
r1756: merge volkers ldap client lib to samba4 for simo to start with the
ldap server code

it's not compiled in yet...

(This used to be commit 48939adca1332ff90f9287311c0e9ff3e2e5917a)

14 years agor1752: Fix compile bugs on C (rather than C++) tolerant compilers.
Andrew Bartlett [Thu, 12 Aug 2004 03:35:38 +0000 (03:35 +0000)]
r1752: Fix compile bugs on C (rather than C++) tolerant compilers.

Andrew Bartlett
(This used to be commit 0949b72645024a6810f447fe8acb643f98588ab3)

14 years agor1749: added some random stuff that captures some discussions volker and I
Andrew Tridgell [Thu, 12 Aug 2004 03:28:44 +0000 (03:28 +0000)]
r1749: added some random stuff that captures some discussions volker and I
just had on emulating % macros from smb.conf in a possible ldb based
config system
(This used to be commit d547479290e30d4fd86ab718528e879a28f71447)

14 years agor1748: don't segfault if there's no ticket
Stefan Metzmacher [Thu, 12 Aug 2004 03:26:38 +0000 (03:26 +0000)]
r1748: don't segfault if there's no ticket

(This used to be commit b8985892964e84ca09d611540811d5a50a31232e)

14 years agor1747: don't segfault when the spnego mech only use one call from the client to finish
Stefan Metzmacher [Thu, 12 Aug 2004 03:23:19 +0000 (03:23 +0000)]
r1747: don't segfault when the spnego mech only use one call from the client to finish

(This used to be commit ddac5e46d42d3b2daae10107b1bcb3b138de7474)

14 years agor1746: Remove more cruft from the SMB signing code.
Andrew Bartlett [Thu, 12 Aug 2004 00:37:01 +0000 (00:37 +0000)]
r1746: Remove more cruft from the SMB signing code.

Andrew Bartlett
(This used to be commit b176151b7294b03534921a26db4fb4be1e5d617c)

14 years agor1745: More work on cleaning up SMB signing.
Andrew Bartlett [Thu, 12 Aug 2004 00:04:52 +0000 (00:04 +0000)]
r1745: More work on cleaning up SMB signing.

This removes the function pointer mess from the SMB signing code.

Andrew Bartlett
(This used to be commit 8830603e4bc821a11db87072a32a51b076a28e06)

14 years agor1742: Add the IDispatch interface
Jelmer Vernooij [Wed, 11 Aug 2004 22:09:54 +0000 (22:09 +0000)]
r1742: Add the IDispatch interface
(This used to be commit 798017bd10338a3a53aa5616a5eeb1146b24180f)

14 years agor1741: fixed padding of setpathinfo in server
Andrew Tridgell [Wed, 11 Aug 2004 21:22:27 +0000 (21:22 +0000)]
r1741: fixed padding of setpathinfo in server
(This used to be commit 2b41de48b24d5850a2e3a5834916403f44a6d9ed)

14 years agor1740: fixed the torture suite for ASCII-only servers
Andrew Tridgell [Wed, 11 Aug 2004 21:11:37 +0000 (21:11 +0000)]
r1740: fixed the torture suite for ASCII-only servers
(This used to be commit c3bce90be745db3e7cbf8273c1c8496920332f5e)

14 years agor1739: fixed the padding in setpathinfo, noticed when forcing negotiated ascii strings
Andrew Tridgell [Wed, 11 Aug 2004 21:10:16 +0000 (21:10 +0000)]
r1739: fixed the padding in setpathinfo, noticed when forcing negotiated ascii strings
(This used to be commit fc75dc49025f4beb0f1df656cfe4ec497e693dcc)

14 years agor1738: honor the "unicode=yes/no" option in the SMB client library
Andrew Tridgell [Wed, 11 Aug 2004 21:09:36 +0000 (21:09 +0000)]
r1738: honor the "unicode=yes/no" option in the SMB client library
(This used to be commit b6664bdd0f4125a483620b76a87ea69cad866d6a)

14 years agor1737: don't segfault when a mech don't have a session_info hook
Stefan Metzmacher [Wed, 11 Aug 2004 21:06:11 +0000 (21:06 +0000)]
r1737: don't segfault when a mech don't have a session_info hook

(This used to be commit 68f3e538265b59ec818917b914678485585795a6)

14 years agor1736: - Pidl updates:
Jelmer Vernooij [Wed, 11 Aug 2004 19:48:36 +0000 (19:48 +0000)]
r1736: - Pidl updates:
 - Support for "object oriented" interfaces in pidl
 - Support for inherited interfaces in pidl
 - Simplification of the support for properties on an interface
- Start on dcom rpc torture tests
(This used to be commit 45c3d0036b8510102816f9cdff9210098259cc5f)

14 years agor1735: Clean up SMB signing - we don't have more than one 'real' way to sign
Andrew Bartlett [Wed, 11 Aug 2004 19:29:22 +0000 (19:29 +0000)]
r1735: Clean up SMB signing - we don't have more than one 'real' way to sign
a packet, so don't pretend we do...

Andrew Bartlett
(This used to be commit 68a6d5aeb35e8972182fffbb6cc506f89584b2d5)

14 years agor1731: Add server-side SPNEGO support to Samba (disabled, until SMB signing
Andrew Bartlett [Wed, 11 Aug 2004 18:09:40 +0000 (18:09 +0000)]
r1731: Add server-side SPNEGO support to Samba (disabled, until SMB signing
is reworked).

Andrew Bartlett
(This used to be commit 73ee549b8c54e93556ff0105941996e0d4de8303)

14 years agor1730: We cannot dereference c->tree here, as there is not a tree yet.
Andrew Bartlett [Wed, 11 Aug 2004 18:08:46 +0000 (18:08 +0000)]
r1730: We cannot dereference c->tree here, as there is not a tree yet.

Andrew Bartlett
(This used to be commit c9b5f335f8d270ba38848a56e7f5a9e05036a654)

14 years agor1729: Make the SMB signing code more generic (to share more between client and servers).
Andrew Bartlett [Wed, 11 Aug 2004 18:05:30 +0000 (18:05 +0000)]
r1729: Make the SMB signing code more generic (to share more between client and servers).

Andrew Bartlett
(This used to be commit b90b04e84bc8add235cf9ee7797a608ff48c4ca0)

14 years agor1727: SPNEGO session setup replies need to include the blob, even on error
Andrew Bartlett [Wed, 11 Aug 2004 16:17:43 +0000 (16:17 +0000)]
r1727: SPNEGO session setup replies need to include the blob, even on error
cases, so don't shorten them back to 0 byte data length.

Andrew Bartlett
(This used to be commit 66c54fe7ebdbe1348731191d86ac4804e99d114e)

14 years agor1726: Fix up the comments and indenting.
Andrew Bartlett [Wed, 11 Aug 2004 16:16:28 +0000 (16:16 +0000)]
r1726: Fix up the comments and indenting.

Andrew Bartlett
(This used to be commit 30275764d8f22c47d46195e155d07c106ca3beba)

14 years agor1725: Remove a silly 'utility' function.
Andrew Bartlett [Wed, 11 Aug 2004 16:15:21 +0000 (16:15 +0000)]
r1725: Remove a silly 'utility' function.

Andrew Bartlett
(This used to be commit 4d563d7e4afad1c5f583aca3f42087bfff0fb895)

14 years agor1724: Add a new function to return the list of available OIDs.
Andrew Bartlett [Wed, 11 Aug 2004 16:13:25 +0000 (16:13 +0000)]
r1724: Add a new function to return the list of available OIDs.

(Used in our SPNEGO code).

Andrew Bartlett
(This used to be commit c91d6b6f9b53e64069fd5860f677bc1b4c250f0c)

14 years agor1723: Make sure we bail out on error in reading a OID.
Andrew Bartlett [Wed, 11 Aug 2004 16:09:54 +0000 (16:09 +0000)]
r1723: Make sure we bail out on error in reading a OID.

Andrew Bartlett
(This used to be commit 6da7b65851aa4932aab56d1ab0f8fc67ccb62cdf)

14 years agor1714: Initial docs on DCOM stuff and build utilities
Jelmer Vernooij [Wed, 11 Aug 2004 00:02:11 +0000 (00:02 +0000)]
r1714: Initial docs on DCOM stuff and build utilities
(This used to be commit 6491e76f6ad8ccfc1ef333bcce5251aa519c52ce)

14 years agor1712: this should fix a bug with a spinning client when a server dies
Andrew Tridgell [Tue, 10 Aug 2004 23:06:59 +0000 (23:06 +0000)]
r1712: this should fix a bug with a spinning client when a server dies
unexpectedly. bug found by abartlett.
(This used to be commit 566b7a9ce986cdfeabb69f17c472782fc7494d43)

14 years agor1711: Add ServerAlive2
Jelmer Vernooij [Tue, 10 Aug 2004 22:21:12 +0000 (22:21 +0000)]
r1711: Add ServerAlive2
(This used to be commit fe6f82f3d9146c1fc9efb3b47a9e63361b62be14)

14 years agor1708: fix jelmers bugs:-)
Stefan Metzmacher [Tue, 10 Aug 2004 21:33:27 +0000 (21:33 +0000)]
r1708: fix jelmers bugs:-)

(This used to be commit ea076556602b81d33b4165f8a17bce1e127fb37f)

14 years agor1706: More IDL pipes
Jelmer Vernooij [Tue, 10 Aug 2004 21:16:19 +0000 (21:16 +0000)]
r1706: More IDL pipes
(This used to be commit fbbb020ea6a7cd8e7192b67ef8b45dbbc8474399)

14 years agor1703: - Lots of RPC updates, adding new pipes and protocols.
Jelmer Vernooij [Tue, 10 Aug 2004 20:55:42 +0000 (20:55 +0000)]
r1703: - Lots of RPC updates, adding new pipes and protocols.
- More updates/fixes to the ethereal parser generator
(This used to be commit 547f860285b117e291bf3dbaca0707dc268b214e)

14 years agor1701: Bugfixes to Tim's ethereal parser generator
Jelmer Vernooij [Tue, 10 Aug 2004 18:47:26 +0000 (18:47 +0000)]
r1701: Bugfixes to Tim's ethereal parser generator
(This used to be commit 8cd33b6cce6aaf8e819001d52bc77659b4116be9)

14 years agor1700: make version default to 0.0 (same as midl)
Jelmer Vernooij [Tue, 10 Aug 2004 18:46:36 +0000 (18:46 +0000)]
r1700: make version default to 0.0 (same as midl)
(This used to be commit b380324c938d0c5069dce02e468c92e24363a36b)

14 years agor1699: Formatting update, bugfixes
Jelmer Vernooij [Tue, 10 Aug 2004 18:44:58 +0000 (18:44 +0000)]
r1699: Formatting update, bugfixes
(This used to be commit d13d2068313680ade2c2fb986b6a5ea8ed8f2aef)

14 years agor1687: Fix bogus requirement for SMB signing on guest connections.
Andrew Bartlett [Tue, 10 Aug 2004 04:56:44 +0000 (04:56 +0000)]
r1687: Fix bogus requirement for SMB signing on guest connections.

Andrew Bartlett
(This used to be commit 3520af0f3d8826ac52a7fb6a658ed0924e51bbf7)

14 years agor1686: Don't use a void* for the context inside the SMB signing code.
Andrew Bartlett [Tue, 10 Aug 2004 04:38:03 +0000 (04:38 +0000)]
r1686: Don't use a void* for the context inside the SMB signing code.

Andrew Bartlett
(This used to be commit 64fcd8ecebabdd09fed6b65e3c436bffc1da9de7)

14 years agor1685: Add the ability to lookup RPC auth types for the RPC-MGMT torture test.
Andrew Bartlett [Tue, 10 Aug 2004 04:28:00 +0000 (04:28 +0000)]
r1685: Add the ability to lookup RPC auth types for the RPC-MGMT torture test.

Andrew Bartlett
(This used to be commit 0e4e3647e848605416fe79c742ac84d84dc4357c)

14 years agor1679: fix add the extrasids and resource group array in
Stefan Metzmacher [Tue, 10 Aug 2004 01:03:44 +0000 (01:03 +0000)]
r1679: fix add the extrasids and resource group array in

the EXTRA_SIDS idl isn't verified to be correct yet

(This used to be commit 43fd611593af030a3d86d2640be6b1de959939c7)

14 years agor1677: security descriptors are always little-endian, regardless of DCE/RPC
Andrew Tridgell [Mon, 9 Aug 2004 21:03:38 +0000 (21:03 +0000)]
r1677: security descriptors are always little-endian, regardless of DCE/RPC
level byte order flags
(This used to be commit a9c46aefaf4b53329eaf1a8e0446e74c4d1c750c)

14 years agor1676: - improved the handling of username/password in locktest and gentest
Andrew Tridgell [Mon, 9 Aug 2004 20:51:16 +0000 (20:51 +0000)]
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)

14 years agor1675: netlogon deltas IDL update from Richard Renard
Andrew Tridgell [Mon, 9 Aug 2004 20:47:57 +0000 (20:47 +0000)]
r1675: netlogon deltas IDL update from Richard Renard
(This used to be commit ae49221301215a6aa12666f2ea336a42120459c5)

14 years agor1674: fixed a bug in the handling of STR_LEN8BIT flagged strings
Andrew Tridgell [Mon, 9 Aug 2004 20:47:31 +0000 (20:47 +0000)]
r1674: fixed a bug in the handling of STR_LEN8BIT flagged strings
(This used to be commit 17a331529706266bd53b2d1c7b873cf4bbd7aaa7)

14 years agor1673: using the new [relative] pidl handling, the PAC decode is now much closer
Andrew Tridgell [Mon, 9 Aug 2004 20:34:59 +0000 (20:34 +0000)]
r1673: using the new [relative] pidl handling, the PAC decode is now much closer
(This used to be commit c33bf6f935025b5623f21cca50664ba70f886b49)

14 years agor1671: make [relative] pointers in idl much more generic, treating them just
Andrew Tridgell [Mon, 9 Aug 2004 19:40:24 +0000 (19:40 +0000)]
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)

14 years agor1662: add a copy of the GPL text to the samba4 svn tree
Andrew Tridgell [Fri, 6 Aug 2004 02:32:48 +0000 (02:32 +0000)]
r1662: add a copy of the GPL text to the samba4 svn tree
(This used to be commit 74cc2cda92f72272c7ba437912794a1e5adf591c)

14 years agor1657: fixed the string types of two strings in svcctl.
Andrew Tridgell [Thu, 5 Aug 2004 05:03:04 +0000 (05:03 +0000)]
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)

14 years agor1654: rename cli_ -> smbcli_
Stefan Metzmacher [Wed, 4 Aug 2004 13:23:35 +0000 (13:23 +0000)]
r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

(This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)

14 years agor1649: do a join as dc and run this test as the machine account
Stefan Metzmacher [Wed, 4 Aug 2004 09:33:41 +0000 (09:33 +0000)]
r1649: do a join as dc and run this test as the machine account

(This used to be commit 59de2b1f528fb82fbfcf9c3783dd733a36d3fb6c)

14 years agor1648: the endpoints for the DRSUAPI pipe are
Stefan Metzmacher [Wed, 4 Aug 2004 09:30:24 +0000 (09:30 +0000)]
r1648: the endpoints for the DRSUAPI pipe are
lsass,protected_storage not drsuapi:-)

(This used to be commit a60ce66a01ff7528778dfded43d2a6e893acc5e2)

14 years agor1647: destroy mem_ctx
Stefan Metzmacher [Wed, 4 Aug 2004 07:44:14 +0000 (07:44 +0000)]
r1647: destroy mem_ctx

(This used to be commit 973ac69a012e579a09807d635061ff3550a10719)

14 years agor1646: disable testing of group rename in the RPC-SAMR test, as it leaves the
Andrew Tridgell [Wed, 4 Aug 2004 06:01:10 +0000 (06:01 +0000)]
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)

14 years agor1645: added a debug when a RPC fault is received
Andrew Tridgell [Wed, 4 Aug 2004 06:00:14 +0000 (06:00 +0000)]
r1645: added a debug when a RPC fault is received
(This used to be commit cb1830909952dd0d0fed2090e820f1ee2552a7a2)

14 years agor1644: changed the way [relative] pointers work in pidl, making them much
Andrew Tridgell [Wed, 4 Aug 2004 05:59:40 +0000 (05:59 +0000)]
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)

14 years agor1642: Torture test for EnumServicesStatus, almost finished.
Jelmer Vernooij [Tue, 3 Aug 2004 23:06:15 +0000 (23:06 +0000)]
r1642: Torture test for EnumServicesStatus, almost finished.
(This used to be commit fb2ca1f4cde014c93a0741b8ba03d2d9caffd8df)

14 years agor1641: Finish IDL for EnumServicesStatus
Jelmer Vernooij [Tue, 3 Aug 2004 23:05:43 +0000 (23:05 +0000)]
r1641: Finish IDL for EnumServicesStatus
(This used to be commit c395652aa033502e4e0944b8031c869f479c888a)

14 years agor1637: - w2k3 can't handle more than 1000 names in a LookupNames request
Andrew Tridgell [Tue, 3 Aug 2004 12:30:17 +0000 (12:30 +0000)]
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)

14 years agor1636: improved the negnowait test so it is standalone (taking advantage of the async...
Andrew Tridgell [Tue, 3 Aug 2004 08:04:51 +0000 (08:04 +0000)]
r1636: improved the negnowait test so it is standalone (taking advantage of the async APIs)
(This used to be commit 19c22760c699aa2b000f023ff6083055a27a83cb)

14 years agor1635: when a transport dies, setup errors for all pending sends and recvs, plus...
Andrew Tridgell [Tue, 3 Aug 2004 08:04:11 +0000 (08:04 +0000)]
r1635: when a transport dies, setup errors for all pending sends and recvs, plus disalllow any more sends
(This used to be commit 326fdc8c9d2848c6c08a49e34c72430fe0116d23)

14 years agor1634: to get signing right for async requests we must send requests in
Andrew Tridgell [Tue, 3 Aug 2004 07:16:41 +0000 (07:16 +0000)]
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
(This used to be commit 81c450b434bb28b0fa8620c309f39203e8950497)

14 years agor1633: fixed a couple of async oplock handling errors
Andrew Tridgell [Tue, 3 Aug 2004 06:52:06 +0000 (06:52 +0000)]
r1633: fixed a couple of async oplock handling errors
(This used to be commit d7e2f39b90122088e94d4a8e8c7ffa7c91d7d664)

14 years agor1632: in case of error don't send uninitialised fnums on the wire
Andrew Tridgell [Tue, 3 Aug 2004 06:50:58 +0000 (06:50 +0000)]
r1632: in case of error don't send uninitialised fnums on the wire
(This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c)

14 years agor1631: don't use req->transport after req has been destroyed
Andrew Tridgell [Tue, 3 Aug 2004 05:59:28 +0000 (05:59 +0000)]
r1631: don't use req->transport after req has been destroyed
(This used to be commit 35f4ad4700de25085a2d0e5d0f9674ca2e606cd1)

14 years agor1630: - fixed the replacement timegm() function to work correctly for DST changes
Andrew Tridgell [Tue, 3 Aug 2004 05:47:24 +0000 (05:47 +0000)]
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)

14 years agor1629: server_zone needs to be "int" not "int16_t" as it can hold values
Andrew Tridgell [Tue, 3 Aug 2004 05:44:48 +0000 (05:44 +0000)]
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)

14 years agor1628: - fixed the comment on run_deferopen. (I also think that the
Andrew Tridgell [Tue, 3 Aug 2004 04:44:27 +0000 (04:44 +0000)]
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)

14 years agor1627: make sure we initialise write_time in the deprecated function cli_ctemp()
Andrew Tridgell [Tue, 3 Aug 2004 04:15:05 +0000 (04:15 +0000)]
r1627: make sure we initialise write_time in the deprecated function cli_ctemp()
(This used to be commit 48b5b740f1d0c252f248aa944d8487a83c016fa1)

14 years agor1619: - add support for older systems to cli_list*()
Andrew Tridgell [Mon, 2 Aug 2004 07:40:55 +0000 (07:40 +0000)]
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)

14 years agor1618: fixed the receipt of multi-part replies to SMBtrans2
Andrew Tridgell [Mon, 2 Aug 2004 05:51:42 +0000 (05:51 +0000)]
r1618: fixed the receipt of multi-part replies to SMBtrans2
(This used to be commit bd4106a8e57fc98d1feddc01b58f87f68164247a)

14 years agor1617: Start working on the svcctl pipe
Jelmer Vernooij [Mon, 2 Aug 2004 00:24:04 +0000 (00:24 +0000)]
r1617: Start working on the svcctl pipe
(This used to be commit 518ff5f505446fee623365fd5bdfc75c0cb93d2a)

14 years agor1611: Put a brace on a new line.
Tim Potter [Fri, 30 Jul 2004 05:30:14 +0000 (05:30 +0000)]
r1611: Put a brace on a new line.
(This used to be commit d9b4e45f46cd738b196f8d167cea264b3ce0d364)

14 years agor1606: make the low level socket read/write routines cope properly with non-blocking...
Andrew Tridgell [Thu, 29 Jul 2004 11:55:57 +0000 (11:55 +0000)]
r1606: make the low level socket read/write routines cope properly with non-blocking sockets
(This used to be commit bb6cbf29ccf8f2b556bf3e7b3ff487faa0f36773)

14 years agor1605: GENSEC krb5 updates - fix a valgrind found uninitialised variable, and
Andrew Bartlett [Thu, 29 Jul 2004 10:33:36 +0000 (10:33 +0000)]
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)

14 years agor1604: Samba4 avoids memcpy() as much as possible - we don't need to make a copy...
Andrew Bartlett [Thu, 29 Jul 2004 10:13:34 +0000 (10:13 +0000)]
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)

14 years agor1603: fixed in.size to not overstate the packet size by 4 bytes
Andrew Tridgell [Thu, 29 Jul 2004 09:30:54 +0000 (09:30 +0000)]
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)

14 years agor1602: make sure we honor the use_spnego flag
Andrew Tridgell [Thu, 29 Jul 2004 08:14:34 +0000 (08:14 +0000)]
r1602: make sure we honor the use_spnego flag
(This used to be commit de764d9004a0d90479158e78e30b1266eb529e3e)

14 years agor1596: Fix up copyrights.
Jim McDonough [Wed, 28 Jul 2004 13:08:08 +0000 (13:08 +0000)]
r1596: Fix up copyrights.
(This used to be commit d2553aac0a75591026b9b1fcf46065e5b03ed19c)

14 years agor1595: Always use a loop variable named $e when iterating over lists of
Tim Potter [Tue, 27 Jul 2004 19:08:34 +0000 (19:08 +0000)]
r1595: Always use a loop variable named $e when iterating over lists of
(This used to be commit daf2aea67cbfa2cda1fb3da8862b152c66d9573f)

14 years agor1594: Remove some array checks that we can't do because we don't store state
Tim Potter [Tue, 27 Jul 2004 18:45:18 +0000 (18:45 +0000)]
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
(This used to be commit 10e3ba03df500ecbb24a70fb9a59c80ac64608da)

14 years agor1593: Fix bug in get_subtree() where we were always looking at the head of
Tim Potter [Tue, 27 Jul 2004 18:43:39 +0000 (18:43 +0000)]
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)

14 years agor1592: Fix up subtrees for non-scalar types instead of hardcoding module subtree.
Tim Potter [Tue, 27 Jul 2004 10:56:34 +0000 (10:56 +0000)]
r1592: Fix up subtrees for non-scalar types instead of hardcoding module subtree.

Arrays currently broken though.  )-:
(This used to be commit 8fad205c51d270cdf7f84a8cec6ebea7ccf4cead)

14 years agor1586: Finally, a technique for putting buffers in scalars in the same
Tim Potter [Mon, 26 Jul 2004 04:11:18 +0000 (04:11 +0000)]
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)

14 years agor1585: add start, this should be configure a
Stefan Metzmacher [Sun, 25 Jul 2004 15:09:48 +0000 (15:09 +0000)]
r1585: add start, this should be configure a
samba4 ads domain controller's ldb database

(This used to be commit 932e22badda84c3c1d0ee71a4dec32a21ca37e60)

14 years agor1578: the first stage of the async client rewrite.
Andrew Tridgell [Fri, 23 Jul 2004 06:40:49 +0000 (06:40 +0000)]
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
(This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)

14 years agor1558: the unknown_time is the same as the logon_time in the PAC_LOGON_INFO
Stefan Metzmacher [Wed, 21 Jul 2004 09:57:39 +0000 (09:57 +0000)]
r1558: the unknown_time is the same as the logon_time in the PAC_LOGON_INFO

the account_name is a 'nstring'

(This used to be commit bb906e5e9e566e7ed931436956ba8323503875f9)

14 years agor1552: commit the first version of the pidl generated krb5 PAC parser
Stefan Metzmacher [Tue, 20 Jul 2004 20:30:29 +0000 (20:30 +0000)]
r1552: commit the first version of the pidl generated krb5 PAC parser

NOTE: there a lot of work todo, maybe we need to extent pidl

(This used to be commit b94a09d461291d9dd47c5859537d6025f02a80ff)

14 years agor1547: rename 'enum <bla>_level' -> 'enum smb_<bla>_level'
Stefan Metzmacher [Mon, 19 Jul 2004 10:35:05 +0000 (10:35 +0000)]
r1547: rename 'enum <bla>_level' -> 'enum smb_<bla>_level'

e.g. we now have 'union smb_mkdir' and 'enum smb_mkdir_level' in sync

we may should also rename 'RAW_MKDIR_*' -> 'SMB_MKDIR_*'

(This used to be commit 0bb50dcf1ccb9797000fcbea4d8a73f2d2a3db77)

14 years agor1546: fix the build the function name has changed to srvsvc_NetRemoteTOD
Stefan Metzmacher [Mon, 19 Jul 2004 10:15:33 +0000 (10:15 +0000)]
r1546: fix the build the function name has changed to srvsvc_NetRemoteTOD
because I implemented the idl for it

(This used to be commit 76cb9966bf961383b36846627c13b562be5edf4e)

14 years agor1545: add some comments and move a transport function to the transport section
Stefan Metzmacher [Mon, 19 Jul 2004 06:49:53 +0000 (06:49 +0000)]
r1545: add some comments and move a transport function to the transport section

(This used to be commit 7d5ca8cc7cdeef0fc9307f8f98366958aa4ce3c2)

14 years agor1544: add some comments and fix 'return True' -> 'return ret'
Stefan Metzmacher [Mon, 19 Jul 2004 06:41:34 +0000 (06:41 +0000)]
r1544: add some comments and fix 'return True' -> 'return ret'

(This used to be commit a9a22d1e0db32c7715809efc4bb08ea5a5a9a69b)

14 years agor1543: add srvsvc_NetRemoteTOD idl and torture tests
Stefan Metzmacher [Mon, 19 Jul 2004 06:14:00 +0000 (06:14 +0000)]
r1543: add srvsvc_NetRemoteTOD idl and torture tests

(This used to be commit 3f2b77d7ec024f54dc478522d85278ced8fce617)

14 years agor1540: - Remove return statements when a parse error is detected as ethereal
Tim Potter [Sat, 17 Jul 2004 03:43:15 +0000 (03:43 +0000)]
r1540: - Remove return statements when a parse error is detected as ethereal
  will do this for us.

- Fix a format string error

- Use subtrees for scalar and buffer elements

- Add subtree support for function request/responses

- Formatting fixups
(This used to be commit 0f7b473b4aa5845c12b387d9be8bc6501cc10136)

14 years agor1535: Create a subtree for each array element.
Tim Potter [Fri, 16 Jul 2004 12:59:16 +0000 (12:59 +0000)]
r1535: Create a subtree for each array element.
(This used to be commit 4099e10d435436c092ca0e512fd4ddafdf4ae6a5)

14 years agor1534: Alternate method of grouping togethers buffers and scalars which actually
Tim Potter [Fri, 16 Jul 2004 12:58:33 +0000 (12:58 +0000)]
r1534: Alternate method of grouping togethers buffers and scalars which actually
seems to work.  We create a subtree one level higher instead of in the
parse function.
(This used to be commit 3f5c087c40c2df8c54feab1b416bc479fb739561)

14 years agor1530: we don't need to call srvsvc_NetShareGetInfo twice
Stefan Metzmacher [Fri, 16 Jul 2004 09:51:54 +0000 (09:51 +0000)]
r1530: we don't need to call srvsvc_NetShareGetInfo twice
in NetShareEnum and NetShareEnumAll

(This used to be commit e5bf65b840cd7fbc97166c6313f5eb29de9d129f)