summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
* First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison2002-10-231-0/+2
| | | | | | | | This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy. (This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-24/+45
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Sync 3.0 branch with headJelmer Vernooij2002-08-171-36/+52
| | | | (This used to be commit 42615b945e2e48e53a21ea47f2e45407913a6a1e)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-1084/+1539
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* This split the mangling code up to allow for the possibility of multipleAndrew Tridgell2002-04-111-13/+13
| | | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty. (This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
* Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.Jeremy Allison2002-04-021-0/+14
| | | | | | Forward ported some of the code tidyups from 2.2. Jeremy. (This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)
* Ensure that setting file length can return disk full on failure.Jeremy Allison2002-03-281-2/+7
| | | | | Jeremy. (This used to be commit 14e2beca9b8fa1c8d893013f52f42b2721a82758)
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-1/+1
| | | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.Jeremy Allison2002-03-201-1/+1
| | | | | | This code needs replacing with the trans2.c from 2.2.x. Jeremy. (This used to be commit bc8d4b98807ece734db3e1c3a2baabf4b28e7b4f)
* Ensure we get a real fd when opening for set file allocation.Jeremy Allison2002-03-201-1/+1
| | | | | Jeremy. (This used to be commit 00cabb2346fb11c5568b6c7a038c313ae293a0c2)
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-201-7/+2
| | | | | | | | | bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
* Mask off the aDIR on setfileinfo.Jeremy Allison2002-03-051-0/+5
| | | | | Jeremy. (This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
* Canonicalise pathnames returned to Windows directory separators.Jeremy Allison2002-03-041-0/+1
| | | | | | Found by Andrew at connectathon with some new tests Jeremy. (This used to be commit 4aaa4f52b8fc712f5f879ae5c47ba4601281b4e8)
* This fixes 4 info levels in a trans2 find_first that should not be nullAndrew Tridgell2002-02-251-4/+6
| | | | | | | | | terminated for the filenames. this is what caused win2k to go into a loop sending 20000 packets to set an acl on a directory. It didn't recognise ".." with a null termination as being ".." (This used to be commit a75a2e9e2f11e27ca8a7fbad8c0108a2aee0a690)
* this fixes the security tab on mapped drives for unicode clients.Andrew Tridgell2002-02-211-19/+12
| | | | | Jeremy, this is wrong in 2.2.x (This used to be commit 367358c7389555f413b3c690c012ef067859fc22)
* check for empty parameters in qpathinfoAndrew Tridgell2002-02-051-0/+4
| | | | (This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-111-5/+5
| | | | | Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
* First part of UNIX extensions (#ifdefed out) more to follow.Jeremy Allison2002-01-101-1/+169
| | | | | Jeremy. (This used to be commit 02b18f2cca6d6d046d2d8fd7375b207d44031ddc)
* fixed long filenames on win98Andrew Tridgell2001-12-201-1/+3
| | | | | the fstype must not be null terminated or win98 doesn't recognise it (This used to be commit c8a040f2aa733e926280af010513849b6406741d)
* Ensure the CAN_WRITE is checked and prevents O_CREAT and O_TRUNC fromJeremy Allison2001-11-281-0/+9
| | | | | | | being set. Also prevent an open on a file on a readonly share from setting delete on close. Jeremy. (This used to be commit 1f3dcd99bdd36cd3ff492394e80c3e2037a9aa48)
* Fixed delete on close bug. Added core dump code to winbindd.Jeremy Allison2001-11-231-72/+89
| | | | | Jeremy. (This used to be commit a58d0f91f9ee7354c01a9c20cfe178d5dc02142d)
* Tidyups when I was doing the big merge...Jeremy Allison2001-11-171-0/+1
| | | | | Jeremy. (This used to be commit 9148bb9eaa67de60c3b0b4709a9c05a840c20c66)
* Fixed allocation bug in database prog. Some format fixes.Jeremy Allison2001-11-121-954/+953
| | | | | Jeremy. (This used to be commit 9ff6b0c20cc88ef0bcd62a596fcb96f898b5b29d)
* Use defined constants not integers.Jeremy Allison2001-11-101-3/+3
| | | | | Jeremy. (This used to be commit d20949fe509c1496bc434f0fbf403f0b69ab9954)
* Only 1mb allocate slop.Jeremy Allison2001-11-081-56/+55
| | | | | Jeremy. (This used to be commit c339a99a891c9e4bbad59ee1243908c91f048834)
* Merge overdue changes from 2.2. Fix <4gb write problem.Jeremy Allison2001-11-081-40/+29
| | | | | Jeremy. (This used to be commit 36ea09d3a041fab0854dfdc20f6ea8db7ccbec2e)
* Added more define bits. Fixed error in vol attributes.Jeremy Allison2001-11-081-1/+0
| | | | | Jeremy. (This used to be commit eba8204bfadb176fafb686a35295a09f0f35b894)
* Don't put a \n on the end of the arg to exit_server()Tim Potter2001-11-051-3/+3
| | | | (This used to be commit dfb8566220c3e90ca2b757ea124f53aed103269e)
* Made nt acl support a local parameter for w2ksp2 profile fix.Jeremy Allison2001-10-121-1/+1
| | | | | Jeremy. (This used to be commit ebba334c15619610475a5c8242a55ed4fcdedf7c)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-1/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* move to SAFE_FREE()Simo Sorce2001-09-171-16/+8
| | | | (This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
* Removed unneeded set of delete on close in fsp->share_mode.Jeremy Allison2001-09-051-7/+0
| | | | | Jeremy. (This used to be commit 7816f79075132350c910f75f9b757477a319bbae)
* when you update the share mode in the db you must also updateAndrew Tridgell2001-09-051-0/+7
| | | | | | | fsp->share_mode otherwise the check to see if the fsp share mode matches the one in the db will fail when you come to delete it, thus leaving us with a share mode on a file that isn't even open! (This used to be commit 2020738b889d8d508cf787e5c5d380af817b92f9)
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-54/+50
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
* fixed level2 find first for unisys clientsAndrew Tridgell2001-08-241-0/+1
| | | | (This used to be commit cb8b21f71dbacc7ee658bef7011cd147fbe34101)
* Fix W2K profiles writing to a Samba PDC. Thanks to Microsoft for their help !Jeremy Allison2001-08-231-15/+6
| | | | | Jeremy. (This used to be commit faae7512e059456db2450f878c435fd402839146)
* More constant conversions.Tim Potter2001-08-101-2/+2
| | | | (This used to be commit 00703d306f14a5977df75cb04ee34ae8628ed40e)
* Fixed wrong placement of allocate code :-(.Jeremy Allison2001-08-091-5/+5
| | | | | | Changed alignment offset to 1 to allow netmon to parse ok. Jeremy. (This used to be commit fd89261a2c74910bd1cf8271d862a7b050b49f32)
* Added fixes to return correct error codes on space allocation fail.Jeremy Allison2001-08-071-1/+1
| | | | | Jeremy. (This used to be commit 3bf2419f4b7a9d46a1d48062212a6a6579c22b92)
* Added "strict allocate" per share parameter. This causes actual on-disk ↵Jeremy Allison2001-08-011-10/+44
| | | | | | | | allocation to be done. Without it just does the ftruncate. Jeremy. (This used to be commit 0b052f103e82369088bc30724b86d8892c395cdb)
* Fix for potential crash bug with bad fid.Jeremy Allison2001-07-281-1/+13
| | | | | Jeremy. (This used to be commit 82f81c830db53ce507c2a8e65db962f931141afd)
* fixed some unicode and LANMAN2 bugs in trans2 find first/nextAndrew Tridgell2001-07-071-39/+3
| | | | (This used to be commit d5097b2f20c55ddcf4ae8da4d1d0a2fe91938a6b)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-3/+3
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-041-30/+22
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Ensure we correctly round down to 2 second boundary if dos filetimeJeremy Allison2001-07-041-7/+24
| | | | | | set for a share. Jeremy. (This used to be commit 8f57233c0f871763bc3657d754c894dbd29ae501)
* Set support for info levels...Jeremy Allison2001-06-191-20/+14
| | | | | Jeremy. (This used to be commit e033f758914f6631545af17041b4e49c1ff885d9)
* Best-effort so far implementation of new W2K info levels.Jeremy Allison2001-06-181-0/+148
| | | | | | An-embrace-and-extending we will go... Jeremy. (This used to be commit 43bf9b2c7aad15d65bac3a9c4f799be050a074cd)
* *Wonderful* patch from Andrew Bartlett that will help ensure tdb's areJeremy Allison2001-06-091-3/+6
| | | | | | cleaned on clients abending connections. Thanks Andrew ! Jeremy. (This used to be commit 1b3977c5367a0b713b194f369abd9872ae01ac2a)
* Correctly make max pathlength 255.Jeremy Allison2001-06-081-1/+1
| | | | | Jeremy. (This used to be commit 30cffea8fa813a7448648b496a19e751441e436e)