summaryrefslogtreecommitdiff
path: root/source4/libcli/smb_composite
AgeCommit message (Collapse)AuthorFilesLines
2011-11-30s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher2-36/+34
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-30s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher1-41/+13
metze
2011-11-30s4:libcli: convert smbcli_transport_connect_* to tevent_reqStefan Metzmacher1-14/+26
metze
2011-11-29s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher4-4/+4
We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher1-4/+4
metze
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett1-2/+4
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-19s4:auth - remove unused variablesMatthias Dieter Wallnöfer1-1/+0
Reviewed-by: Jelmer
2011-08-18smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij1-1/+0
2011-08-18smb_composite: Integrate prototypes in header file.Jelmer Vernooij2-3/+69
2011-08-03gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett1-3/+2
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-1/+1
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-15s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher1-57/+127
tevent_req metze
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done()Stefan Metzmacher1-25/+27
It should be after smb2_composite_setpathinfo_create_done(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 28 21:38:53 CEST 2011 on sn-devel-104
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done()Stefan Metzmacher1-22/+23
It should be after smb2_composite_setpathinfo_send(). metze
2011-04-28s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done()Stefan Metzmacher1-1/+12
metze
2011-04-28s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵Stefan Metzmacher1-22/+15
and vars metze
2011-04-14s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach1-4/+22
I have seen domain controllers rejecting NTLMv2 blobs presented to NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName was a FQDN or an IP address I have not seen this field in NTLMv2 blobs send by Windows clients when extended security was not available, so omitting the field makes Samba similar to Windows. This prevents errors with some smbtorture testcases that disable spnego and when a target name is specified that is not a valid netbios name. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-1/+1
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij3-5/+0
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+1
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-03-11s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett1-38/+9
This avoids pulling the address into a string and back again if given a name, by letting the next async layer down do the name resolution. If it was an IP address to start with, then the resolver library just converts that to the struct socket_address. Andrew Bartlett
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-1/+1
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-1/+1
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-05-01s4:libcli: remember operating system and lan manager strings from session setupStefan Metzmacher1-0/+21
metze
2009-04-22ѕ4: fix a "not handled in switch" compile warningBjörn Jacke1-0/+2
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher6-24/+24
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher2-3/+3
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-02Fix the build.Jelmer Vernooij2-4/+7
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij4-1/+6
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij3-1/+3
should in the future only contain some settings required for gensec.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij4-1/+6
2008-11-01Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij1-1/+3
2008-10-24Remove unused include param/param.h.Jelmer Vernooij4-4/+0
2008-10-24Remove more usages of global_loadparm.Jelmer Vernooij1-2/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij4-1/+6
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij1-2/+2
functions.
2008-09-30Pass session options around; saves another use of global_loadparm.Jelmer Vernooij4-4/+5
2008-09-30Remove global_loadparm instance.Jelmer Vernooij1-4/+6
2008-09-30Pass options struct into session initialization functions rather thanJelmer Vernooij1-1/+4
using global_loadparm.
2008-09-24s4:libcli/smb_composite: we only check the signature when the server return OKStefan Metzmacher1-0/+9
We need to manually free the request, otherwise the timeout handler is triggered later. metze
2008-09-23libcli/smb_composite: for spnego session setups check the smb signature manuallyStefan Metzmacher1-23/+57
We need to start signing when we got NT_STATUS_OK from the server and manually check the signature of the servers response. This is needed as the response might be signed with the krb5 acceptor subkey, which comes within the server response. With NTLMSSP this happens for the session setup: request1 => BSRSPYL seqnum: 0 response1 => BSRSPYL seqnum: 0 request2 => BSRSPYL seqnum: 0 response2 => <SIGNATURE> seqnum: 1 and with krb5: request1 => BSRSPYL seqnum: 0 response1 => <SIGNATURE> seqnum: 1 metze
2008-05-20added SMB2 setpathinfo composite wrapperAndrew Tridgell1-0/+105
(This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)
2008-05-19added SMB2 proxying of rmdirAndrew Tridgell1-1/+73
(This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)
2008-05-19added mkdir to SMB2 proxyAndrew Tridgell1-0/+72
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
2008-05-16private -> private_data for struct smb2_requestAndrew Tridgell1-0/+1
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-05-16started adding SMB2 composite functions that emulate common SMB callsAndrew Tridgell1-0/+122
(such as unlink) (This used to be commit 433038f3fea60087bdca07dcc856d0be4a4753f3)
2008-05-05Reorder this function in the file, so it reads bottom-up.Andrew Bartlett1-19/+18
The rest of this file reads bottom-up, but this function (connect_send_negprot()) was out of place. Andrew Bartlett (This used to be commit f0c95cd74fb6fea57cef89b59e5d2f10ea25c138)
2008-04-25Revert to using the old CIFS connection API.Andrew Bartlett2-17/+8
Rather than add a new 'out' member to the API, simply fill in the 'tree' early enough that we can access the server challenge there. Andrew Bartlett (This used to be commit 6dbbcf8aaf9b93af970d1701dfb185460d4dc788)