summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner2008-04-212-8/+8
| | | | | Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
* cldap: add talloc context to ads_cldap_netlogon().Günther Deschner2008-04-211-2/+2
| | | | | Guenther (This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
* libads: Use libnbt for CLDAP reply parsing.Günther Deschner2008-04-211-18/+16
| | | | | Guenther (This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)
* winbind: pass down existing talloc context.Günther Deschner2008-04-211-4/+4
| | | | | Guenther (This used to be commit 675bf42cfff89b05f21d77ca74eba20c4a24d44c)
* winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.Günther Deschner2008-04-211-102/+105
| | | | | Guenther (This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
* samlogoncache: Use data_blob_const in netsamlogon_cache_get.Günther Deschner2008-04-211-2/+1
| | | | | Guenther (This used to be commit f27a20f25c9b2038621a6394821bbedbf17daa73)
* cli_cm: Make nicer password prompt in do_connect().Günther Deschner2008-04-201-1/+6
| | | | | Guenther (This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-203-45/+7
| | | | (This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
* Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke2008-04-201-1/+1
| | | | (This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
* Move srv_name_slash from cli_state to rpc_pipe_clientVolker Lendecke2008-04-201-2/+0
| | | | (This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
* Add "desthost" to rpc_pipe_clientVolker Lendecke2008-04-203-4/+4
| | | | | This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
* Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke2008-04-202-8/+7
| | | | (This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
* Fix bug 5399Volker Lendecke2008-04-191-5/+0
| | | | | | | Thanks to Jason Mader! Volker (This used to be commit 36740f4959194cfaa98b1e37eed08f22edbda1e4)
* Move GETDC mailslot out of winbindd.Günther Deschner2008-04-171-0/+165
| | | | | Guenther (This used to be commit b003ba65e34bb92bf71a7943957715cd7acbcce0)
* dsgetdcname: Fix discover_dc_dns.Günther Deschner2008-04-171-14/+26
| | | | | Guenther (This used to be commit 2fe416ffa5c7efd2e6a644e4c8bac756152881d9)
* errors: Add WERR_NO_SUCH_USER.Günther Deschner2008-04-161-0/+2
| | | | | Guenther (This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)
* errors: Add WERR_NONE_MAPPED.Günther Deschner2008-04-161-0/+2
| | | | | Guenther (This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)
* doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.Günther Deschner2008-04-141-0/+2
| | | | | Guenther (This used to be commit 91a55fc27dc100cf193cfa2613771312f018449e)
* Make use of ZERO_STRUCT instead of memset in namequery.cVolker Lendecke2008-04-141-1/+1
| | | | (This used to be commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)
* Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.Günther Deschner2008-04-121-0/+4
| | | | | Guenther (This used to be commit eefd03d39b107598e9b0d1f35def7b17073d8ebc)
* Cleanup size_t return values in convert_string_allocateTim Prouty2008-04-111-2/+3
| | | | | | This patch is the first iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
* Add some more cli_cm_set_X functions.Günther Deschner2008-04-101-1/+52
| | | | | Guenther (This used to be commit 882475f5566592b3a675d3609c3af8cf7d4e256d)
* Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.Günther Deschner2008-04-081-0/+5
| | | | | | | This allows to switch on the cli->fallback_after_kerberos switch. Guenther (This used to be commit 15ba45e567d910c1b2336dcc0c475e12b082f30f)
* Fix Kerberos interop with Mac OS X 10.5 clients.Bill Ricker2008-04-071-0/+12
| | | | | | Ignore optional req_flags. Use the Kerberos mechanism OID negotiated with the client rather than hardcoding OID_KERBEROS5_OLD. (This used to be commit 59a2bcf30fef14ecc826271862b645dd3a61cb48)
* Use bool for BOOL and true/false for True/False. We need lowercaseJames Peach2008-04-071-63/+76
| | | | | bool to get the declarations picked up by the prototype parser. (This used to be commit fd168e7b5065ba15b1cf56522b6810b8e6fdd7d5)
* Fix a misleading debug messageVolker Lendecke2008-04-071-2/+3
| | | | (This used to be commit 494b32197f0872b115f0cd1a35421d00a89360a6)
* When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causesJeremy Allison2008-04-041-3/+9
| | | | | | | | | | the space taken by the unicode password to be one byte too long (as we're on an odd byte boundary here). Reduce the count by 1 to cope with this. Fixes smbclient against NetApp servers which can't cope. Fix from bryan.kolodziej@allenlund.com in bug #3840. Jeremy. (This used to be commit 1e7e7d86a1ae1cd2c3cc3de9f36b7326ad249b82)
* Always uppercase cli->srv_name_slash.Günther Deschner2008-04-041-0/+1
| | | | | | | Not that I think it is of any importance... Guenther (This used to be commit 352f8440c74bc22416e21783e1dc5fecf5869902)
* Add NT_STATUS_RPC_CANNOT_SUPPORT.Günther Deschner2008-04-031-0/+1
| | | | | Guenther (This used to be commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
* Apply some const in clirap.Günther Deschner2008-04-021-1/+1
| | | | | Guenther (This used to be commit 8a1a9f967db25d3928f19e46d60af249f934f323)
* Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner2008-04-021-1/+1
| | | | | | | | | | | | In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
* Fix bug #5326 - OS/2 servers give strange "high word" replies for print jobs.Jeremy Allison2008-03-281-1/+3
| | | | | Jeremy. (This used to be commit d090d25cb702965b3d5e4635a26a06f2b62d235d)
* Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam2008-03-281-1/+1
| | | | | | | | | | | | | | current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
* More ssize_t->SMB_OFF_TVolker Lendecke2008-03-281-5/+5
| | | | (This used to be commit 8dd6458049d1b9d6849730ac19c39b049a68f302)
* Check for buffer in decode_wkssvc_join_password_buffer.Günther Deschner2008-03-281-1/+10
| | | | | Guenther (This used to be commit 2134d80c05fd7a37f44317335b40d7961c429c7b)
* Remove unneeded pack_dsdcinfo/unpack_dsdcinfo.Günther Deschner2008-03-281-144/+0
| | | | | Guenther (This used to be commit 34dd8f32e1b7fe256ab5dfde5ef5bb8abeec121a)
* Use NDR for netr_DsRGetDCNameInfo un-/marshalling in dsgetdcname.Günther Deschner2008-03-281-16/+26
| | | | | Guenther (This used to be commit 7fa53911054a39681df3f08d19aad92f60d59e28)
* Fix a valgrind errorVolker Lendecke2008-03-251-1/+1
| | | | | | | In winbind, we're using the info3 struct to send it to the winbind client after netsamlogon_cache_store. Without this info3->base.account_name.string was prematurely freed. (This used to be commit aa4377561b691e2c5108c18aeb34fff39d8775df)
* On Solaris, size_t seems to be only 32 bit.Volker Lendecke2008-03-211-5/+7
| | | | | | | Fix bug 5341, thanks a lot to Karoly Vegh for testing it! Volker (This used to be commit 19eb8c9316b10b1277121e90d0d3ef50ee562118)
* Add error mapping for WERR_SERVICE_NEVER_STARTED.Günther Deschner2008-03-201-0/+1
| | | | | Guenther (This used to be commit 818044d877597ba5c11dc7f30bab929c4b41db89)
* !NT_STATUS_IS_OK != NT_STATUS_IS_ERRVolker Lendecke2008-03-191-1/+1
| | | | | | When reading from a pipe, Windows return STATUS_BUFFER_OVERFLOW which is *not* an error. (This used to be commit 24018d882d1b1cfece47c533fe5bbca91de124cc)
* Fix bug 5334Volker Lendecke2008-03-181-0/+8
| | | | | I did not test with a zero length file :-) (This used to be commit 7d7a73944c2dcf078f7bc8de65d575f32f9aa851)
* Fix use of AuthDataWithContext capabilityDerrell Lipman2008-03-172-5/+20
| | | | | | | | | | | | | | | During my initial plans for, and the subsequent discussion of a more significant change to the API for libsmbclient, I had removed the AuthDataWithContext usage, in favor of a more generalized planned interface. When the API returned to its original state, I neglected to reinsert this code. Use of an authentication function with the context can be tested using examples/libsmbclient/testbrowse -C Derrell (This used to be commit 38eab68dfb2d8abe8ad00f5a86fc54c778d0d303)
* Fix Coverity ID 555Volker Lendecke2008-03-151-0/+1
| | | | (This used to be commit 44122f06d02492a7a0a37413d6f975c3b1e3c283)
* For convenience reasons, always create cli->srv_name_slash in the rpc_client.Günther Deschner2008-03-121-0/+1
| | | | | Guenther (This used to be commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
* Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.Günther Deschner2008-03-101-17/+23
| | | | | Guenther (This used to be commit 6aad05f3f12fd6b3276486f60c10f5b3fd3fa17c)
* Remove insane amount of whitespace.Günther Deschner2008-03-101-368/+368
| | | | | Guenther (This used to be commit 8216310e9f0d7dcccfe761a184a014b7b2ce03c5)
* Correctly calculate the max read sizeVolker Lendecke2008-03-081-1/+1
| | | | (This used to be commit f556c9e162e2bc0d16710e994a00edc33a146cd5)
* Move inbuf handling to before the PDU handlingVolker Lendecke2008-03-081-58/+59
| | | | | In an error case, correctly discard the offending PDU (This used to be commit 0aa195b5d623e1f26f2a1b9e91323a5ddd3ff282)
* Pass specific packets to build_nmb and build_dgramVolker Lendecke2008-03-081-6/+4
| | | | | | | To me it was not clear what parts of struct packet_struct are actually used in build_packet(). This makes it a bit more clear that only the specific parts are used. (This used to be commit eb8b6f2404e49d6a837935c5b411d78fb6ff23ef)