summaryrefslogtreecommitdiffstats
path: root/source/libsmb/cliconnect.c
Commit message (Collapse)AuthorAgeFilesLines
* r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter2007-09-281-28/+10
| | | | | | The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run).
* r25403: grab latest changes form 3.2 tree in preparation for release of ↵Gerald Carter2007-09-281-10/+28
| | | | 3.2.0pre1
* r24737: Remove older TODO: Convert internal_resolve_name() and friends to ↵Günther Deschner2007-08-281-1/+2
| | | | | | NTSTATUS. Guenther
* r24281: Fix bug found by Herb. The vuid entry in the cli_state structure getsJeremy Allison2007-08-081-0/+4
| | | | | | | | | | left as nonzero as returned by the failed cli_session_setup_spnego. When we then try to authenticate as the user in cli_session_setup this returns an error "Bad userid" (as seen in wireshark). "We should only leave cli->vuid != 0 on success. Looks like it's getting set in the cli_session_setup_blob_receive() call and not cleared again on error." Jeremy.
* r24043: merge from SAMBA_3_0 (r22092-r22093):Stefan Metzmacher2007-07-251-1/+1
| | | | | | | | | | | | - make spnego_parse_auth_response() more generic and not specific for NTLMSSP - it's possible that the server sends a mechOID and authdata if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE - send also the correct OID_KERBEROS5 not only the broken OID_KERBEROS_OLD one. metze
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-06-201-13/+12
| | | | | Long overdue fix.... Jeremy.
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-05-141-15/+15
| | | | replace all data_blob(NULL, 0) calls.
* r22644: Fix memleak.Günther Deschner2007-05-031-1/+3
| | | | Guenther
* r22122: Start to fix csc issue with Vista. Make smbd supportJeremy Allison2007-04-071-0/+1
| | | | | | the extended 7 word response for tconX rather than the 3 word one we supported previously. Jeremy.
* r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-03-071-2/+3
| | | | Jeremy.
* r21577: Remove unneeded #define (part of earlier patch that wasJeremy Allison2007-02-281-2/+0
| | | | | removed). Jeremy.
* r21576: Patch based on work from Todd Stecher <todd.stecher@isilon.com>Jeremy Allison2007-02-281-16/+74
| | | | | | to allow client to fragment large SPNEGO blobs (large krb5 tickets). Tested against W2K3R2. Should fix bug #4400. Jeremy.
* r21241: Merge from 3_0:Günther Deschner2007-02-081-1/+1
| | | | | | | | | | | | | | | | | | | Fix longstanding Bug #4009. For the winbind cached ADS LDAP connection handling (ads_cached_connection()) we were (incorrectly) assuming that the service ticket lifetime equaled the tgt lifetime. For setups where the service ticket just lives 10 minutes, we were leaving hundreds of LDAP connections in CLOSE_WAIT state, until we fail to service entirely with "Too many open files". Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP connection after the ads_do_search_retry() has failed to submit the search request (although the bind succeeded (returning an expired service ticket that we cannot delete from the memory cred cache - this will get fixed later)). Guenther
* r19810: more merge work....does not compile currently. Working on smbd mergeGerald Carter2006-11-211-76/+101
|
* r19806: merge time.c changesGerald Carter2006-11-201-3/+7
|
* r19795: * bring the 'enum lsa_SidType', 'struct GUID', & 'structGerald Carter2006-11-191-2/+2
| | | | policy_handle' over from SAMBA_3_0.
* r19653: Fix the non-krb build, a la 3.0.23Jim McDonough2006-11-101-2/+0
|
* r19050: Merge Volker's Vista RC1 fix - nice to get more testingJeremy Allison2006-10-021-3/+14
| | | | | on the release side of things. Jeremy.
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-8/+20
|
* r15164: grab a few more changes from SAMBA_3_0Gerald Carter2006-04-221-3/+19
|
* r14585: Tighten argument list of kerberos_kinit_password again,Günther Deschner2006-03-201-1/+1
| | | | | | kerberos_kinit_password_ext provides access to more options. Guenther
* r13502: Fix error messages for usershares when smbd is notJeremy Allison2006-02-151-3/+10
| | | | | | running. More generic error return cleanup in libsmb/ needs doing (everything returning NTSTATUS not BOOL). Jeremy
* r13316: Let the carnage begin....Gerald Carter2006-02-031-1/+1
| | | | Sync with trunk as off r13315
* r13310: first round of server affinity patches for winbindd & net ads joinGerald Carter2006-02-031-5/+7
|
* r11975: Fix valgrind error -- bug 3291Volker Lendecke2005-11-301-0/+1
|
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2005-11-051-2/+2
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r11240: * fix invalid read reported by valgrind in the Gerald Carter2005-10-211-1/+1
| | | | | | | | spoolss backchannel connection by rewriting spoolss_connect_to_client(). Ensure that we save the cli_state* in the rpc_pipe_client struct. * fix typo in debug message in cli_start_connection"
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-24/+3
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2005-07-191-2/+0
|
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-2/+1
|
* r5994: proper fix for smbclient and win98 file servers; check the WCT value ↵Gerald Carter2005-03-231-2/+6
| | | | in the tcon&X reply before setting the cli_state->dfsroot flag
* r5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not ↵Gerald Carter2005-03-221-0/+4
| | | | using krb5
* r5729: partial fixes for BUG 2308; libsmbclient patches from Derrell Lipman ↵Gerald Carter2005-03-101-1/+6
| | | | <derrell.lipman@unwireduniverse.com>
* r5518: Add initial msdfs support to smbclient. Currently I can only Gerald Carter2005-02-231-0/+3
| | | | | | | | | | | | cd up and down the tree and get directory listings. Still have to figure out how to get a directory listing on a 2k dfs root. Also have to work out some issues with relative paths that cross dfs mount points. We're protected from the new code paths when connecting to a non-dfs root share ( the flag from the tcon&X is stored in the struct cli_state* )
* r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2005-02-221-1/+1
| | | | | | | | | | | | | | | | and SMBsplclose commands (BUG 2010) * clarify some debug messages in smbspool (also from Mike) my changes: * start adding msdfs client routines * enable smbclient to maintain multiple connections * set the CAP_DFS flag for our internal clienht routines. I actualy have a dfs referral working in do_cd() but that code is too ugly to live so I'm not checking it in just yet. Further work is to merge with vl's changes in trunk to support multiple TIDs per cli_state *.
* r4970: Fix for bug 2092, allowing fallback after kerberos and allowJeremy Allison2005-01-241-2/+6
| | | | | gnome vfs to prevent auto-anonymous logon. Jeremy.
* r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.Jeremy Allison2005-01-221-1/+6
| | | | | Added text explaining units in pdbedit time fields. Jeremy.
* r4186: Fix client & server to allow 127k READX calls.Jeremy Allison2004-12-141-6/+9
| | | | Jeremy.
* r3377: Merge in first part of modified patch from Nalin Dahyabhai ↵Jeremy Allison2004-10-291-1/+1
| | | | | | | | | <nalin@redhat.com> for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy.
* r2466: Fix memleak found by sean.chandler@verizon.net.Volker Lendecke2004-09-211-1/+6
| | | | | | Thanks! Volker
* r2371: Fix for talking to OS/2 clients (max_mux ignored) by Guenter Kukkukk ↵Jeremy Allison2004-09-171-0/+1
| | | | | | | <guenter.kukkukk@kukkukk.com>. Bugid #1590. Jeremy.
* r1612: Fix bug #1571 found by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>Andrew Bartlett2004-07-301-2/+5
| | | | | | (Botched LANMAN2 session setup code) Andrew Bartlett
* r1487: Remove unused parameter for the client-side signing functions.Andrew Bartlett2004-07-141-1/+1
| | | | Andrew Bartlett
* r525: More memory leak fixes from kawasa_r@itg.hitachi.co.jp in error codeJeremy Allison2004-05-061-5/+9
| | | | | paths. Jeremy.
* r523: Fix from kawasa_r@itg.hitachi.co.jp to initialise blob structs.Jeremy Allison2004-05-061-2/+2
| | | | Jeremy.
* r176: Improve our fallback code for password changes - this would be betterAndrew Bartlett2004-04-121-19/+44
| | | | | | | | | | | | | | with more correct NTLMSSP support in client and server, but it will do for now. Also implement LANMAN password only in the classical session setup code, but #ifdef'ed out. In Samba4, I'll make this run-time so we can torture it. Lanman passwords over 14 dos characters long could be considered 'invalid' (they are truncated) - so SMBencrypt now returns 'False' if it generates such a password. Andrew Bartlett
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-9/+11
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+1683
metze