summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r20963: remove unused functions, run LOCAL-TDR by defaultJelmer Vernooij1-3/+3
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
2007-10-10r20801: try to always fix up the acl revision when we add or removeStefan Metzmacher1-4/+37
an ace metze (This used to be commit 18cc56be6a7c21e5b19d0826aca6ae2416c116b8)
2007-10-10r20800: fix compiler warningsStefan Metzmacher1-0/+2
metze (This used to be commit 6ce994720cdd8b7dd0b789460b5ae7da19261696)
2007-10-10r20799: if any ace has the optional sub object, the acl revision needsStefan Metzmacher1-0/+8
to be SECURITY_ACL_REVISION_ADS (4) metze (This used to be commit a67bb4365958f4bfadbf47b2231992e2aadd26a1)
2007-10-10r20795: dom_sid_parse_talloc() gets an null terminated string as input,Stefan Metzmacher1-1/+9
the SDDL string has the sid strings embedded, so we need to create a null terminated string... metze (This used to be commit 532395a18db84affa8a743b995e9fae2e3c312f2)
2007-10-10r20765: add two more schema related error codesStefan Metzmacher2-0/+4
metze (This used to be commit 75f5a88f2229fa604726ecb0ebb2b5a4589d5b86)
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell2-6/+0
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell2-0/+6
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-2/+2
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r20404: add error code for missing attribute syntaxStefan Metzmacher2-0/+2
metze (This used to be commit 769ce9799b0e9d1ccc5f2155440e5dedf655d40c)
2007-10-10r20378: add new error code that says the schema mismatches between DC'sStefan Metzmacher2-0/+2
metze (This used to be commit e769029f42f848db8121c7dcfe5be261861776c8)
2007-10-10r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap ↵Volker Lendecke1-1/+1
bind. Did not find that in Samba3 code, so there's nothing to port. Volker (This used to be commit 9bdc19b6d5fe3dff57a07f4b760840d0043a53ad)
2007-10-10r20284: Simplify OID primitive BER parsing.Simo Sorce1-63/+83
Do not require an artificial ASN.1 context to be setup. Simo. (This used to be commit 14b3b9861ae47498c74a6643e6979b3d85260a61)
2007-10-10r20277: make sure the asn1 structure has a welldefined state after a asn1_free()Stefan Metzmacher1-0/+2
metze (This used to be commit 7e7d1a1da2d64d28915a06c399072de1caf108c4)
2007-10-10r20276: remove unneeded talloc_strdup()Stefan Metzmacher1-3/+3
metze (This used to be commit c4733b20c7c113dc1abfb2219a899b80bbcc2875)
2007-10-10r20259: add function to start a fake tag so that asn1_read_OID_String()Stefan Metzmacher1-0/+19
can work alone metze (This used to be commit ea70f6ff07930951d98a952b03963d0ba358fec4)
2007-10-10r20258: add functions to read and write asn1 encoded OID strings without ↵Stefan Metzmacher1-17/+58
leading tag metze (This used to be commit 576d4c54cca844164b90e5d6ec71fe44b59607b7)
2007-10-10r20213: add 2 error codes related to the msDs-IntId attributeStefan Metzmacher2-0/+4
metze (This used to be commit dd5df84cccd10e9880648eecbff6faf7252d5e73)
2007-10-10r20141: use the gensec_features of the cli_credentials for ildap connections,Stefan Metzmacher1-3/+9
instead of hardcoded GENSEC_FEATURE_SEAL. That means plain LDAP is now the default. metze (This used to be commit b69471866c2a6c61002147938f233f2f63963ba4)
2007-10-10r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSEStefan Metzmacher2-0/+2
metze (This used to be commit cb5c2e9dc6838145fe9f6f2e727a1df26e688467)
2007-10-10r20077: support large readx replies, as done by samba3 (and the snia spec),Andrew Tridgell1-0/+14
but not done by windows servers (This used to be commit e5dbbe177c13b2788b4b4765b3b37cc918b3405c)
2007-10-10r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIEDStefan Metzmacher1-0/+5
metze (This used to be commit 417f64184e734ab4ce5c78dc3d268c5c4a2cd18d)
2007-10-10r19735: report the LDAP error code in the CLDAP replies to the callerStefan Metzmacher1-3/+7
metze (This used to be commit f4a6fade3a3113732ef66433c5739657f0bfdbee)
2007-10-10r19734: display LDAP error code nicerStefan Metzmacher1-6/+47
metze (This used to be commit a0a45c3326560b9b31d0e17f1439d2638e91aee0)
2007-10-10r19724: add a helper functions to return an CLDAP errorStefan Metzmacher2-5/+37
metze (This used to be commit 0a1ecb911656f8170708ce13e1183557fe118794)
2007-10-10r19676: Fix some more dependencies.Jelmer Vernooij2-4/+5
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10r19645: don't pass NULL as mem_ctx...Stefan Metzmacher5-24/+30
metze (This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)
2007-10-10r19642: convert host.c to new composite apiStefan Metzmacher1-35/+26
metze (This used to be commit a5d36a6ddefb8c24e748b839391241da41e31440)