summaryrefslogtreecommitdiffstats
path: root/source/smbd/filename.c
Commit message (Collapse)AuthorAgeFilesLines
* r25387: Sync with 3.2.0 svn treeGerald Carter2007-09-271-80/+115
|
* r24811: Simple reformatting to fit the 80 columns rule.Jeremy Allison2007-08-301-63/+96
| | | | Jeremy.
* r24595: Fix Coverity ID 393Volker Lendecke2007-08-211-2/+1
| | | | In this error case we would have used "start" not having it initialized
* r24549: Fix unix_convert to return the already converted partVolker Lendecke2007-08-191-4/+10
| | | | | | | | | | This API will change anyway when moving away from pstrings. It took so long to fix, because that rename bug I just fixed gave make test failures that had nothing to do with this one. I have samba4 tests for both bugs, will check them in when the build farm has caught up
* r24497: Revert r24485 -- this needs more thoughtVolker Lendecke2007-08-161-1/+1
|
* r24485: Even in the failure case unix_convert must pass the already convertedVolker Lendecke2007-08-161-1/+1
| | | | part of the string to the caller.
* r24122: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-1/+2
| | | | | | | | | add a file_id_create() hook into the VFS layer it's needed for some cluster filesystems to overload this function. metze
* r23879: Fix two memleaks, found by the IBM checkerVolker Lendecke2007-07-151-2/+4
|
* r23878: Fix an error return, found by the IBM checkerVolker Lendecke2007-07-151-0/+1
|
* r23846: Belt-and-braces on the msdfs bug. Ensure ELOOP mapsJeremy Allison2007-07-111-6/+15
| | | | | correctly. Jeremy.
* r23844: Add patch series from Volker (after review and consultation).Jeremy Allison2007-07-111-99/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Save-a-strdup-in-stat_cache_add.patch 0002-Use-ISDOT-and-ISDOTDOT.patch 0003-Move-fname_equal-around.patch 0004-unix_convert-pstring-dirpath-char.patch 0005-Ignore-.o-files.patch 0006-Get-rid-of-pstrings-inside-unix_convert.patch 0007-revert-pstring-unix_convert.patch 0008-Make-name-an-allocated-pstring-inside-unix_convert.patch 0009-Pass-explicit-pstring-to-mangle_check_cache.patch 0010-Don-t-overwrite-orig_path-unnecessarily.patch 0011-Defer-allocating-name.patch 0012-Make-sure-dirpath-is-always-correctly-allocated.patch 0013-Remove-one-pstring-dependency-in-unix_convert.patch 0014-Remove-more-name-pstring-dependencies.patch 0015-Hide-the-nasty-API-of-mangle_check_cache-in-mangle_c.patch 0016-name-does-not-need-to-be-pstring-size-anymore.patch 0017-Make-use-of-ISDOT-and-ISDOTDOT.patch 0018-Remove-pstring-from-stat_cache_lookup.patch 0019-Add-my-copyright.patch To remove pstrings from statcache and unix_convert. Jeremy.
* 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.
* r23761: Rename reduce_name to check_reduced_nameVolker Lendecke2007-07-091-2/+2
| | | | | The function name reduce_name is misleading, making the user believe it changes an argument.
* r23183: Check in a change made by Tridge:Volker Lendecke2007-05-291-1/+1
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r20916: Add in the delete on close final fix - but only enabledJeremy Allison2007-01-191-0/+6
| | | | | with -DDEVELOPER. Jeremy.
* r20844: Somewhat radical change - this may break the build (I willJeremy Allison2007-01-171-12/+9
| | | | | | | | | | | | watch carefully - so I'm doing it in one transaction so I can roll back). Change check_name(), reduce_name() and dptr_create() to return NTSTATUS. This helps a lot in error path processing and especially in reduce_name() allows us to ditch the flaky and error-prone saving of errno and return errors directly. Jeremy.
* r20722: RAW-CHKPATH should now pass, build farm shouldJeremy Allison2007-01-131-4/+13
| | | | | go back to normal. Sorry about that. Jeremy.
* r20721: Fix the search unix_convert error returns. Only openJeremy Allison2007-01-131-25/+35
| | | | | to go... Jeremy.
* r20720: Fix the chkpath problem, still looking at findfirst.Jeremy Allison2007-01-131-1/+6
| | | | Jeremy.
* r20672: Start working on the wildcard cases - put back thisJeremy Allison2007-01-111-0/+19
| | | | | exception case. Jeremy.
* r20671: This version of the pathname code passes volkersJeremy Allison2007-01-111-18/+14
| | | | | modified gentest to 1000 iterations. Jeremy.
* r20655: After consulting with Volker, fix our pathnameJeremy Allison2007-01-101-42/+105
| | | | | | | | | | handling. Gets rid of more code than it adds. I will port this to SAMBA_3_0 next. There are still some wrinkles with wildcard delete I am working on - for example a dirtype pattern of 0x8aa4 isn't handled correctly yet.... still looking at this. Jeremy.
* r19769: more compile fixes while merging from SAMBA_3_0 (not done yet)Gerald Carter2006-11-181-10/+12
|
* r12018: more 3.0.21 changes. This is a full sync except for changes to ↵Gerald Carter2005-12-021-0/+13
| | | | rpc-server/rpc_samr*.c
* r12017: starting the sync up for 3.0.21. Gotten through r11915Gerald Carter2005-12-021-10/+8
| | | | | | | | so far. Jeremy, This is turning out ot be more changes that I anticipated and may end up being a full sync. But the changes appear sar or on a non-default code path.
* r11590: syncing up for 3.0.21rc1Gerald Carter2005-11-091-1/+10
|
* r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison2005-06-251-1/+1
| | | | | | | directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy.
* r7210: Fix my own mistakes up, sorry.Jeremy Allison2005-06-031-1/+1
| | | | Jeremy.
* r7200: Don't use memset, use SET_STAT_INVALID (has the same effect).Jeremy Allison2005-06-021-3/+3
| | | | Jeremy.
* r6631: More typo's. Sorry.Jeremy Allison2005-05-061-2/+2
| | | | Jeremy.
* r6625: Remove another global variable left over from a long time ago (magic ↵Jeremy Allison2005-05-061-5/+5
| | | | | | char). Jeremy.
* r5792: Added new parameter "inherit owner". If set on a share, the created ↵Jeremy Allison2005-03-151-1/+1
| | | | | | | | | | | | | file/directory will be owned by the same uid as the containing directory. Doing this for directories in a race-free mannor has only been tested on Linux (it depends on being able to open a directory and then do a fchown on that file descriptor). If this functionality is not available then the code silently downgrades to not changing the ownership of a new directory. This new parameter (docs to follow) finally makes it possible to create "drop boxes" on Samba, which requires all files within a directory to be commonly owned. A HOWTO on how to use this will follow. Jeremy.
* r5183: Ensure we correctly set the per-connection "case_sensitive" setting.Jeremy Allison2005-02-031-4/+0
| | | | | | Rename dptrs_open to the more correct dirhandles_open. Remove old #if 1. Jeremy.
* r5160: First cut at refactoring of directory code to handle non-wildcardJeremy Allison2005-02-011-1/+1
| | | | | | directory match more efficiently. Passes RAW-SEARCH under valgrind but needs more testing (which I'll do later today :-). Jeremy.
* r5152: Restructure the directory handling code, stop using void * pointersJeremy Allison2005-02-011-1/+1
| | | | | | | | that just allow the wrong pointer to be assigned :-) and make the interface more consistent. Fix the FreeBSD directory problem. Last thing to do is to add the "singleton" directory concept from James Peach's code. Jeremy.
* r5063: Shamelessly steal the Samba4 logic (and some code :-) for directoryJeremy Allison2005-01-281-1/+3
| | | | | | | | | | evaluation. This stops us from reading the entire directory into memory at one go, and allows partial reads. It also keeps almost the same interface to the OpenDir/ReadDir etc. code (sorry James :-). Next I will optimise the findfirst with exact match code. This speeds up our interactive response for large directories, but not when a missing (ie. negative) findfirst is done. Jeremy
* r2152: Fix for bug #1674, move the symlinks checks into reduce_name().Jeremy Allison2004-08-311-17/+1
| | | | Jeremy.
* r2076: Removed old dir caching code - not being used now we have theJeremy Allison2004-08-251-15/+3
| | | | | | statcache anyway. New dir caching will be done on nanosecond timestamps. Jeremy.
* r1570: merging changes from 3.0.5Gerald Carter2004-07-221-2/+2
|
* r1115: Fix for #1427. Catch bad path errors at the right point. Ensure allJeremy Allison2004-06-111-3/+22
| | | | | our pathname parsing is consistent. Jeremy.
* r933: When using widelinks = no, use realpath to canonicalize theJeremy Allison2004-05-281-1/+1
| | | | | | connection path on connection create for the user. We'll be checking all symlinked paths are below this directory. Jeremy.
* r716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after ↵Jeremy Allison2004-05-141-0/+4
| | | | | | | upgrade to 3.0.4). Cause was premature optimization in unix_convert(). My fault, sorry. Jeremy.
* r656: Make widelinks use realpath(). Tidy up cases where we need to become a ↵Jeremy Allison2004-05-131-1/+1
| | | | | | service. Jeremy.
* r570: Remove lots of globals to handle case issues - move themJeremy Allison2004-05-071-16/+15
| | | | | | | | to connection struct entries (as they should have been from the start). Jerry, once you've cut over to 3.0.4 release branch I'll add this to 3.0 also. - Jerry cut over :-). Jeremy.
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+497
metze