summaryrefslogtreecommitdiffstats
path: root/source4/libcli/smb_composite
Commit message (Collapse)AuthorAgeFilesLines
* s4:libcli/smb_composite: use the options on the transportStefan Metzmacher2014-11-271-1/+1
| | | | | | | | These are the options which really belong to the connection and might not be the the same as the hints given from the caller. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:libcli/smb_composite: don't try anonymous smb signingStefan Metzmacher2014-09-301-11/+27
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s4:libcli: make use of gensec_update_ev()Stefan Metzmacher2014-03-271-3/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: Fix comparison of chosen_oid.Andreas Schneider2012-12-121-1/+1
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* libcli: use cli_credentials_failed_kerberos_login() to cope with server changesAndrew Tridgell2012-11-011-2/+15
| | | | | | | if a server changes while we have a valid ticket we want to retry after removing the ccache entry. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:libcli: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher2012-08-041-0/+6
| | | | metze
* s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher2012-08-021-2/+2
| | | | metze
* s4:libcli/raw: remove unused smbcli_session->user_session_keyStefan Metzmacher2012-08-012-15/+0
| | | | metze
* s4:libcli/smb_composite: make use of smb1cli_session_set_session_key()Stefan Metzmacher2012-08-011-1/+17
| | | | metze
* s4:libcli/smb_composite: always use set_user_session_key() helperStefan Metzmacher2012-08-011-2/+6
| | | | metze
* s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2012-04-252-6/+13
| | | | | | This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
* s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-302-36/+34
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
* s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher2011-11-301-41/+13
| | | | metze
* s4:libcli: convert smbcli_transport_connect_* to tevent_reqStefan Metzmacher2011-11-301-14/+26
| | | | metze
* s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher2011-11-294-4/+4
| | | | | | | We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
* s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-241-4/+4
| | | | metze
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-181-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>
* s4:auth - remove unused variablesMatthias Dieter Wallnöfer2011-09-191-1/+0
| | | | Reviewed-by: Jelmer
* smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij2011-08-181-1/+0
|
* smb_composite: Integrate prototypes in header file.Jelmer Vernooij2011-08-182-3/+69
|
* gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2011-08-031-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
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-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
* s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2011-06-151-57/+127
| | | | | | tevent_req metze
* s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done()Stefan Metzmacher2011-04-281-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
* s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done()Stefan Metzmacher2011-04-281-22/+23
| | | | | | It should be after smb2_composite_setpathinfo_send(). metze
* s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done()Stefan Metzmacher2011-04-281-1/+12
| | | | metze
* s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵Stefan Metzmacher2011-04-281-22/+15
| | | | | | and vars metze
* s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach2011-04-141-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
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-183-5/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-1/+1
|
* libutil: moved the networking defines to util_net.hAndrew Tridgell2010-03-261-0/+1
| | | | These were causing thousands of warnings on solaris8
* s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2010-03-111-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
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-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.
* s4-resolve: fixed a crash bug on timeoutAndrew Tridgell2009-09-191-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.
* fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell2009-08-071-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.
* s4:libcli: remember operating system and lan manager strings from session setupStefan Metzmacher2009-05-011-0/+21
| | | | metze
* ѕ4: fix a "not handled in switch" compile warningBjörn Jacke2009-04-221-0/+2
|
* s4:libcliraw: s/private/private_dataStefan Metzmacher2009-02-026-24/+24
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-292-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
* Fix the build.Jelmer Vernooij2008-11-022-4/+7
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-024-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.
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-023-1/+3
| | | | should in the future only contain some settings required for gensec.
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-024-1/+6
|
* Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij2008-11-011-1/+3
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-244-4/+0
|
* Remove more usages of global_loadparm.Jelmer Vernooij2008-10-241-2/+2
|
* Eliminate another instance of global_loadparm.Jelmer Vernooij2008-10-244-1/+6
|
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-241-2/+2
| | | | functions.
* Pass session options around; saves another use of global_loadparm.Jelmer Vernooij2008-09-304-4/+5
|