summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter2004-02-104-112/+113
| | | | | only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
* - modified the dcerpc client security code to be generic, so ntlmsspAndrew Tridgell2004-02-102-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)
* Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter2004-02-088-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)
* merge:Stefan Metzmacher2004-02-012-44/+72
| | | | | | | | ldap and krb5 configure tests libads/*.c and libcli/raw/clikrb5.c from 3.0 metze (This used to be commit 64b5bfcd73d7626d6f687a641b11e64821144df7)
* * fixed a segv when -U is not used in smbtorture.Andrew Tridgell2004-01-152-6/+18
| | | | | * fixed the handling of anonymous logins (This used to be commit 7cbc4ad8710ad33387145bfc9974d0ed4b0fb231)
* Autodetect service_type in cli_tree_full_connection() if the callerTim Potter2004-01-021-0/+6
| | | | | passes in NULL. (This used to be commit b63ebaa770940a276ab63583a13d8cc349b6efe6)
* a fairly large commit!Andrew Tridgell2003-12-161-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)
* make sure we allow clients to negotiate ntlmssp seal if they want itAndrew Tridgell2003-12-151-1/+2
| | | | (This used to be commit a1275c1e89462f0a3cce73066777055c3c970b76)
* the next step in the dcerpc server code. Added the link between theAndrew Tridgell2003-12-111-3/+5
| | | | | IPC IO routines and the dcerpc endpoint servers. (This used to be commit 4929c53bc8dddda8a763fdfbcf81a79776d01113)
* * patch based on work by Jim Myers to unify the ioctl handling to beAndrew Tridgell2003-12-041-34/+71
| | | | | | | more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
* added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell2003-12-021-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)
* another big improvement in the credentials API. I think it nowAndrew Tridgell2003-12-021-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)
* * netr_ServerPasswordSet() now works - the test suite changes theAndrew Tridgell2003-12-021-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)
* * another small API change in the credentials codeAndrew Tridgell2003-12-012-62/+88
| | | | | * don't use static variables in the smbdes code (This used to be commit e6e09064646c347169852fa162c72fc0542c6d5c)
* neater credentials handling in netlogon client codeAndrew Tridgell2003-12-011-159/+32
| | | | (This used to be commit b7d748f499f79415b444e7cebe7d8de7186fbc94)
* fixed NTLMSSP_SIGN_VERSION (which I broke earlier today)Andrew Tridgell2003-12-011-2/+1
| | | | (This used to be commit c8ef04077413f44101ba071187554e65a8e1c8fc)
* added netr_LogonSamLogon() and test codeAndrew Tridgell2003-12-011-3/+0
| | | | (This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
* added netr_ServerAuthenticate() and test codeAndrew Tridgell2003-12-012-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)
* * got rid of UNISTR2 and everything that depends on itAndrew Tridgell2003-12-012-194/+3
| | | | | | * removed a bunch of code that needs to be rewritten using the new interfaces (This used to be commit 9b02b486ef5906516f8cad79dbff5e3dd54cde66)
* fixed default port handling pointed out by Tom JansenAndrew Tridgell2003-11-261-1/+1
| | | | (This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
* fixed some memory leaks in the dcerpc use of ntlmssp signingAndrew Tridgell2003-11-261-2/+6
| | | | (This used to be commit abbc9993b8f7eb9f57e079db1d0b170d0b9aa443)
* signed DCERPC over TCP now works !Andrew Tridgell2003-11-267-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)
* reduced the number of magic types we need in mkproto.plAndrew Tridgell2003-11-231-2/+2
| | | | | | In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
* make the socket send code a little clearerAndrew Tridgell2003-11-201-1/+5
| | | | (This used to be commit 48028fbb856ea7ee642f36ba9ed0d5815763f52b)
* updated copyright yearAndrew Tridgell2003-11-191-1/+1
| | | | (This used to be commit 4dcc06d04c67c6e063c5b2a88f693423c77f342d)
* * add another WERR err codeAndrew Tridgell2003-11-171-0/+1
| | | | | | * use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
* security descriptors are no longer a "special" type, they are handledAndrew Tridgell2003-11-171-1/+1
| | | | | | | using the [relative] property this also fixes level3 of PrinterInfo (a relative secdesc) (This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
* added OpenPrinter and a test function. Note that the Samba3 structureAndrew Tridgell2003-11-171-0/+6
| | | | | for OpenPrinter was wrong. (This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
* - corrected some lsa idlAndrew Tridgell2003-11-081-1/+5
| | | | | - updated lsa parse code from pidl (This used to be commit 3983b2aee77b0e093847bfc02e02b83ab281f5dd)
* another major bit of restructuring of rpc in Samba4. Mostly movingAndrew Tridgell2003-11-0616-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)
* finished off the ndr_sec.c moduleAndrew Tridgell2003-11-052-15/+164
| | | | (This used to be commit 6a8f297c45c9897b3dba18467cb449a70abf0b56)
* fixed another error found by valgrindAndrew Tridgell2003-11-042-5/+3
| | | | (This used to be commit 4368eaa523830f3101f0bb052346ed26bc70ae73)
* fixed some error found by valgrindAndrew Tridgell2003-11-044-3/+11
| | | | (This used to be commit ca5f0ccb6cd10d51c96a5cd8e0cd97d50cbb9a73)
* lsa_EnumSids() now worksAndrew Tridgell2003-11-045-2/+109
| | | | (This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
* lsa_OpenPolicy2 now worksAndrew Tridgell2003-11-044-10/+85
| | | | (This used to be commit 9cf479873f3501776091c9d01551adadcf525794)
* yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell2003-11-0410-25/+422
| | | | | using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
* added support for fragmented sendsAndrew Tridgell2003-11-043-8/+83
| | | | (This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
* added fragmentation support on receive for dcerpc packets. I haveAndrew Tridgell2003-11-042-5/+188
| | | | | successfully used SourceData with 200M of data in rpcecho (This used to be commit a9aa7954fe84c925bb158af8b73aa71b7ea84e2b)
* added SinkData and SourceData tests for rpcechoAndrew Tridgell2003-11-034-1/+114
| | | | (This used to be commit 7c356350e6148078725de6b6829eb0855771ae17)
* added rpcecho EchoData testAndrew Tridgell2003-11-034-1/+91
| | | | (This used to be commit 9c7e4db4712d1b2b7d8125e3ae535efd50b80f58)
* actually use the passed parameters!Andrew Tridgell2003-11-031-3/+3
| | | | (This used to be commit 717803848afd7e1b443c3134183c171b54f192d7)
* added a helper function to make building rpc functions a bit easierAndrew Tridgell2003-11-033-32/+66
| | | | (This used to be commit a8feb80438680b9ec399c908987c58c4a6a998e6)
* started adding RPC-ECHO torture casesAndrew Tridgell2003-11-036-11/+187
| | | | (This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
* we only want the per-call stub dataAndrew Tridgell2003-11-031-6/+21
| | | | (This used to be commit 95fa15cdcf2df5e8436281cdf96c84228a56cc4c)
* a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell2003-11-0313-642/+1228
| | | | | successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
* - a few portability fixes from Jim MyersAndrew Tridgell2003-10-306-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)
* A fix for making transfer syntax a pointer instead of an array of pointersTim Potter2003-10-281-2/+2
| | | | | in struct p_ctx_list. (This used to be commit e99e28aa36f31e862e89cef246b50a34b5115af9)
* Cli level code for initial dcerpc client support.Tim Potter2003-10-281-0/+254
| | | | (This used to be commit 94686a3f941086510415273f71503cd5f18179b8)
* Initial version of raw dcerpc client support.Tim Potter2003-10-281-0/+222
| | | | (This used to be commit 34a2cc10992953897268ca864f2851f4c2d99e1e)
* Implement raw SMBtrans by backending the SMBtrans2 send code. Receive isTim Potter2003-10-281-8/+53
| | | | | the same for trans and trans2. (This used to be commit 7d21af3fdf6cf5144a41021425179ca2bba553b3)