Andrew Bartlett
ebae21f023
ntlmssp: Make the ntlmssp.h from source3/ a common header
...
The code is not yet in common, but I hope to fix that soon.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:56 +02:00
Jeremy Allison
74c4c7fe4f
Don't set "requested_posix_capabilities" in the sync code, already done in the async.
...
Jeremy.
2010-04-13 19:12:43 -07:00
Jeremy Allison
f3b8e31f83
Split out the client unix capabilities to those the server offered, and those the client asked for.
...
This fixes a bug when using encrypted transport and DFS links. Found
by my basic DFS torture test, which I'll check in next. Testing *rocks* :-).
Jeremy.
2010-04-13 18:41:14 -07:00
Stefan Metzmacher
7d977da925
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Volker Lendecke
6e510b49c0
s3: Make cli_get_fs_volume_info() use cli_trans()
2010-02-07 12:29:25 +01:00
Volker Lendecke
c73ffb7280
s3: Remove some unused code
2010-02-07 12:29:25 +01:00
Volker Lendecke
5552b44960
s3: Fix some nonempty blank lines
2010-02-07 12:29:25 +01:00
Andrew Bartlett
802e9328ed
s3:ntlmssp: only include ntlmssp.h where actually needed
...
Andrew Bartlett
2009-12-22 21:07:53 +01:00
Volker Lendecke
37e4e387db
s3: Convert cli_get_fs_attr_info to the async API
2009-11-21 14:01:56 +01:00
Volker Lendecke
b1ed9a8963
s3: Fix the build on Solaris
2009-11-17 15:16:28 +01:00
Stefan Metzmacher
0762893c48
s3:libsmb: avoid passing a function call as function parameter
...
Using a helper variable makes it easier to "step" into the desired function
within gdb.
metze
2009-11-16 10:13:05 +01:00
Volker Lendecke
f4cf1c56a2
s3: Add min_setup, min_param and min_data to cli_trans_recv
...
Every caller that expects to receive something needs to check if enough was
sent. Make this check mandatory for everyone.
Yes, this makes the parameter list for cli_trans a bit silly, but that's just
the way it is: A silly protocol request :-)
While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-11-14 12:20:12 +01:00
Volker Lendecke
f668e4104f
s3: Convert cli_set_unix_extensions_capabilities_send to async
2009-11-14 11:03:28 +01:00
Volker Lendecke
f9ad5cd133
s3: Convert cli_unix_extensions_version to async
2009-11-13 09:30:30 +01:00
Günther Deschner
503d035814
spnego: share spnego_parse.
...
Guenther
2009-09-17 01:12:20 +02:00
Derrell Lipman
ae259575c4
[Bug 6069] Add a fstatvfs function for libsmbclient
...
- port functionality from v3_3_test to master
Derrell
2009-02-12 10:39:48 -05:00
Volker Lendecke
7f25e0da73
Decouple clistr_pull from struct cli_state->inbuf
2009-01-26 05:39:34 +01:00
Jeremy Allison
e8c7ff3e88
Add Derrick Schommer's <dschommer@F5.com> kerberos delegation patch. Some
...
work by me and advice by Love.
Jeremy.
(This used to be commit ecc3838e4cb5d0c0769ec6d9a34a877ca584ffcc)
2008-08-08 14:32:15 -07:00
Jeremy Allison
6e2e0e2ce7
Fix the build - don't use SMB_TRANS_ENC_GSS without
...
KRB5.
Jeremy.
(This used to be commit d16c295642c3df49be02440427ded0cd9b4179f5)
2008-02-28 06:01:09 -08:00
Volker Lendecke
3176392878
Fix some warnings
...
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
2008-02-25 16:09:26 +01:00
Jeremy Allison
9baa97a46e
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
(This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2008-01-05 00:23:35 -08:00
Jeremy Allison
afc93255d1
Add SMB encryption. Still fixing client decrypt but
...
negotiation works.
Jeremy.
(This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-26 17:12:36 -08:00
Jeremy Allison
1b92ea5559
Remove pstrings from client/client.c by doing a large rewrite.
...
Mostly compiles....
Jeremy.
(This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-06 17:16:33 -08:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
...
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Jeremy Allison
32106b2395
r22920: Add in the UNIX capability for 24-bit readX, as discussed
...
with the Apple guys and Linux kernel guys. Still looking
at how to do writeX as there's no recvfile().
Jeremy.
(This used to be commit a53268fb2082de586e2df250d8ddfcff53379102)
2007-10-10 12:22:08 -05:00
Volker Lendecke
b4a7b7a888
r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
...
replace all data_blob(NULL, 0) calls.
(This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
2007-10-10 12:22:01 -05:00
Stefan Metzmacher
f2da00aadc
r22362: fix the build on othersystems
...
metze
(This used to be commit 68a681038ca60c83784321979c595def9e74ed41)
2007-10-10 12:19:29 -05:00
Jeremy Allison
e8d19d5e1a
r22355: Ensure we get good debug messages from gss_XX calls.
...
Jeremy.
(This used to be commit fe36fc79ddd4f2f2c88204055fca60a193586234)
2007-10-10 12:19:28 -05:00
Jeremy Allison
f7fc540d84
r22354: Make client select krb5 encrpyt if krb5 already on.
...
Jeremy.
(This used to be commit 7b89a5de57cd5fed814eda95e44dcc345f380fb2)
2007-10-10 12:19:28 -05:00
Jeremy Allison
c5fb215efb
r22349: Fix missing ) in #else path.
...
Jeremy.
(This used to be commit 0f5680adcfb4f1636ba5a5c3ba9684f9fde8476a)
2007-10-10 12:19:28 -05:00
Jeremy Allison
093bcd7df9
r22345: Only use new krb5 OID.
...
Jeremy.
(This used to be commit 1a46d2dcb930f433457877e143f5a602b6b9091e)
2007-10-10 12:19:27 -05:00
Jeremy Allison
8e1b82e7ac
r22344: Correctly create sub-struct for GSS encryption.
...
Jeremy.
(This used to be commit 197c90ec78545e7e3c03ff5787839ca134f3036a)
2007-10-10 12:19:27 -05:00
Jeremy Allison
9812a7e32e
r22327: Finish the gss-spnego part of the seal code. Now
...
for testing....
Jeremy.
(This used to be commit 1c1f5360b67792f14b50835a2c5a4d4ac68aca8f)
2007-10-10 12:19:27 -05:00
Jeremy Allison
4a66d0e232
r21991: I hate Steve French :-). Add support for encryption
...
contexts....
Jeremy.
(This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
2007-10-10 12:18:58 -05:00
Jeremy Allison
f93d75c932
r21926: Fix missing enum specifier pointed out by Don McCall @ HP.
...
Thanks Don !
Jeremy.
(This used to be commit 662344d1ec3593689de7602afa518ed98e10dc37)
2007-10-10 12:18:49 -05:00
Jeremy Allison
9874b3bfa7
r21902: Don't free the thing you're trying to set in the cli state.
...
Jeremy.
(This used to be commit 1639366561bd63d7023c54f811e2f87dcbbd0a31)
2007-10-10 12:18:47 -05:00
Jeremy Allison
a828b56884
r21898: Added test command, fixed first valgrind bugs.
...
Now to investigate why it doesn't work :-).
Jeremy.
(This used to be commit 73f7c6cef8371ad63eb1dc3e79bfc78503dbd7a4)
2007-10-10 12:18:47 -05:00
Jeremy Allison
071db6fdbf
r21897: Add in a basic raw NTLM encrypt request. Now
...
for testing.
Jeremy.
(This used to be commit 783a7b3085a155d9652cd725bf2960cd272cb554)
2007-10-10 12:18:46 -05:00
Jeremy Allison
a64925ddff
r17800: Start using struct timespec internally for file times
...
on the wire. This allows us to go to nsec resolution
for systems that support it. It should also now be
easy to add a correct "create time" (birth time)
for systems that support it (*BSD). I'll be watching
the build farm closely after this one for breakage :-).
Jeremy.
(This used to be commit 425280a1d23f97ef0b0be77462386d619f47b21d)
2007-10-10 11:38:48 -05:00
Jeremy Allison
760671b0e2
r16962: Add a few utility fns into client. Allow POSIX capabilities
...
to be selected.
Jeremy.
(This used to be commit 2d8d4bd77bac6f5e7865657e12affd8b94aa85c3)
2007-10-10 11:19:16 -05:00
Jeremy Allison
3fb8308072
r6120: Added "volume" command to smbclient that prints out the volume name and
...
serial number.
Jeremy.
(This used to be commit c69623072e4112a4719867ea4809f5145b3cb64c)
2007-10-10 10:56:23 -05:00
Jeremy Allison
f995b164b9
r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.
...
Need to add printout functions in client and set posix acl in server.
SteveF - take a look at this for the cifsfs client !
Once this is working and tested the next step is to write this up for
the UNIX extensions spec. documents.
Jeremy.
(This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)
2007-10-10 10:53:16 -05:00
Gerald Carter
5b51fc4f06
smbcquota patch from metze
...
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-11 23:32:00 +00:00