summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell4-4/+4
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell123-369/+246
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23754: Make sure to check the status return before we de-reference theAndrew Bartlett1-0/+3
returned elements. Andrew Bartlett (This used to be commit 3a8192c74288b98bc61af95aa5cd39b1584411c1)
2007-10-10r23519: added libcli code for fetching shadow copy informationAndrew Tridgell4-4/+99
(This used to be commit a9c23729f253f65825466cfef965d259ec35a54c)
2007-10-10r23381: Merge netr_GetDcName WERROR return and ↵Günther Deschner2-0/+2
WERROR_DOMAIN_CONTROLLER_NOT_FOUND from SAMBA_3_0. Guenther (This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10r23176: Note that we only return one DC from this call at the moment.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4fee8a7b77d01c7cb8b32911016158f2ff2cf8f6)
2007-10-10r23138: added a raw interface for SMBecho operationsAndrew Tridgell2-0/+86
(This used to be commit 590c6c21db5abd436441a9af62ee65436d6f1222)
2007-10-10r23058: the cldap code was getting too intimate with the internals of structAndrew Tridgell1-3/+9
asn1_context. A hangover from when it wasn't a allocated structure (This used to be commit e4b7968a40e11a96a0b9671f8ef5436f18427818)
2007-10-10r23057: only call the async recv function for the first pending receive, notAndrew Tridgell1-2/+5
all pending receives, when the transport dies. This is because the async callback most commonly shuts down the connection (it's the only reasonable thing to do when it's dead), and that frees the whole context. That means that if we loop more than once, we'll end up using freed memory. (This used to be commit 75d537d3a5e3fc5258ce48bfec0c0ce6160978f6)
2007-10-10r23037: actually fix the asn1 memory leak :-)Stefan Metzmacher1-1/+1
metze (This used to be commit 13bda1152d3b88c0b93610d4698ce24183334276)
2007-10-10r23036: error checking on asn1_init() failureAndrew Tridgell5-2/+52
(This used to be commit 26cf8494084c0106ef0e1c9b6ef40eeadf945ef2)
2007-10-10r23030: finally fixed up our asn1 code to use better memory allocation. ThisAndrew Tridgell6-368/+363
should allow us to fix some long standing memory leaks. (This used to be commit 3db49c2ec9968221c1361785b94061046ecd159d)
2007-10-10r22986: error 2312 is returned when NetSessDel() fails because a matching ↵Ronnie Sahlberg1-0/+1
session (username/clientname) could not be found (This used to be commit e2b46d280db114656e18f023a9efa939b5c893d5)
2007-10-10r22958: For SRVSVC/NetFileClose only Administrator is allowed to close ↵Ronnie Sahlberg1-0/+1
open files. If a normal user tries to close a file that exists, even that users own files the server responds with this error on w2k if the file does not exist, the server instead responds with WERR_BADFILE (This used to be commit c17df8bed66d70765b85b6e04f2ad0a57073ffb4)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-1/+1
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22884: Be consistant with the case of these constants.Andrew Bartlett3-3/+3
Andrew Bartlett (This used to be commit 7b086eebd6af21674ca18c7d9b35cb2c6b57514a)
2007-10-10r22866: handle incoming chained smb2 requests in our server code to letStefan Metzmacher2-13/+13
the windows explorer in longhorn beta3 work. metze (This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
2007-10-10r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3Stefan Metzmacher1-5/+6
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading and name in SMB2-LOCK-RW-EXCLUSIV - add SMB2-LOCK-NONE and SMB2-LOCK-SHARED metze (This used to be commit 258555975d3877cff3bc3022f3439cdd61f6c8ac)
2007-10-10r22791: make it possible to use smb2_create_blob_add() in the server code tooStefan Metzmacher1-3/+3
metze (This used to be commit c08eeb62ca001cebcb7af2b655269e4b388e69c1)
2007-10-10r22790: fix initialization for chained requestsStefan Metzmacher1-0/+1
metze (This used to be commit e1cc933c009f98264c0e8c65bfd93a0d1219a0e2)
2007-10-10r22788: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 635a636e89e462825efaacd5563c40fec2ceefb1)
2007-10-10r22762: Some ldb_map changes:Jelmer Vernooij1-1/+1
* Change license to LGPL, so it can be used by non-Samba users of LDB (cleared with Martin as well). * Include ldb_map in standalone build. * Move ldb_map to its own directory (This used to be commit a90202abca26c0da5425a2f3dd8494077c3290fd)
2007-10-10r22749: fix memory leak of nbt_name_request structure which are used to send ↵Stefan Metzmacher1-3/+6
replies and never have an async callback that could free it. we only had the memory leak in the error path the standard path was ok. metze (This used to be commit d2a2fe662db5b773f4bd54498d6b31b773633903)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22628: convert to new composite apiStefan Metzmacher1-29/+28
and free the smbcli_request explicit to fix a crash where the request handler gets called after its private data is already freed metze (This used to be commit 55306c618807f2661090d2189e269cb3e142ee06)
2007-10-10r22620: fix compiler warningsStefan Metzmacher1-4/+4
metze (This used to be commit b7adc88e743308742545f3ee6710f8c0bfa197d8)
2007-10-10r22616: allow the unclist file to not specify a share name, and insteadAndrew Tridgell1-0/+3
inherit the share name from the command line if it is not specified. This allows you to just specify the servers in the unclist, and connect to the same share on all servers. (This used to be commit 946f5d09ae204348026170173cf2bfd30d49e4f2)
2007-10-10r22405: fix memory leak in error pathStefan Metzmacher1-0/+1
metze (This used to be commit d19195bfa5405822613d5236cd76547f0ac77bde)
2007-10-10r22090: fix error handling in cldap client library to cope with bad host namesAndrew Tridgell2-6/+13
(This used to be commit 99c51b104d05a8ad32563497216271e2f20d4985)
2007-10-10r21949: After discussion with the Apple and Linux client maintainers,James Peach2-6/+16
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. the lenght field does not count any null. (This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
2007-10-10r21806: I've been working over the last week to fix up the LDAP backend forAndrew Bartlett4-64/+107
Samba4. This only broke on global catalog queries, which turned out to be due to changes in the partitions module that metze needed for his DRSUAPI work. I've reworked partitions.c to always include the 'problematic' control, and therefore demonstrated that this is the issue. This ensures consistency, and should help with finding issues like this in future. As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to be linearised, I've added logic to allow it to be skipped when creating network packets. I've likewise make our LDAP server skip unknown controls, when marked 'not critical' on it's input, rather than just dropping the entire request. I need some help to generate a correct error packet when it is marked critical. Further work could perhaps be to have the ldap_encode routine return a textual description of what failed to encode, as that would have saved me a lot of time... Andrew Bartlett (This used to be commit eef710668f91d1bbaa2d834d9e653e11c8aac817)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett1-3/+6
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach5-25/+214
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach1-0/+1
convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10r21594: give the same error in all resolve backendsStefan Metzmacher1-2/+2
metze (This used to be commit 5534ba591deb362e30e40afff923af4b890ab7a9)
2007-10-10r21593: give a more useful error, when we can't resolve a long nameStefan Metzmacher1-0/+9
via broadcast of wins metze (This used to be commit 49591d699653e48f2e9540359e5b4ae97786511c)
2007-10-10r21592: compress_name() returns NULL for names longer than 15 charsStefan Metzmacher1-0/+6
giving NO_MEMORY back is ugly, so give a useful error metze (This used to be commit fbc1e16331c5957892e4bfc439ea5c4e0387b32e)
2007-10-10r21591: add new error codeStefan Metzmacher2-0/+2
metze (This used to be commit 04da3db29d57ffeab3ba39551b326b8c176a5bcb)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell1-1/+1
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21511: this seems to be the nicer fix for the problem withStefan Metzmacher1-4/+0
the windows 2000 LDAP client metze (This used to be commit d40465470fa09827ea529e1f2c80bca9efc152a8)
2007-10-10r21510: make it possible to push tags with length > 0xFFFFFFStefan Metzmacher1-1/+12
metze (This used to be commit 8e604107da4a8a1bf6ccab45e85e147daab29519)
2007-10-10r21501: ugly but the windows 2000 mmc deturns decoding error without thisStefan Metzmacher1-0/+4
metze (This used to be commit f17da75754f8cc79b60e04b54a4bc99191e71ff3)
2007-10-10r21316: if we got an unexpected nbt packet that most times meanStefan Metzmacher1-1/+1
we got a 2nd answer to a broadcast message and have already remove the packet id from out list while getting the first response metze (This used to be commit 8c26e04900da02bdf440f1d48b512e2550e89c34)
2007-10-10r21307: make it possible to pass in NULL for domain or rid,Stefan Metzmacher1-4/+10
if someone isn't interessted in one of it metze (This used to be commit 1fdc71918a430c35af91fa7788e191d381f76d56)
2007-10-10r21297: Remove the GTK+ tools and library from the main repository. They are ↵Jelmer Vernooij1-0/+2
now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. (This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
2007-10-10r21291: add two more error codesStefan Metzmacher2-1/+5
metze (This used to be commit dd04c5dec58b18048ca5029f7bfe513242cbe4e9)
2007-10-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell4-10/+9
- changed the setup array in nttrans to be a uint8 array, instead of a uint16 array. This makes it clearer that it is the job of the caller to do any byte swapping within that data (This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)
2007-10-10r21183: Commit the big/little endian fix for nttrans setup[] handling.Volker Lendecke1-4/+2
Please check! For code symmetry reasons, trans2 might also see this fix, but this is left to the interested reader :-) Volker (This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)
2007-10-10r21072: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit e788709835fa13b512fbf38951c9d0ca9bc3df18)