summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-10-30- a few portability fixes from Jim MyersAndrew Tridgell6-0/+630
- added SMBD_LISTEN_BACKLOG in local.h - added the beginnings of a ndr/rpc parsing framework for Samba4. It currently correctly parses security descriptors for the nttrans QUERY_SECDESC call, but I hope it will become a reasonable framework that an idl based generator can work to (This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761)
2003-10-28A fix for making transfer syntax a pointer instead of an array of pointersTim Potter1-2/+2
in struct p_ctx_list. (This used to be commit e99e28aa36f31e862e89cef246b50a34b5115af9)
2003-10-28Cli level code for initial dcerpc client support.Tim Potter1-0/+254
(This used to be commit 94686a3f941086510415273f71503cd5f18179b8)
2003-10-28Initial version of raw dcerpc client support.Tim Potter1-0/+222
(This used to be commit 34a2cc10992953897268ca864f2851f4c2d99e1e)
2003-10-28Implement raw SMBtrans by backending the SMBtrans2 send code. Receive isTim Potter1-8/+53
the same for trans and trans2. (This used to be commit 7d21af3fdf6cf5144a41021425179ca2bba553b3)
2003-10-10fixed snprintf.c for systems that have only some of the *printf() family of ↵Andrew Tridgell1-0/+5
functions cope with servers that return bogus (too large) values in max_xmit cope with a couple more error conditions in RAW-SFILEINFO better startup time heuristics in NBENCH (This used to be commit 89f7261ba589e5760b3cf9c3594eab9d7198dd7e)
2003-09-02thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell2-30/+26
fields in level 261 and level 262 of directory search are, plus the names of the levels the unknown fields are a 64bit unique file id, and match the 64 bit number from the internal_information qfileinfo level (This used to be commit b69f54eb028a24144a2e813f059b08644118ab09)