summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-01-12Fix CID 470. resolve_order can't be NULL here so simplify code.Jeremy Allison1-10/+3
Jeremy. (This used to be commit 2e75f3ecdf9890b9d7d4bd03f3fa15ef74816d5d)
2008-01-11As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner1-38/+38
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
2008-01-09Fix a memleak found by the IBM checker.Michael Adam1-0/+1
Michael (This used to be commit b4a37a66bbd8f5346de743d4ab427d6671e29075)
2008-01-08Fix CID 461 - resource leak on error.Jeremy Allison1-0/+4
Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
2008-01-07Refactor our DsGetDcName call a bit (before it will move into libnetapi).Günther Deschner1-16/+101
Guenther (This used to be commit 41c129da3d33f9fc2864d360e4b6ec5a72caf2a3)
2008-01-05Add the options smb_encrypt_level to set the requestedJeremy Allison1-0/+98
encrypt level and smb_encrypt_on to query it. Jeremy. (This used to be commit 07d47996f9535731ccdc1792c405c8bee1a082ae)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison2-35/+56
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2008-01-04Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.Günther Deschner1-6/+14
Guenther (This used to be commit fe75e5ccdfc2609380367e59215637b0de1ef241)
2008-01-04Refactor the crypto code after a very helpful conversationJeremy Allison2-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)
2008-01-04Map WERR_NO_SUCH_SERVICE with dos_errstr().Michael Adam1-0/+1
Michael (This used to be commit df5839b5376e903486982ddc7c4f4fbd4550c60a)
2008-01-03Add some more join related werror codes.Günther Deschner1-0/+3
Guenther (This used to be commit 62e7d467ab1b2f98327960eec3a3a925b2f04bda)
2007-12-29Added -e, --encrypt option to smbclient that immediatelyJeremy Allison1-11/+110
forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
2007-12-29Make use of [un]marshall_sec_descVolker Lendecke1-28/+17
(This used to be commit 54576733d6c0511dc7379f964b1cb035913b7c8d)
2007-12-29Remove tiny code duplicationVolker Lendecke1-2/+2
sid_size did the same as ndr_size_dom_sid (This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
2007-12-28Remove static zerosVolker Lendecke2-3/+9
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-12-26Encryption works better when you add the client decrypt code :-).Jeremy Allison1-0/+11
Jeremy. (This used to be commit d67b2634068be9c69082a2b8c22c831aba371cd9)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison13-95/+1070
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-21Add get_friendly_werror_msg().Günther Deschner1-7/+45
Guenther (This used to be commit b1ad3def98911c91ed55a3b7aec7d0894b2dd8fd)
2007-12-21Use ADS_IGNORE_PRINCIPAL define.Günther Deschner1-2/+1
Guenther (This used to be commit 763e13315fc71237b14a186810bc201e725648f5)
2007-12-21Some C++ warningsVolker Lendecke1-2/+2
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-12-19Fix debug messagesVolker Lendecke1-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)
2007-12-19packet_struct is used in several places as raw memoryVolker Lendecke1-0/+2
-> Fix more uninitialized variable warnings (This used to be commit 0af02db6f2f84a8ce5d614e5baec27f20b413c26)
2007-12-19Some paranoia checksVolker Lendecke1-0/+8
(This used to be commit ff644cfa1b123e9d0f8f4817504e5b209b85dedd)
2007-12-19Zero the tdb key, there might be paddingVolker Lendecke1-0/+2
This leads to uninitialized variable warnings if nmbd is run under valgrind. (This used to be commit 9ec4f91f35696e5a00e24fe9ae2dd06119482c80)
2007-12-19Merge WERR_NO_SUCH_LOGON_SESSION from Samba4.Günther Deschner1-0/+1
Guenther (This used to be commit 7b528647879bb55c9c85243a3e2906c09490edc9)
2007-12-15Added patch originally by Andreas Schneider <anschneider@suse.de>Jeremy Allison1-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)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke4-7/+7
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_to_stringVolker Lendecke1-4/+4
This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
2007-12-15Use sid_to_string directlyVolker Lendecke1-1/+1
It seems a bit pointless to do a fstrcpy(dst, sid_string_static(src)) (This used to be commit c221c246b10e2dbbd54a9af2dc45de2eae237380)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-1/+1
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-13Arg. The fix for CVE-2007-6015 hadn't been merged into 3.2.Jeremy Allison1-0/+6
Do so now.... Jeremy. (This used to be commit 6b1246c29a0241c8e4bb98d659d847d010826b36)
2007-12-12Make heimdal and MIT happy when iterating through auth data.Günther Deschner1-3/+3
Guenther (This used to be commit 507247dcbf0ef02825a6c5c5f313813714df2d99)
2007-12-12Vista SP1-rc1 appears to break against Samba-3.0.27aGuenther Deschner1-3/+3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jason, Jason Haar wrote: > Patched 3.0.28, compiled, installed and here's the log file. > > Hope it helps. BTW I don't think it matters, but this is on 32bit > CentOS4.5 systems. yes, it helps. Thanks for that. Very interesting, there are two auth data structures where the first one is a PAC and the second something unknown (yet). Can you please try the attached fix ? It should make it work again. Guenther - -- Günther Deschner GPG-ID: 8EE11688 Red Hat gdeschner@redhat.com Samba Team gd@samba.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHX9ZESOk3aI7hFogRAivSAJ9bMcD+PcsIzjYYLtAUoLNfVVEl1QCfV/Qd MPsZW4G31VOVu64SPjgnJiI= =Co+H -----END PGP SIGNATURE----- (This used to be commit c9adc07ca2a3bb1e0ea98e3b4f68e1a87e5c0196)
2007-12-12Allow cliconnect to loop through multiple ip addressesJeremy Allison2-23/+130
for a server. We should have been doing this for a while, but it's more critical with IPv6. Original patch fixed up by James. Jeremy. (This used to be commit 5c7f7629a97ef0929e00e52f1fae4386c984000b)
2007-12-12Make decode_wkssvc_join_password_buffer() return WERRORs.Günther Deschner1-5/+14
Guenther (This used to be commit 88e9da2f14b41a62bdb478f9ffc2de66643bbf14)
2007-12-10Ensure we have a non-null flags. Pointed out by Andreas Schneider ↵Jeremy Allison1-0/+7
<anschneider@suse.de>. Jeremy. (This used to be commit cafde6c37259de587d3775a2d229abd253d2376d)
2007-12-10Fix errors from next_token conversion. Spotted byJeremy Allison1-9/+5
Andreas Schneider <anschneider@suse.de>. Jeremy. (This used to be commit b40efc2fe63a3420b62fbf1ea8936112c5a24bdc)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2-4/+4
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-09Support fetching very long server lists with RAP_NetServerEnum3.James Peach1-42/+125
Use the RAP_NetServerEnum3 server list continuation API for retrieving server lists that are too long to fit in a single reply. Patch from George Colley <gcolley@apple.com>. (This used to be commit 40c26d55736ae08934e18c27168fff10dd15442f)
2007-12-09Specifically ask for IP4 addresses if we don't have IP6 support.James Peach1-0/+5
(This used to be commit 4786654992e3cb2280b77406f9217fcec981602c)
2007-12-08Fix C++ warningsVolker Lendecke4-15/+15
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison3-41/+61
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07Don't build rpctorture anymore - not maintained. Just remove.Jeremy Allison2-11/+18
Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy (This used to be commit 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)
2007-12-07Fix call to clistr_pull_talloc.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison1-37/+73
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-07Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-0/+1
v3-2-test (This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)
2007-12-07Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).Günther Deschner1-0/+1
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-12-06Fix clidfs.c compile.Jeremy Allison1-2/+3
Jeremy. (This used to be commit 76034d1529a594837725cf599d97019eed7226b4)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison4-94/+117
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-06Don't understand this. I have no changes here....Jeremy Allison1-33/+64
Jeremy. (This used to be commit 49534432d4c63d0dfd7bf080c30adecef06deade)