summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/clisocket.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher1-17/+17
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1578: the first stage of the async client rewrite.Andrew Tridgell1-1/+7
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. (This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10r1475: More kerberos workAndrew Bartlett1-1/+10
- We can now connect to hosts that follow the SPNEGO RFC, and *do not* give us their principal name in the mechListMIC. - The client code now remembers the hostname it connects to - We now kinit for a user, if there is not valid ticket already - Re-introduce clock skew compensation TODO: - See if the username in the ccache matches the username specified - Use a private ccache, rather then the global one, for a 'new' kinit - Determine 'default' usernames. - The default for Krb5 is the one in the ccache, then $USER - For NTLMSSP, it's just $USER Andrew Bartlett (This used to be commit de5da669397db4ac87c6da08d3533ca3030da2b0)
2007-10-10r335: added much better handling of servers that die unexpectedly during aAndrew Tridgell1-3/+23
request (a dead socket). I discovered this when testing against Sun's PC-NetLink. cleaned up the naming of some of the samr requests add IDL and test code for samr_QueryGroupMember(), samr_SetMemberAttributesOfGroup() and samr_Shutdown(). (actually, I didn't leave the samr_Shutdown() test in, as its fatal to windows servers due to doing exactly what it says it does). (This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
2003-11-26fixed default port handling pointed out by Tom JansenAndrew Tridgell1-1/+1
(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
2003-11-19updated copyright yearAndrew Tridgell1-1/+1
(This used to be commit 4dcc06d04c67c6e063c5b2a88f693423c77f342d)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+148
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)