summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw
Commit message (Collapse)AuthorAgeFilesLines
...
* r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher2007-10-1014-50/+50
| | | | | metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
* r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher2007-10-106-14/+14
| | | | | metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
* r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell2007-10-104-21/+17
| | | | | | | | | | structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
* r719: Follow the trend - remove more unused functions.Andrew Bartlett2007-10-101-22/+0
| | | | | Andrew Bartlett (This used to be commit 62eef851fd79b2739b93b4ed7829514a3dcbf1d0)
* r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.Andrew Bartlett2007-10-103-20/+29
| | | | | | | | | | | | | | | | | | | | - This required using NETLOGON_NEG_AUTH2_FLAGS for the SetupCredentials2 negotiation flags, which is what Samba3 does, because otherwise the server uses different crypto. - This tests the returned session keys, which we decrypt. - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in most places. - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is available. - Remove a useless argument to SMBsesskeygen_ntv1 - move netr_CredentialState from the .idl to the new credentials.h Andrew Bartlett (This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)
* r335: added much better handling of servers that die unexpectedly during aAndrew Tridgell2007-10-104-8/+38
| | | | | | | | | | | | | request (a dead socket). I discovered this when testing against Sun's PC-NetLink. cleaned up the naming of some of the samr requests add IDL and test code for samr_QueryGroupMember(), samr_SetMemberAttributesOfGroup() and samr_Shutdown(). (actually, I didn't leave the samr_Shutdown() test in, as its fatal to windows servers due to doing exactly what it says it does). (This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
* r204: Turns out that the string in the SEARCH unix_info level is thatJeremy Allison2007-10-102-5/+50
| | | | | | | | | | rare thing, a non-length string (ie. not a WIRE_STRING) but a null terminated char string. There wasn't a good interface to pull that out of a blob (all the string interfaces assumed WIRE_STRINGS). Added a new one, only used for this call. Sucks, I know - but the alternatives suck more. Added tests for some of the unix info returned. Jeremy. (This used to be commit 4d0ed04c54b105789ffd32334c3b0e544f02418c)
* r189: Added UNIX search into tests - added client library parse code.Jeremy Allison2007-10-101-1/+27
| | | | | Jeremy. (This used to be commit a25ae9addbb362abf67a0cbd6e62bf4cbe06d8b7)
* r152: a quick airport commit ....Andrew Tridgell2007-10-107-37/+153
| | | | | | | | | | | | | | | added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
* r100: remember the user session key during session setup so it can be used ↵Andrew Tridgell2007-10-102-0/+11
| | | | | | | in various crypto routines (This used to be commit f6cf9020c8899e784385ea0e14fa465685441ee6)
* fixed the handling of level II oplocks in samba4, especially whenAndrew Tridgell2004-03-252-2/+3
| | | | | acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
* fixed two writex client bugsAndrew Tridgell2004-03-081-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)
* fixed a problem with the smb client code spinning when the connectionAndrew Tridgell2004-02-211-1/+5
| | | | | | is lost. We now close the cli_transport when there is a socket io error (This used to be commit 138cb5f2f5f8ce1479ac687d18e6a0e355e55b7f)
* 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)
* 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)
* fixed default port handling pointed out by Tom JansenAndrew Tridgell2003-11-261-1/+1
| | | | (This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
* 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)
* 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-061-320/+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)
* fixed some error found by valgrindAndrew Tridgell2003-11-041-0/+3
| | | | (This used to be commit ca5f0ccb6cd10d51c96a5cd8e0cd97d50cbb9a73)
* lsa_EnumSids() now worksAndrew Tridgell2003-11-041-0/+3
| | | | (This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
* yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell2003-11-041-0/+62
| | | | | using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
* added support for fragmented sendsAndrew Tridgell2003-11-041-0/+32
| | | | (This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
* added fragmentation support on receive for dcerpc packets. I haveAndrew Tridgell2003-11-041-2/+139
| | | | | successfully used SourceData with 200M of data in rpcecho (This used to be commit a9aa7954fe84c925bb158af8b73aa71b7ea84e2b)
* a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell2003-11-034-187/+92
| | | | | successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
* - a few portability fixes from Jim MyersAndrew Tridgell2003-10-301-0/+97
| | | | | | | | | | - 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)
* 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)
* thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell2003-09-022-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)
* I think I've finally got the ascii/unicode issues right in trans2 findAndrew Tridgell2003-08-313-11/+22
| | | | | | | first Also expanded the rename test a little (This used to be commit 723af7f097a8c7f23dac23039e479811559ac3cb)
* more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell2003-08-151-4/+1
| | | | (This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)
* more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell2003-08-153-5/+1
| | | | (This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
* wrong typecastHerb Lewis2003-08-151-1/+1
| | | | (This used to be commit de7674ebefe3a8b0f953afe983ce058e11f827c2)
* fixed some places where we don't brace (flags & STR_UNICODE)Andrew Tridgell2003-08-151-1/+1
| | | | | this fixes the samba4 server with ascii clients (This used to be commit c770603ac6c3331a4ac79a650cbbbeb21c778137)
* some servers don't return a fs_type and dev_typeAndrew Tridgell2003-08-151-2/+6
| | | | (This used to be commit eaec1bdaadd744c63fb270b3807bc284dfadb37d)
* fixed a comment typoAndrew Tridgell2003-08-151-2/+2
| | | | (This used to be commit 4cc8fef8ca278b19eb4601e7660fc1976594412e)
* nicer formatting in getattreAndrew Tridgell2003-08-151-6/+6
| | | | (This used to be commit 52657c369b26710ed4d3a8cce81dd518547c583e)
* added the ancient SMBcreate operation to the testsuite and client libAndrew Tridgell2003-08-141-0/+12
| | | | (This used to be commit 3eef35e581b5e1802711b9b5297f61800a7e242e)
* - added a raw smb scannerAndrew Tridgell2003-08-131-1/+1
| | | | | - its not a root_fid in ntrename (This used to be commit 74be55efdc77d4ba7e70d0554cbd72472522abff)
* - added SMBntrename test suiteAndrew Tridgell2003-08-131-8/+19
| | | | | | | - allow username of form DOMAIN\username or DOMAIN/username - added ntrename to gentest (This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)
* add support for 32 bit pid using the PIDHIGH field. This allows theAndrew Tridgell2003-08-131-1/+2
| | | | | test suite to see if it is supported. w2k3 doesn't seem to support it. (This used to be commit c946be06a49e9a187045f2372ef7c1b987eaf6e5)
* use the \\server\share form of tconx to work with servers that don'tAndrew Tridgell2003-08-131-1/+4
| | | | | cope with the simpler form (This used to be commit 295cc63fb8d99d403c863a7b30cb30382070a6f9)