1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Jeremy Allison
83261f4332 Merge mangle prefix code.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0644f6a68e Merge Anton's 64-bit fix.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
42615b945e Sync 3.0 branch with head 0001-01-01 00:00:00 +00:00
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 0001-01-01 00:00:00 +00:00
Andrew Tridgell
97eb3a121d merged the mangling test and passdb bugfixes into SAMBA_3_0 0001-01-01 00:00:00 +00:00
Andrew Tridgell
91a3ccd3e7 - the 36^6 hash space gives 31 bits, not 32 bits. We need to mask the
hash to suit
- the prefix ends at the last dot, not the first
0001-01-01 00:00:00 +00:00
Andrew Tridgell
582f753eac a few debug statements (disabled) 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ecdddd674f don't treat '.' as FLAG_ASCII, instead handle it separately 0001-01-01 00:00:00 +00:00
Andrew Tridgell
128bec2071 - tidier flag checking code
- finished the is_mangled() function
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8d6f2e2399 added some more comments 0001-01-01 00:00:00 +00:00
Andrew Tridgell
30b35d0c1f some optimisations to the new mangling system 0001-01-01 00:00:00 +00:00
Andrew Tridgell
bb173c1a7e this adds a completely new hash based mangling scheme
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.
0001-01-01 00:00:00 +00:00