summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2004-03-25fixed the handling of level II oplocks in samba4, especially whenAndrew Tridgell2-2/+3
acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
2004-03-08fixed two writex client bugsAndrew Tridgell1-4/+4
- always use the 14 word writex varient even for small transfers as long as large offsets are negotiated (this matches windows behaviour) - make sure we fill in the top 16 bits of the count for large writex calls (This used to be commit 9ea20d0c9a1cb4800f3f54195cbbe70c98c8e423)
2004-02-21The file descriptor argument to cli_getattrE() is a fnum not a fd.Tim Potter1-2/+2
(This used to be commit f172b6f1d08b7de040cde4a7d88708e5af29a3a4)
2004-02-21fixed a problem with the smb client code spinning when the connectionAndrew Tridgell1-1/+5
is lost. We now close the cli_transport when there is a socket io error (This used to be commit 138cb5f2f5f8ce1479ac687d18e6a0e355e55b7f)
2004-02-12move more code to the config.m4 schemeStefan Metzmacher2-0/+45
LIBBASIC, LIBSMB are the new global subsystems metze (This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter4-112/+113
only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-10- modified the dcerpc client security code to be generic, so ntlmsspAndrew Tridgell2-0/+344
and schannel are both instances of possible security modules - added schannel sign and sign/seal support to the dcerpc client code. You select it with binding options of "schannel,sign" or "schannel,seal". (This used to be commit 05db0b9d942cad8f1dd574dc35b759e5e79d4195)
2004-02-08Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter8-152/+168
smbtorture to use the new interface. Part 2 will be to eliminate cli_state from smbtorture as this is now the only place where it is used. (This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2004-02-01merge:Stefan Metzmacher2-44/+72
ldap and krb5 configure tests libads/*.c and libcli/raw/clikrb5.c from 3.0 metze (This used to be commit 64b5bfcd73d7626d6f687a641b11e64821144df7)
2004-01-15* fixed a segv when -U is not used in smbtorture.Andrew Tridgell2-6/+18
* fixed the handling of anonymous logins (This used to be commit 7cbc4ad8710ad33387145bfc9974d0ed4b0fb231)
2004-01-02Autodetect service_type in cli_tree_full_connection() if the callerTim Potter1-0/+6
passes in NULL. (This used to be commit b63ebaa770940a276ab63583a13d8cc349b6efe6)
2003-12-16a fairly large commit!Andrew Tridgell1-1/+2
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-15make sure we allow clients to negotiate ntlmssp seal if they want itAndrew Tridgell1-1/+2
(This used to be commit a1275c1e89462f0a3cce73066777055c3c970b76)
2003-12-11the next step in the dcerpc server code. Added the link between theAndrew Tridgell1-3/+5
IPC IO routines and the dcerpc endpoint servers. (This used to be commit 4929c53bc8dddda8a763fdfbcf81a79776d01113)
2003-12-04* patch based on work by Jim Myers to unify the ioctl handling to beAndrew Tridgell1-34/+71
more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
2003-12-02added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell1-3/+9
yet, but at least the request is understood by w2k3 Also modified pidl to allow multiple branches in a union to have the same element. This is used in netlogon. (This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)
2003-12-02another big improvement in the credentials API. I think it nowAndrew Tridgell1-42/+69
actually makes sense, and as a nice side effect it matches the debug output of the w2k3 netlogon.log (This used to be commit 3c7287c24e5970e5b7447ad042848505537c7d3b)
2003-12-02 * netr_ServerPasswordSet() now works - the test suite changes theAndrew Tridgell1-0/+11
machine account password. * neater handling on value() options in IDL. The auto-print code will now display the right value so you don't need to initialise it in your C code (This used to be commit 3dd978b12bb5571fba4e1839c0f7ee60cf729aa2)
2003-12-01 * another small API change in the credentials codeAndrew Tridgell2-62/+88
* don't use static variables in the smbdes code (This used to be commit e6e09064646c347169852fa162c72fc0542c6d5c)
2003-12-01neater credentials handling in netlogon client codeAndrew Tridgell1-159/+32
(This used to be commit b7d748f499f79415b444e7cebe7d8de7186fbc94)
2003-12-01fixed NTLMSSP_SIGN_VERSION (which I broke earlier today)Andrew Tridgell1-2/+1
(This used to be commit c8ef04077413f44101ba071187554e65a8e1c8fc)
2003-12-01added netr_LogonSamLogon() and test codeAndrew Tridgell1-3/+0
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
2003-12-01added netr_ServerAuthenticate() and test codeAndrew Tridgell2-21/+213
I would like the netlogon test suite to eventually do a new domain join using a fake workstation name, then remove itself afterwards, but for now I'm assuming we are already joined to the domain when the testsuite runs. This means you need to use the Samba3 net command to do a join before running RPC-NETLOGON (This used to be commit 8c7a9446a0892a4f7722cced5019667f7a9fafdd)
2003-12-01 * got rid of UNISTR2 and everything that depends on itAndrew Tridgell2-194/+3
* removed a bunch of code that needs to be rewritten using the new interfaces (This used to be commit 9b02b486ef5906516f8cad79dbff5e3dd54cde66)
2003-11-26fixed default port handling pointed out by Tom JansenAndrew Tridgell1-1/+1
(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
2003-11-26fixed some memory leaks in the dcerpc use of ntlmssp signingAndrew Tridgell1-2/+6
(This used to be commit abbc9993b8f7eb9f57e079db1d0b170d0b9aa443)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell7-941/+1788
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp code from samba3 (thanks Andrew! the new interface is great) * added signing/ntlmssp support in the dcerpc code * added a dcerpc_auth.c module for the various dcerpc auth mechanisms (This used to be commit c18c9b5585a3e5f7868562820c14f7cb529cdbcd)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell1-2/+2
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-20make the socket send code a little clearerAndrew Tridgell1-1/+5
(This used to be commit 48028fbb856ea7ee642f36ba9ed0d5815763f52b)
2003-11-19updated copyright yearAndrew Tridgell1-1/+1
(This used to be commit 4dcc06d04c67c6e063c5b2a88f693423c77f342d)
2003-11-17 * add another WERR err codeAndrew Tridgell1-0/+1
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-17security descriptors are no longer a "special" type, they are handledAndrew Tridgell1-1/+1
using the [relative] property this also fixes level3 of PrinterInfo (a relative secdesc) (This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
2003-11-17added OpenPrinter and a test function. Note that the Samba3 structureAndrew Tridgell1-0/+6
for OpenPrinter was wrong. (This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
2003-11-08- corrected some lsa idlAndrew Tridgell1-1/+5
- updated lsa parse code from pidl (This used to be commit 3983b2aee77b0e093847bfc02e02b83ab281f5dd)
2003-11-06another major bit of restructuring of rpc in Samba4. Mostly movingAndrew Tridgell16-2971/+0
files around, but also added the first bits of auto-generated code for the lsa pipe. I haven't updated the Makefile to call pidl yet, so for now the code was cut-and-pasted into librpc/ndr/ndr_lsa.c manually (This used to be commit 6b222d3b6541ee74cf8bf3f0913cd444903ca991)
2003-11-05finished off the ndr_sec.c moduleAndrew Tridgell2-15/+164
(This used to be commit 6a8f297c45c9897b3dba18467cb449a70abf0b56)
2003-11-04fixed another error found by valgrindAndrew Tridgell2-5/+3
(This used to be commit 4368eaa523830f3101f0bb052346ed26bc70ae73)
2003-11-04fixed some error found by valgrindAndrew Tridgell4-3/+11
(This used to be commit ca5f0ccb6cd10d51c96a5cd8e0cd97d50cbb9a73)
2003-11-04lsa_EnumSids() now worksAndrew Tridgell5-2/+109
(This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
2003-11-04lsa_OpenPolicy2 now worksAndrew Tridgell4-10/+85
(This used to be commit 9cf479873f3501776091c9d01551adadcf525794)
2003-11-04yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell10-25/+422
using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
2003-11-04added support for fragmented sendsAndrew Tridgell3-8/+83
(This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
2003-11-04added fragmentation support on receive for dcerpc packets. I haveAndrew Tridgell2-5/+188
successfully used SourceData with 200M of data in rpcecho (This used to be commit a9aa7954fe84c925bb158af8b73aa71b7ea84e2b)
2003-11-03added SinkData and SourceData tests for rpcechoAndrew Tridgell4-1/+114
(This used to be commit 7c356350e6148078725de6b6829eb0855771ae17)
2003-11-03added rpcecho EchoData testAndrew Tridgell4-1/+91
(This used to be commit 9c7e4db4712d1b2b7d8125e3ae535efd50b80f58)
2003-11-03actually use the passed parameters!Andrew Tridgell1-3/+3
(This used to be commit 717803848afd7e1b443c3134183c171b54f192d7)
2003-11-03added a helper function to make building rpc functions a bit easierAndrew Tridgell3-32/+66
(This used to be commit a8feb80438680b9ec399c908987c58c4a6a998e6)
2003-11-03started adding RPC-ECHO torture casesAndrew Tridgell6-11/+187
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
2003-11-03we only want the per-call stub dataAndrew Tridgell1-6/+21
(This used to be commit 95fa15cdcf2df5e8436281cdf96c84228a56cc4c)
2003-11-03a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell13-642/+1228
successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)