summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle_hash2.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-18Ensure we mangle names ending in '.' in hash2 mangling method.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fc2af591f5a2b08caa7389150c8cc5e298bd0ed4)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-1/+1
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-09-15Fix OOPS when dealing with mangled names reported by several users.Jeremy Allison1-1/+1
This was my bug when removing a redundant strlen. Jerry - last showstopper I knew about. Jeremy. (This used to be commit 6e6769c20643f784d1b5023df3071a35d2e5bf89)
2003-09-15A *curse* upon the person who #ifdefed out the mangle debug statementsJeremy Allison1-1/+1
by default ! This is code that really needs to be able to be looked at on a customer system if it's misbehaving ! Jeremy (This used to be commit d512650340b3d28db763d018a6b05f6edf165bf0)
2003-08-27Check for embedded mb chars when testing for illegal characters like /.Jeremy Allison1-1/+23
Should fix mangling for Japanese language. Jeremy. (This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)
2003-08-27Fix initial debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)
2003-08-27Remove completely unneeded malloc/free out of this codepath.Jeremy Allison1-12/+11
Jeremy. (This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)
2003-03-17Merge from HEAD:Andrew Bartlett1-1/+1
- Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
2003-02-24Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)
2002-10-21Merge mangle prefix code.Jeremy Allison1-16/+41
Jeremy. (This used to be commit 83261f43326ae65af498399b5c933dfb20df1df7)
2002-10-15Merge Anton's 64-bit fix.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 0644f6a68e5c1d9a2c236ab0f90d4801848a9b33)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-8/+8
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17Sync 3.0 branch with headJelmer Vernooij1-3/+3
(This used to be commit 42615b945e2e48e53a21ea47f2e45407913a6a1e)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-21/+89
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-12merged the mangling test and passdb bugfixes into SAMBA_3_0Andrew Tridgell1-0/+14
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
2002-04-11- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask theAndrew Tridgell1-2/+4
hash to suit - the prefix ends at the last dot, not the first (This used to be commit 91a3ccd3e790f980421c1ee93388e19e87026b29)
2002-04-11a few debug statements (disabled)Andrew Tridgell1-2/+7
(This used to be commit 582f753eac7a111a93a8d6c049398a0998af848f)
2002-04-11don't treat '.' as FLAG_ASCII, instead handle it separatelyAndrew Tridgell1-2/+2
(This used to be commit ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
2002-04-11- tidier flag checking codeAndrew Tridgell1-8/+40
- finished the is_mangled() function (This used to be commit 128bec2071d640c775b58322256ac6bb03363741)
2002-04-11added some more commentsAndrew Tridgell1-5/+15
(This used to be commit 8d6f2e239940cbac44f6f0e9d584a47553acbc56)
2002-04-11some optimisations to the new mangling systemAndrew Tridgell1-16/+44
(This used to be commit 30b35d0c1f41f72ebe230905f76db8807802a6cc)
2002-04-11this adds a completely new hash based mangling schemeAndrew Tridgell1-0/+510
the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well. (This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)