summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner2008-01-291-100/+14
| | | | | Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
* Adding missing calls to va_end().Tim Potter2008-01-271-4/+19
| | | | | | | | | Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim. (This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)
* Add WERR_INVALID_COMPUTER_NAME.Günther Deschner2008-01-241-0/+1
| | | | | Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd)
* Merge branch 'setxattr-dos-mode' into v3-2-testDerrell Lipman2008-01-231-1/+9
|\ | | | | | | (This used to be commit 4c08725a42a8babf0f078fb4b221a96f58deeb50)
| * Allow clearing all settable DOS mode bits. A mode value of zero is ignored byDerrell Lipman2008-01-231-1/+9
| | | | | | | | | | | | | | | | | | | | Windows. If the requested mode is zero, we instead send the appropriate one of 0x80 (NORMAL) or 0x10 (DIRECTORY). Thanks Jeremy! Derrell (This used to be commit 54abf7d0e595e9cbeea115a40d4f7b995252a150)
* | Don't leak memory in error path.Jeremy Allison2008-01-231-0/+1
| | | | | | | | | | Jeremy. (This used to be commit 2df0cdaafdced798f81e30d34371aa1d8e963208)
* | Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.Jeremy Allison2008-01-231-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 090061b73a1c086ff8a7797e1a63532eacd91148)
* | Fix Windows 2008 (Longhorn) join.Andreas Schneider2008-01-231-1/+15
| | | | | | | | | | | | | | During 'net ads join' the cli->desthost is a hostname (e.g. rupert.galaxy.site). Check if we have a hostname and use only the first part, the machine name, of the string. (This used to be commit 5f60ed4af680ba2811db8d9f8267348ce05f26d2)
* | Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider2008-01-231-1/+1
| | | | | | | | | | Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
* | read_socket_with_timeout has timeout=0 handlingVolker Lendecke2008-01-231-6/+2
|/ | | | (This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
* Fix typo that disabled setting group id. Thanks, Henrik.Derrell Lipman2008-01-181-1/+1
| | | | (This used to be commit 843e1694cfe4a999ed14a9c215b8e77723d0fe79)
* Add the "allinfo" command to smbclientVolker Lendecke2008-01-181-0/+131
| | | | | Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
* Add and correct some WERROR codes.Michael Adam2008-01-181-1/+7
| | | | | Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
* Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mappingDerrell Lipman2008-01-171-46/+37
| | | | | | | | If we're going to cache connections to IPC$, we'd better also cache the policy handle and not use a stack-based handle that's invalid on subsequent calls. Derrell (This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
* Fix stat results to be consistent between smbc_stat and smbc_fstat.Derrell Lipman2008-01-171-1/+4
| | | | | | | | | | | We create a kludged inode based on the checksum of the path. We therefore need to use the same (full) path when calculating it in both smbc_stat() and smbc_fstat(). If struct stat has an rdev field, set it to zero. Derrell (This used to be commit b4282fbd6d27d868b2d5c04bb72d2d7421822da1)
* Fix bug found by Derrell - windows returns an read returnJeremy Allison2008-01-161-21/+28
| | | | | | | offset of zero if return size is zero. Should fix testread libsmbclient code. Jeremy. (This used to be commit df3c4648399f8d62ff6fe0013be8b89abc18f0f0)
* Make resolve_ads() static.Günther Deschner2008-01-161-5/+5
| | | | | Guenther (This used to be commit 57dc747136e880a25c03bdc4a1431fc41afd93a1)
* Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman2008-01-162-273/+311
|\ | | | | | | (This used to be commit f963d57096184dd9381fcc5f175150d27460ea7a)
| * Fix the API exported for auth_functions. Ensure we callJeremy Allison2008-01-151-272/+310
| | | | | | | | | | | | | | | | passing 3 fstrings/sizeof(fstrings) as 3.0.x did. Found by Derrell. Derrell please test ! Thanks, Jeremy. (This used to be commit 5467db388355a4769e48fed7eb80920d1820f727)
| * libsmb: Do not upper-case target name on NTLMv2 hash generationKai Blin2008-01-151-1/+1
| | | | | | | | | | | | | | | | | | This makes our NTLMv2 hash generation compatible to the Davenport example and fixes a bug when ntlm_auth is called with a non-upper-case --domain parameter and client ntlmv2 auth = yes Jerry, please consider for 3.2.0 (This used to be commit ecbe08897c9cc47790f3d4f5680d25202bc0f6c3)
* | Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman2008-01-152-13/+9
|\| | | | | | | (This used to be commit 3a61e663e51fe620225691bc8673bf8800a36f47)
| * Windows insists on write sizes < max_xmit on signed connections.Jeremy Allison2008-01-141-3/+6
| | | | | | | | | | Jeremy. (This used to be commit ef9b278b6289a9ecdd6b103927058f64fbb7eb97)
| * Fix CID 470. resolve_order can't be NULL here so simplify code.Jeremy Allison2008-01-121-10/+3
| | | | | | | | | | Jeremy. (This used to be commit 2e75f3ecdf9890b9d7d4bd03f3fa15ef74816d5d)
* | Fix smbc_listxattr() and friends (bug #5189)Derrell Lipman2008-01-131-4/+7
|/ | | | | | | | | | | When the capability of using full names for DOS attributes was added, a bug was introduced which caused the wrong number of bytes to be returned. This patch to smbc_listxattr_ctx() fixes the problem. Thanks to Jack Schmidt for this patch. Derrell (This used to be commit 913c335d21c503d32b35bf65da7b2bddf0473875)
* As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner2008-01-111-38/+38
| | | | | Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
* Fix a memleak found by the IBM checker.Michael Adam2008-01-091-0/+1
| | | | | Michael (This used to be commit b4a37a66bbd8f5346de743d4ab427d6671e29075)
* Fix CID 461 - resource leak on error.Jeremy Allison2008-01-081-0/+4
| | | | | Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
* Refactor our DsGetDcName call a bit (before it will move into libnetapi).Günther Deschner2008-01-071-16/+101
| | | | | Guenther (This used to be commit 41c129da3d33f9fc2864d360e4b6ec5a72caf2a3)
* Add the options smb_encrypt_level to set the requestedJeremy Allison2008-01-051-0/+98
| | | | | | encrypt level and smb_encrypt_on to query it. Jeremy. (This used to be commit 07d47996f9535731ccdc1792c405c8bee1a082ae)
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-052-35/+56
| | | | | | on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
* Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.Günther Deschner2008-01-041-6/+14
| | | | | Guenther (This used to be commit fe75e5ccdfc2609380367e59215637b0de1ef241)
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-042-16/+17
| | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Map WERR_NO_SUCH_SERVICE with dos_errstr().Michael Adam2008-01-041-0/+1
| | | | | Michael (This used to be commit df5839b5376e903486982ddc7c4f4fbd4550c60a)
* Add some more join related werror codes.Günther Deschner2008-01-031-0/+3
| | | | | Guenther (This used to be commit 62e7d467ab1b2f98327960eec3a3a925b2f04bda)
* Added -e, --encrypt option to smbclient that immediatelyJeremy Allison2007-12-291-11/+110
| | | | | | | forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
* Make use of [un]marshall_sec_descVolker Lendecke2007-12-291-28/+17
| | | | (This used to be commit 54576733d6c0511dc7379f964b1cb035913b7c8d)
* Remove tiny code duplicationVolker Lendecke2007-12-291-2/+2
| | | | | sid_size did the same as ndr_size_dom_sid (This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
* Remove static zerosVolker Lendecke2007-12-282-3/+9
| | | | (This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
* Encryption works better when you add the client decrypt code :-).Jeremy Allison2007-12-261-0/+11
| | | | | Jeremy. (This used to be commit d67b2634068be9c69082a2b8c22c831aba371cd9)
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-2613-95/+1070
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* Add get_friendly_werror_msg().Günther Deschner2007-12-211-7/+45
| | | | | Guenther (This used to be commit b1ad3def98911c91ed55a3b7aec7d0894b2dd8fd)
* Use ADS_IGNORE_PRINCIPAL define.Günther Deschner2007-12-211-2/+1
| | | | | Guenther (This used to be commit 763e13315fc71237b14a186810bc201e725648f5)
* Some C++ warningsVolker Lendecke2007-12-211-2/+2
| | | | (This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
* Fix debug messagesVolker Lendecke2007-12-191-8/+9
| | | | | | When warning that "client plaintext auth" is not enabled where the server requested them we should not talk about "client use plaintext auth" (This used to be commit 7799e18994354b2705ee8c64ae8c75e062ace460)
* packet_struct is used in several places as raw memoryVolker Lendecke2007-12-191-0/+2
| | | | | -> Fix more uninitialized variable warnings (This used to be commit 0af02db6f2f84a8ce5d614e5baec27f20b413c26)
* Some paranoia checksVolker Lendecke2007-12-191-0/+8
| | | | (This used to be commit ff644cfa1b123e9d0f8f4817504e5b209b85dedd)
* Zero the tdb key, there might be paddingVolker Lendecke2007-12-191-0/+2
| | | | | This leads to uninitialized variable warnings if nmbd is run under valgrind. (This used to be commit 9ec4f91f35696e5a00e24fe9ae2dd06119482c80)
* Merge WERR_NO_SUCH_LOGON_SESSION from Samba4.Günther Deschner2007-12-191-0/+1
| | | | | Guenther (This used to be commit 7b528647879bb55c9c85243a3e2906c09490edc9)
* Added patch originally by Andreas Schneider <anschneider@suse.de>Jeremy Allison2007-12-151-8/+42
| | | | | | | to cause us to behave like Vista when looking for remote machine principal. Modified by me. Jeremy. (This used to be commit d0e33840fb4cfc85990d3ee327428b0854a22722)
* s/sid_to_string/sid_to_fstring/Volker Lendecke2007-12-154-7/+7
| | | | | least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)