summaryrefslogtreecommitdiffstats
path: root/source4/libcli/smb_composite
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/smb_composite: we only check the signature when the server return OKStefan Metzmacher2008-09-241-0/+9
| | | | | | | We need to manually free the request, otherwise the timeout handler is triggered later. metze
* libcli/smb_composite: for spnego session setups check the smb signature manuallyStefan Metzmacher2008-09-231-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
* added SMB2 setpathinfo composite wrapperAndrew Tridgell2008-05-201-0/+105
| | | | (This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)
* added SMB2 proxying of rmdirAndrew Tridgell2008-05-191-1/+73
| | | | (This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)
* added mkdir to SMB2 proxyAndrew Tridgell2008-05-191-0/+72
| | | | (This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
* private -> private_data for struct smb2_requestAndrew Tridgell2008-05-161-0/+1
| | | | (This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
* started adding SMB2 composite functions that emulate common SMB callsAndrew Tridgell2008-05-161-0/+122
| | | | | (such as unlink) (This used to be commit 433038f3fea60087bdca07dcc856d0be4a4753f3)
* Reorder this function in the file, so it reads bottom-up.Andrew Bartlett2008-05-051-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)
* Revert to using the old CIFS connection API.Andrew Bartlett2008-04-252-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)
* Make the composite 'connect to server' code useful for security=serverAndrew Bartlett2008-04-253-14/+35
| | | | | | | | | The ability to short-circuit the connection code to only do a negprot allows us to do the rest once we have the user's password. We return the 8 byte challenge so we can pass it to the client. Andrew Bartlett (This used to be commit 40fe386b0374df8b390b995c332d048dbbc08f1b)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-213-9/+3
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-025-0/+6
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Remove use of global_loadparm.Jelmer Vernooij2008-02-282-1/+2
| | | | (This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)
* Remove yet more global_loadparm instances.Jelmer Vernooij2008-02-211-6/+6
| | | | (This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
* Remove more uses of global_loadparm.Jelmer Vernooij2008-02-211-2/+2
| | | | (This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
* Remove more uses of global_loadparm.Jelmer Vernooij2008-02-212-2/+3
| | | | (This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
* r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of ↵Jelmer Vernooij2008-01-061-1/+1
| | | | | | | cifsdd tests. Thanks to Andrew for catching this. Also fixes a typo in sessetup.c. (This used to be commit b97de4a655b989a481d5d001ce9a5d3969d2909c)
* r26674: smb_composite: Avoid use of global_loadparm.Jelmer Vernooij2008-01-051-2/+3
| | | | | Hopefully this fixes OpenChange's mapiadmin. (This used to be commit 2df0f7016e27705c3799b2f6bb20fcc17b103c36)
* r26670: Janitorial: Remove global_loadparm uses.Jelmer Vernooij2008-01-051-2/+2
| | | | (This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
* r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2008-01-034-28/+6
| | | | | | options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
* r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij2008-01-034-2/+8
| | | | | | | | The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
* r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij2008-01-024-5/+26
| | | | | | smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections. (This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
* r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2008-01-024-6/+16
| | | | | | functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-214-6/+7
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26376: Add context for libcli_resolve.Jelmer Vernooij2007-12-211-2/+1
| | | | (This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
* r26266: Remove more global_loadparm uses.Jelmer Vernooij2007-12-211-1/+3
| | | | (This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
* r26231: Spell check: credentails -> credentials.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 4b46888bd0195ab12190f76868719fc018baafd6)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-104-8/+8
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-102-4/+7
| | | | | | | | 2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-102-11/+11
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-102-0/+2
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24994: Fix some C++ warnings.Jelmer Vernooij2007-10-104-4/+4
| | | | (This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
* r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-106-18/+12
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22628: convert to new composite apiStefan Metzmacher2007-10-101-29/+28
| | | | | | | | | and free the smbcli_request explicit to fix a crash where the request handler gets called after its private data is already freed metze (This used to be commit 55306c618807f2661090d2189e269cb3e142ee06)
* r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett2007-10-101-0/+2
| | | | | | | | | Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
* r19481: - reset the vuid before trying a new session setupStefan Metzmacher2007-10-101-3/+14
| | | | | | | | - only touch session->vuid when needed - it make no sense to set an .spnego.out.vuid metze (This used to be commit 1940fbed154c89d29214ddf293128a70a97bf923)
* r19480: - clear the whole session struct (only let the pid untouched)Stefan Metzmacher2007-10-101-1/+4
| | | | | | | - zero state struct metze (This used to be commit 97fb407a4cfcf71e95663e437cb7f638ac4028fc)
* r17930: Merge noinclude branch:Jelmer Vernooij2007-10-101-1/+0
| | | | | | | * Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
* r17277: we need to trigger an event when we return directly,Stefan Metzmacher2007-10-101-1/+1
| | | | | | | | otherwise the callers callback function will not be called and the caller is hanging forever... metze (This used to be commit e231eba828486e68c9d3a246e1e0c943fdb8301c)
* r16464: split client and server min/max protocol settingsStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
* r15741: move smb2 request structures into the main smb request structsStefan Metzmacher2007-10-101-0/+5
| | | | | | | as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
* r15416: Point out that this doesn't work, but for servers this old, I justAndrew Bartlett2007-10-101-0/+2
| | | | | | | don't care... Andrew Bartlett (This used to be commit 8abe7ba619a9499229937435b66005e278bcbf38)
* r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3Andrew Bartlett2007-10-101-1/+52
| | | | | | | attempts for the password, when talking to a remote CIFS server. Andrew Bartlett (This used to be commit 3a4ddc8f5978210ab3ad79f0332cee80a0d6e6c9)
* r14860: create libcli/security/security.hStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-0/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r14414: added some error checksAndrew Tridgell2007-10-101-0/+2
| | | | (This used to be commit cd9f3adc759f1dc29043c435febfe78e56fece1b)
* r14380: Reduce the size of structs.hJelmer Vernooij2007-10-102-2/+3
| | | | (This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)