1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-12 04:23:49 +03:00
Commit Graph

244 Commits

Author SHA1 Message Date
Stefan Metzmacher
a2cd725681 r1805: ...I just forgot to say that the sasl bind actually works now:-)
metze
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
d0278c6bef r1804: get a bit closer to a sasl bind
metze
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
f6c4420107 r1803: more progress on sasl binds, but decoding the response still fails
metze
2007-10-10 12:57:58 -05:00
Simo Sorce
10baf58582 r1802: start to support SASL in our ldap libraries
does not work yet but we are close currently we send the right data
on wire and fail to decode the answer
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
a1bfc94ab3 r1798: fix the build
metze
2007-10-10 12:57:58 -05:00
Andrew Bartlett
cb74d52b56 r1796: Enable server-side SPNEGO, now that I have fixed the server-side SMB
signing code to be able to cope.

Andrew Bartlett
2007-10-10 12:57:57 -05:00
Stefan Metzmacher
fe655d0474 r1794: fix the build MIT krb5
metze
2007-10-10 12:57:57 -05:00
Simo Sorce
d9f8f97c9e r1792: split ldap_setup_connection() and provide an ldap_bind_simple() function 2007-10-10 12:57:57 -05:00
Stefan Metzmacher
5a3a10c004 r1790: a few updates on krb5 PAC...
metze
2007-10-10 12:57:56 -05:00
Simo Sorce
44083e3178 r1785: remove unneeded dependencies on openldap client libraries 2007-10-10 12:57:56 -05:00
Stefan Metzmacher
250485b69f r1784: a few minor changes and debug the decoded PAC_DATA
metze
2007-10-10 12:57:56 -05:00
Simo Sorce
e6a6c0737a r1771: OK Let's add tests for ldap.
Thanks to Metze and Volker for their unvaluable support :)
2007-10-10 12:57:56 -05:00
Stefan Metzmacher
d8fe497097 r1770: here's the krb5 server code,
there're some cleanups needed and we need to verify the PAC correctly
and create the auth_session_info correctly...

metze
2007-10-10 12:57:55 -05:00
Andrew Bartlett
90d70a63ee r1769: Add a new torture test to check vuid properties, and SPNEGO/non-SPNEGO games.
Andrew Bartlett
2007-10-10 12:57:55 -05:00
Andrew Bartlett
32b45fc9e8 r1768: Add some debugs to assist in SMB signing debugging.
Andrew Bartlett
2007-10-10 12:57:55 -05:00
Simo Sorce
f9d7b731c9 r1761: start porting valuable volker's work on ldap from trunk
all ldb functions has been renamed to ldap_ as we don't
really want to include ldb functions here, let's keep ldap
and ldb separate.
2007-10-10 12:57:54 -05:00
Stefan Metzmacher
48939adca1 r1756: merge volkers ldap client lib to samba4 for simo to start with the
ldap server code

it's not compiled in yet...

metze
2007-10-10 12:57:54 -05:00
Andrew Bartlett
0949b72645 r1752: Fix compile bugs on C (rather than C++) tolerant compilers.
Andrew Bartlett
2007-10-10 12:57:53 -05:00
Stefan Metzmacher
b898589296 r1748: don't segfault if there's no ticket
metze
2007-10-10 12:57:53 -05:00
Andrew Bartlett
b176151b72 r1746: Remove more cruft from the SMB signing code.
Andrew Bartlett
2007-10-10 12:57:53 -05:00
Andrew Bartlett
8830603e4b r1745: More work on cleaning up SMB signing.
This removes the function pointer mess from the SMB signing code.

Andrew Bartlett
2007-10-10 12:57:52 -05:00
Andrew Tridgell
fc75dc4902 r1739: fixed the padding in setpathinfo, noticed when forcing negotiated ascii strings 2007-10-10 12:57:51 -05:00
Andrew Tridgell
b6664bdd0f r1738: honor the "unicode=yes/no" option in the SMB client library 2007-10-10 12:57:51 -05:00
Stefan Metzmacher
68f3e53826 r1737: don't segfault when a mech don't have a session_info hook
metze
2007-10-10 12:57:51 -05:00
Andrew Bartlett
68a6d5aeb3 r1735: Clean up SMB signing - we don't have more than one 'real' way to sign
a packet, so don't pretend we do...

Andrew Bartlett
2007-10-10 12:57:51 -05:00
Andrew Bartlett
73ee549b8c r1731: Add server-side SPNEGO support to Samba (disabled, until SMB signing
is reworked).

Andrew Bartlett
2007-10-10 12:57:51 -05:00
Andrew Bartlett
b90b04e84b r1729: Make the SMB signing code more generic (to share more between client and servers).
Andrew Bartlett
2007-10-10 12:57:50 -05:00
Andrew Bartlett
4d563d7e4a r1725: Remove a silly 'utility' function.
Andrew Bartlett
2007-10-10 12:57:50 -05:00
Andrew Bartlett
c91d6b6f9b r1724: Add a new function to return the list of available OIDs.
(Used in our SPNEGO code).

Andrew Bartlett
2007-10-10 12:57:50 -05:00
Andrew Bartlett
6da7b65851 r1723: Make sure we bail out on error in reading a OID.
Andrew Bartlett
2007-10-10 12:57:50 -05:00
Andrew Tridgell
566b7a9ce9 r1712: this should fix a bug with a spinning client when a server dies
unexpectedly. bug found by abartlett.
2007-10-10 12:57:50 -05:00
Andrew Bartlett
64fcd8eceb r1686: Don't use a void* for the context inside the SMB signing code.
Andrew Bartlett
2007-10-10 12:57:48 -05:00
Andrew Bartlett
0e4e3647e8 r1685: Add the ability to lookup RPC auth types for the RPC-MGMT torture test.
Andrew Bartlett
2007-10-10 12:57:48 -05:00
Andrew Tridgell
8685a584c9 r1676: - improved the handling of username/password in locktest and gentest
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey
  the smb.conf "max protocol" option

- better handling of -M option in masktest
2007-10-10 12:57:48 -05:00
Andrew Tridgell
17a3315297 r1674: fixed a bug in the handling of STR_LEN8BIT flagged strings 2007-10-10 12:57:48 -05:00
Stefan Metzmacher
8441750fd9 r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

metze
2007-10-10 12:57:47 -05:00
Andrew Tridgell
326fdc8c9d r1635: when a transport dies, setup errors for all pending sends and recvs, plus disalllow any more sends 2007-10-10 12:57:45 -05:00
Andrew Tridgell
81c450b434 r1634: to get signing right for async requests we must send requests in
order. Fixed the linked list add to always add to the end for outgoing
requests.
2007-10-10 12:57:45 -05:00
Andrew Tridgell
d7e2f39b90 r1633: fixed a couple of async oplock handling errors 2007-10-10 12:57:45 -05:00
Andrew Tridgell
35f4ad4700 r1631: don't use req->transport after req has been destroyed 2007-10-10 12:57:45 -05:00
Andrew Tridgell
e8d4b39088 r1630: - fixed the replacement timegm() function to work correctly for DST changes
- got rid of global_myname(), using lp_netbios_name() instead
2007-10-10 12:57:45 -05:00
Andrew Tridgell
48b5b740f1 r1627: make sure we initialise write_time in the deprecated function cli_ctemp() 2007-10-10 12:57:44 -05:00
Andrew Tridgell
daa9648b3f r1619: - add support for older systems to cli_list*()
- make cli_list_new() use the last_name continue method rather than
   the trans2 findnext continue flag, as the continue flag is broken on
   win2003 (win2003 sometimes misses up to 1/3 of all files in a directory)
2007-10-10 12:57:44 -05:00
Andrew Tridgell
bd4106a8e5 r1618: fixed the receipt of multi-part replies to SMBtrans2 2007-10-10 12:57:44 -05:00
Andrew Bartlett
8a0f7bf5e2 r1605: GENSEC krb5 updates - fix a valgrind found uninitialised variable, and
allow tests for 'unwrapped' krb5, allowed by Win2k3.

SPENGO changes, trying to get the logic right (when and what
sub-mechanisms to wrap).

Andrew Bartlett
2007-10-10 12:57:44 -05:00
Andrew Bartlett
9efc94eeaf r1604: Samba4 avoids memcpy() as much as possible - we don't need to make a copy here.
Andrew Bartlett
2007-10-10 12:57:43 -05:00
Andrew Tridgell
6edbc55ddd r1603: fixed in.size to not overstate the packet size by 4 bytes
my apologies to abartlett for thinking this was his bug!
2007-10-10 12:57:43 -05:00
Andrew Tridgell
de764d9004 r1602: make sure we honor the use_spnego flag 2007-10-10 12:57:43 -05:00
Andrew Tridgell
96bf4da3ed r1578: the first stage of the async client rewrite.
Up to now the client code has had an async API, and operated
asynchronously at the packet level, but was not truly async in that it
assumed that it could always write to the socket and when a partial
packet came in that it could block waiting for the rest of the packet.

This change makes the SMB client library full async, by adding a
separate outgoing packet queue, using non-blocking socket IO and
having a input buffer that can fill asynchonously until the full
packet has arrived.

The main complexity was in dealing with the events structure when
using the CIFS proxy backend. In that case the same events structure
needs to be used in both the client library and the main smbd server,
so that when the client library is waiting for a reply that the main
server keeps processing packets. This required some changes in the
events library code.

Next step is to make the generated rpc client code use these new
capabilities.
2007-10-10 12:57:42 -05:00
Stefan Metzmacher
0bb50dcf1c r1547: rename 'enum <bla>_level' -> 'enum smb_<bla>_level'
e.g. we now have 'union smb_mkdir' and 'enum smb_mkdir_level' in sync

we may should also rename 'RAW_MKDIR_*' -> 'SMB_MKDIR_*'

metze
2007-10-10 12:57:41 -05:00