Displaying 20 results from an estimated 273 matches for "hash2".
Did you mean:
hash
2004 Feb 18
1
Samba 3.02 with dos filenames - still not working!
> m:\worksp~1, when I have this share on a windows machine, it works
> fine. Move it to my samba machine and it doesn't. This is what my
This is probably your problem. You override the default mangling method
in samba3 from hash2 to hash. hash2 behaves more like Windows mangling.
> mangling method = hash
Either take this line out or change it to hash2. You may need to take
care that existing filenames whose names have already been mangled with
the hash method get remangled with hash2 method.
~ Daniel...
2002 May 31
1
hash2 mangling alghorithm
...st want to warn people that want to use the new hashing algorithm
for mangled names.
And that note should also be put in the man page IMO.
You must understand that changing the hashing algorithm on a production
server may have unwanted side effects (this is why we maintain by
default hash and not hash2 and why it was not back ported to 2.2
initially).
Windows clients may save all around (registry, config files, ecc..)
mangled paths to files need for programs to work correctly.
If you change the hash algorithm these paths will become unusable as the
new mangled name will be different.
I would a...
2002 Dec 08
3
deleting files problem
Hi,
I've got what I think is a pretty weird problem.
I'm using redhat 8.0 and their latest samba rpm 2.2.7.
I have a directory
/virtuals/SAMARCAN/asterion_caen/hd4008/tiffout
with about 600 tiff files in it.
When I go this directory and try and delete them,
it deletes about 100 of them or so, but while this
is going on, it says:
2006 Apr 12
2
Location of match?
Is it possible with Ferret to find the location of the matches in a
document? For example imagine I have 100 documents and I search with
the phrase "bob~0.5" and that returns 3 matching documents. How can I
then find all locations in a specific document where it matched
"bob~0.5". What I need is something like an array that contains the
start index and length for each
2003 Feb 03
2
Hashing for short pathnames
...t
use this, because it meens to call the batch itself (like $0 in
bash-scripts).
There must be a possibility to exclude "%" from the resulting hash values.
Perhaps other special characters, like "$?&..." could leed to faults too.
I've changed the hash mathod to "hash2":
mangling method = hash2
but doesn't help.
For our special case if inserted a mangled map:
mangled map = (Only_for_generation Only_~01)
but this is very special. Perhaps someone else would get a similar hash value
for one of his paths.
Thanks in advance for any hints how to...
2004 Jul 14
4
String overflow in safe_strcpy .
Just Installed 3.0.5rc1 and the problem persists unfortunately,
heres a sample of my log :
wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600)
Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string overflow by 1
(9 - 8) in safe_strcpy [TAENO~EI.PDF]
Jul 12 12:31:03 mandrake1 nss_wins[15212]: [2004/07/12 12:31:03, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jul 12 12:31:03
2018 Nov 11
1
Multiple grub2 Users with Passwords
...single user mode to fix a broken configuration file). I've tried
generating two different passwords with grub2-mkpasswd-pbkdf2 and adding:
??? set superusers="user1, user2"
??? password_pbkdf2 user1 grub.pbkdf2.sha512.1000./hash1/
??? password_pbkdf2 user2 grub.pbkdf2.sha512.1000./hash2/
with no success. The first user account worked but not the second.
Does anyone know the correct syntax to add multiple grub2 user accounts
with different passwords in 40_custom? All tutorials I've found online
explain a single user but not multiple.
2015 Jan 09
2
Name mangling problem
...names: the name mangling matches only the first character and not the
first 5 as i expect.
For example:
if the long file name is LONGFILENAME.TXT, i expect the mangled sholud
be something like LONGF~01.TXT, but i see: LNHQX6~C.TXT
I tried to change mangling method = hash (instead of the default hash2)
also i tried the solution posted here:
http://www.oreilly.com/openbook/samba/book/ch05_04.html
but no luck.
The the share are on XFS filesystem and use the following vfs
extensions:
vfs objects = acl_xattr, recycle enabled on the share.
I'm crossing some bug? or is this a misconfiguration?...
2011 Jan 06
2
Mapping characters for non-DOS names under UNIX
Hi All,
As known, samba can mapping non-DOS names under UNIX to DOS-compatible names
by using some HASH/HASH2 algorithm. But is there any way we can define a
character mapping tables by self, not using HASH? such as: (just a sample)
character mapping table:
Unix Windows
" <-------> a
* <-------> b
/ <-------> c
: <-------> d
< <-----...
2002 Sep 11
2
WG: troubles deleting lots of files
> hello,
>
> i encountered a very strange problem and hope that someone out there knows a solution. that is, when i'm deleting several tousand files with a batch script on a samba share, windows says: "the system could not find the path specified" and deletes just approximatly one third of the files. this only occures if i'm delete explicitly from a dos shell using
2004 Nov 02
2
Wierd 8.3 Name Mangling
I've installed Samba 3.0.7 (stock Debian package), but I'm having some
wierd problems with name mangling. The relevant lines in smb.conf are:
preserve case = yes
short preserve case = yes
mangled names = yes
mangle prefix = 5
mangling method = hash2
In a share, I did "touch test-file.GHO" to create a long filename. When
I do a "dir" under DOS, however, it shows:
TVTSSK~S GHO 0 11-02-04 3:07p test-file.GHO
I can't see how samba came up with this mangled name. I tried changing
the mangle prefix and/o...
2004 Feb 05
1
massive performance problems if transferring many sma ll files
...id this annoying behaviour.
> > > - samba version 2.2.8a (64bit compiled)
> > Are all/many of these files in the same directory?
Yes, it's a flat directory hierarchy.
> I would suggest that Samba 3.0 might handle this situation better, or in
> 2.2 set 'mangle method = hash2'.
I'll try it....
Are there any Solaris kernel variables they interfere with this behaviour
and needs to be adjusted?
Regards,
Steffen
- -- To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP...
2003 Jan 16
1
Longfile names and Samba
...iles would be \progra~1
On a samba server it's changed in progr~NK or something like this. It's
never the same. Therefor, for older dos applications it's not possible to
enter the directory.
Is this a problem only I have? Or did I do something wrong? I found
something about hash and hash2. But this does not solve my problems.
Martin Boltje
web: http://www.boltje.com
web: http://www.yamnis.com
2003 Sep 12
2
Question about DOS 8.3 mangling files name
Dear all,
I have used the Samba 2.2.8a server.
mangle method = hash or hash2
But when i make a "dir" command on the MS-DOS prompt, the file name
aren't the same from a disk on DOS local partition and Samba Server
partition. :-(
File name on the Windows view:
ESTE_DE_NOME_BEM_GRANDE.TXT
DOS prompt on the Samba Serve Partition:
TESTE~65.TXT
DOS prompt on the...
2004 Aug 13
1
Dfs and Mangle=hash
If I only run dfs on my samba server, do I still need to worry about the
mangle=hash buffer overlow and set "mangle method=hash2" on my older
versions of samba?
Thank-you,
Greg
2010 Jul 06
3
Cross subnet browsing + OpenVPN
...yes
# browse list = yes
# auto services = yes
log level = 3
syslog = 0
log file = /var/log/samba/log.%U
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1
local master = Yes
domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes
passdb backend = ldapsam:ldap://127.0.0.1
ldap ad...
2004 Jul 22
0
Security Release - Samba 3.0.5 and 2.2.10
...-
CAN-2004-0686
- -------------
Affected Versions: >= v2.2.9, >= v3.0.0
A buffer overrun has been located in the code used to support
the 'mangling method = hash' smb.conf option. Please be aware
that the default setting for this parameter in Samba 3 is
'mangling method = hash2' and therefore not vulnerable.
Affected Samba installations can avoid this possible security
bug by using the hash2 mangling method. Server installations
requiring the hash mangling method are encouraged to upgrade
to Samba 3.0.5 (or 2.2.10).
~ ----------------------------------...
2002 Aug 13
3
Possibly a bug
I believe that I've found a bug on Samba 2.2.3a. Sure, there is the 2.2.5
version out there, but reading the changelog I couldn't find something that
looked like what I've found.
Problem is:
Some files (very few of them, about 0,5%) are created, with 2 another copies.
The file witch would be the real one is perfect. And we got "for free" 2
corrupted copies of it, with
2010 Jul 06
1
Cross subnet browsing + vpn
...ounce = yes
# browse list = yes
# auto services = yes
log level = 3
syslog = 0
log file = /var/log/samba/log.%U
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1
local master = Yes
domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes
passdb backend = ldapsam:ldap://127.0.0.1
ldap admin dn = c...
2005 Dec 09
1
3.0.10 to 3.0.20 transition problems ...
...ful
Does exist big differences from 3.0.11 to 3.0.20 ??
Does exist a configuration problem in my old smb.conf file ?
I'm getting a little bit crazy..
Rodrigo
--------------
old smb.conf
--------------
[global]
workgroup = LGI_GROUP
netbios name = lgi
mangling method = hash2
server string = Servidor Samba LGI
passdb backend = smbpasswd:/etc/samba/smbpasswd
username map = /etc/samba/smbusers
log level = 1
log file = /var/log/samba/log.%m
max log size = 4096
security = user
encrypt passwords = yes
so...