summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb/trans2.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-08s4:smb_server: implement dfs referral handing on top of ↵Stefan Metzmacher1-812/+53
dfs_server_ad_get_referrals() metze
2011-07-21update/add my copyrightMatthieu Patou1-1/+1
2011-06-23dfsreferral: search client's site and use itMatthieu Patou1-2/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Jun 23 01:50:39 CEST 2011 on sn-devel-104
2011-05-18s4-dfs: Add workaround so that XP really works wellMatthieu Patou1-13/+18
XP seems to have problems working at a correct speed (or even working at all if we return referral of level 4).
2011-05-17s4-dfs: Use a workaround for ndr relative pointer bug/limitationMatthieu Patou1-11/+8
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue May 17 01:33:27 CEST 2011 on sn-devel-104
2011-05-17s4-dfs: clean the codeMatthieu Patou1-44/+50
2011-05-17s4-dfs: fix bugs in idl and adapt code accordinglyMatthieu Patou1-17/+23
2011-03-30s4:smb_server/smb/trans2.c - "talloc_move" isn't strictly necessary hereMatthias Dieter Wallnöfer1-1/+1
Since the "set" will be free'd afterwards "talloc_steal" is enough. Reviewed-by: Tridge
2010-10-10samdb: Add flags argument to samdb_connect().Jelmer Vernooij1-1/+1
2010-10-05dfs: Fix wrong size of referral, change order of dc referralMatthieu Patou1-5/+12
Order of referral is now like w2k8/w2k8r2 as it seems it has an influence on how clients manage to get it.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-9/+9
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-18s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME"Matthias Dieter Wallnöfer1-1/+0
Obviously this isn't needed and in general site names shouldn't be hardcoded anymore (except there is a good reason).
2010-05-18s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requestsMatthieu Patou1-1/+871
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18s4:smb_server: fix trailling whitespace in trans2.cMatthieu Patou1-25/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-09-19s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell1-2/+0
2009-02-02s4:smb_server: s/private/private_dataStefan Metzmacher1-2/+2
metze
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-07-07smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher1-3/+3
metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
2008-07-07smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher1-2/+3
metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
2008-07-07smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher1-1/+12
Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
2008-07-07smb_server/smb: fix crash bug with fragmented trans callsStefan Metzmacher1-13/+20
We need to use smbsrv_setup_secondary_request(req) to send the trans ack, because smbsrv_send_reply(req) destroys 'req' and the partial trans list had dead elements in the list. Also make sure the partial list element is removed by a talloc destructor. metze (This used to be commit 221f4d6e534a40b7def6e51dc6b4f9e8057d18b7)
2008-06-02more updates for new info levelsAndrew Tridgell1-3/+12
(This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell1-12/+12
This converts our SMB and SMB2 code to use a common structure "struct request_bufinfo" for information on the buffer bounds of a packet, alignment information and string handling. This allows us to use a common backend for SMB and SMB2 code, while still using all the same string and blob handling functions. Up to now we had been passing a NULL req handle into these common routines from the SMB2 side of the server, which meant that we failed any operation which did a bounds checked string extraction (such as a RenameInformation setinfo call, which is what Vista uses for renaming files) There is still some more work to be done on this - for example we can now remove many of the SMB2 specific buffer handling functions that we had, and use the SMB ones. (This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2007-10-10r25551: Convert to standard bool type.Jelmer Vernooij1-3/+3
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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)
2007-10-10r23067: use 'const union smb_search_data *file' also in the server code to ↵Stefan Metzmacher1-2/+2
get rid of compiler warnings in the cifs backend metze (This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)
2007-10-10r19505: fixed a valgrind errorAndrew Tridgell1-0/+4
(This used to be commit 8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* 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)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-25/+27
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16815: split out search levels which are also used by smb2Stefan Metzmacher1-127/+2
metze (This used to be commit 3b8ecc19fac6f9d52adae86767ca153ab719d00d)
2007-10-10r16621: split out passthru levels of setfileinfoStefan Metzmacher1-55/+15
metze (This used to be commit 6cd64cb78f23c88029b8b5ef712b3f8a26e8528f)
2007-10-10r16449: move some code to a generic placeStefan Metzmacher1-513/+56
metze (This used to be commit 77a711c54ae7543a26f0ace1f189d6ed580c48d9)
2007-10-10r16448: add more error checksStefan Metzmacher1-53/+47
metze (This used to be commit d6d86c65bf1835061713e0d8f2450e38455a3e1d)
2007-10-10r16444: - split out qfsinfo passthru levelsStefan Metzmacher1-85/+83
- use 1 to 1 mapping of interface and wire levels metze (This used to be commit e7d339d49669e72588461584b66ef9b19eb0a2f8)
2007-10-10r16443: add push code for SMB2 levelsStefan Metzmacher1-0/+36
metze (This used to be commit 142680ab9b4ca04ea94ed40659358e1158f88c7a)
2007-10-10r16440: split out passthru level into a new functions,Stefan Metzmacher1-71/+116
so they can we reused for smb2 later metze (This used to be commit 42324c1f63e2f16b27c43bf17b434c644244b931)
2007-10-10r16403: remove dependency to smbsrv_request next part...Stefan Metzmacher1-21/+27
metze (This used to be commit 708a5d3bf08f62ba99740c3007a8882e22a01bc9)
2007-10-10r16402: start to remove the dependecy to smbsrv_request from the parsing ↵Stefan Metzmacher1-57/+77
functions metze (This used to be commit e4a5e2db7f3333e7cb15bdd6eeb5b08a6f1d912f)
2007-10-10r16401: keep the old pointer when realloc fails, this is needed for theStefan Metzmacher1-2/+4
search callback metze (This used to be commit c868b8b7d7ee0424ed955f699543593aaa633e92)
2007-10-10r16400: add more error checksStefan Metzmacher1-47/+55
metze (This used to be commit 779c51ad52bd54c10e208b108cb34500e542097f)
2007-10-10r16399: - split out pushing smb_fsinfo into a DATA_BLOBStefan Metzmacher1-67/+76
- add error checks metze (This used to be commit 2aaca1631f4e9f312a8de506b21290b9452c2a43)
2007-10-10r16357: - start get rid of void parsing functionsStefan Metzmacher1-223/+233
- there will more changes come but I want to do them in relative small chunks metze (This used to be commit d021a8b3ee986194fbfddfc096edb715b01dafe5)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-0/+1
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15739: return False when the function is called with an invalid levelStefan Metzmacher1-1/+1
metze (This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher1-7/+11
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r14541: separate smbsrv_request and ntvfs_request,Stefan Metzmacher1-72/+46
with this it's now possible to write a ntvfs_test programm like the vfstest in samba3 also smb2 support will be possible later metze (This used to be commit 7253153691e35cd206346fbd4e9b9f95c042f602)
2007-10-10r14504: make trans and trans2 able to use async ntvfs backendsStefan Metzmacher1-408/+534
tridge: can you review this please metze (This used to be commit f2e9b2c3a2304320ac090549815b174887b3e466)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-7/+7
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)