* [Comm] Samba3 + Mangling
@ 2004-01-05 12:59 Alexey Khobov
2004-01-06 13:14 ` Alexey Khobov
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Khobov @ 2004-01-05 12:59 UTC (permalink / raw)
To: community
Всем привет!
Подскажите как заставить 3-ю самбу не изменять имя файла
для ДОС клиентов, если имя содержит символ # (0x23)?
Исходное имя фала уже в формате 8.3, так что дело только
в этом символе. (НТ, которая стояла до самбы такие имена
не меняла).
Заранее спасибо.
--
С уважением,
Хобов Алексей Владимирович
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Samba3 + Mangling
2004-01-05 12:59 [Comm] Samba3 + Mangling Alexey Khobov
@ 2004-01-06 13:14 ` Alexey Khobov
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Khobov @ 2004-01-06 13:14 UTC (permalink / raw)
To: community
Привет!
Отвечаю сам себе :)
Единственный путь, который я нашел - правка исходников и пересборка:
--- samba-3.0.release/source/smbd/mangle_hash2.c 2003-12-05
01:01:56 +0300
+++ samba-3.0.tag/source/smbd/mangle_hash2.c 2004-01-06 11:01:20 +0300
@@ -637,7 +637,7 @@
(i >= 'A' && i <= 'Z')) {
char_flags[i] |= (FLAG_ASCII | FLAG_BASECHAR);
}
- if (strchr("_-$~", i)) {
+ if (strchr("_-#$~", i)) {
char_flags[i] |= FLAG_ASCII;
}
Alexey Khobov wrote:
> Всем привет!
>
> Подскажите как заставить 3-ю самбу не изменять имя файла
> для ДОС клиентов, если имя содержит символ # (0x23)?
> Исходное имя фала уже в формате 8.3, так что дело только
> в этом символе. (НТ, которая стояла до самбы такие имена
> не меняла).
>
> Заранее спасибо.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-06 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 12:59 [Comm] Samba3 + Mangling Alexey Khobov
2004-01-06 13:14 ` Alexey Khobov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git