ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Khobov <alex@ormb.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Samba3 + Mangling
Date: Tue, 06 Jan 2004 16:14:18 +0300
Message-ID: <3FFAB4AA.6040502@ormb.ru> (raw)
In-Reply-To: <3FF95F99.8030400@ormb.ru>

Привет!

Отвечаю сам себе :)

Единственный путь, который я нашел - правка исходников и пересборка:

--- 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, так что дело только
> в этом символе. (НТ, которая стояла до самбы такие имена
> не меняла).
>
> Заранее спасибо.
>




      reply	other threads:[~2004-01-06 13:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05 12:59 Alexey Khobov
2004-01-06 13:14 ` Alexey Khobov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FFAB4AA.6040502@ormb.ru \
    --to=alex@ormb.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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