Linux 版 (精华区)

发信人: tcpip (俺的昵称改了), 信区: Linux
标  题: SAMBA Digest 2267
发信站: 紫 丁 香 (Tue Oct 12 19:20:26 1999), 转信


                            SAMBA Digest 2267

For information on unsubscribing see http://samba.org/listproc/
Topics covered in this issue include:

  1) Re: cyrillic letters in filenames.
        by   Ilia Chipitsine <ilia@cgilh.chel.su>
  2) Re: cyrillic letters in filenames.
        by   Sergei Makarov <smakarov@cemi.ims.net.ru>
  3) Re: SAMBA Performance on shared files.
        by   David Collier-Brown <davecb@canada.sun.com>
  4) Migration into NT
        by   "David Hazelton" <dave.hazelton@sanmina.com>
  5) Re: Automounting
        by   kenneth topp <caught@prodigy.net>
  6) linux 2.2.x and smbmount 2.0.5a: Win95 bugfix?
        by   "Keith G. Murphy" <keithmur@mindspring.com>
  7) NetApps Toaster w/ SMBCLIENT
        by   wishek@us.ibm.com

----------------------------------------------------------------------

Date:   Mon, 11 Oct 1999 07:23:25 +0600 (ESS)
From:   Ilia Chipitsine <ilia@cgilh.chel.su>
To:     Urban Widmark <urban@svenskatest.se>
Subject: Re: cyrillic letters in filenames.
Message-ID: <Pine.BSF.4.10.9910110720440.307-100000@localhost.cgu.chel.su>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 10 Oct 1999, Urban Widmark wrote:

> On Mon, 11 Oct 1999, Ilia Chipitsine wrote:

> What are you using to access the server, smbclient (ftp-like) or smbfs
> (mounted)?

server is Samba, client is Windoze boxen.


> smbclient handles the swedish characters properly (except in some error
> messages), don't know about cyrillic.

> smbfs produces "garbage" for those same swedish characters. The problem
> with smbfs is that it does not translate the codepage presented by the smb
> server to the native charset (or unicode utf-8, or whatever).


> I know of 2 unofficial patches to smbfs for this.

> Mine can be found at:
> http://www.cs.umu.se/~urbanw/samba/

> One patch is for the kernel (should work with any 2.2 and 2.3) and one is
> for smbmount (optional and only for samba before 2.0.5).
> (read more in the patched version of linux/include/linux/smb_mount.h, or
>  in the patch file itself)


> Artem V. Ryabov <artem@abak.ru>, has also solved this problem:
> http://linux-patches.rock-projects.com/v2.2-f/smbfs-nls.html

> Mine handles both utf-8 format and codepages, Artem's conversions are

well, actually it's KOI8-R, but utf-8 is also OK...

> probably faster and his interface to smbmount is nicer.


> > the another address. If this letter hasn't reached the list, let me know)

> You do realise that doing that is kind of difficult? :)

well, I didn't think much about it.
I never think so far.


> /Urban



Regards,
Ilia Chipitsine

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBOAE8D+RxlWKN2EXhAQGMlgL/QwCMYW/9wv6K0KV9Lxj6TZKJO3Y4uQ6p
exneowEvXHGvwL8ashlrMBGnhyhzfdwrZEXtGOKriLqTwosJdNuEZTctb1Sv4fKR
awNxtH1rWNqXzmaSsgzXvDIY+3SWfjpc
=wZyK
-----END PGP SIGNATURE-----


------------------------------

Date:   Mon, 11 Oct 1999 08:48:41 GMT
From:   Sergei Makarov <smakarov@cemi.ims.net.ru>
To:     Multiple recipients of list SAMBA <samba@samba.org>
Subject: Re: cyrillic letters in filenames.
Message-ID: <19991011.8484100@raid.nes.cemi.rssi.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=KOI-8r    
Content-Transfer-Encoding: 8BIT



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 10/10/99, 5:09:10 PM, Ilia Chipitsine <ilia@cgilh.chel.su> wrote 
regarding cyrillic letters in filenames.:


> -----BEGIN PGP SIGNED MESSAGE-----

> Dear All,

> Does anybody know why ?

> I can create files (and directories) with cyrillic names, but

> 1. I cannot delete those files (well, I can edit them and so)
> 2. I cannot "cd" to those directories.

> What I have: RH-5.X & Samba-2.X

You need to be more specific to get correct answer.
In Samba 2.1prealpha (HEAD branch) code page support and translation 
is broken. I've got results, similar to yours. 
In 2.0.5a everything works, as advertised. No problems here.
smbfs is orphaned branch with zillion bugs, but recently it was 
reworked and hopefully, will be released soon again (2.0.6 + kernel 
patches?).

Best, Sergei.






------------------------------

Date:   Mon, 11 Oct 1999 12:08:12 -0400
From:   David Collier-Brown <davecb@canada.sun.com>
To:     Eric Rosello <rosello@gfsimdoh.com>
Subject: Re: SAMBA Performance on shared files.
Message-ID: <38020B6C.8D60D51B@canada.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Eric Rosello <rosello@gfsimdoh.com> wrote:
>                                It looks like
> this performance problem is also visible if you try to access any file
> already open by another user (at least in my case). If anybody wants to
> try, just open a large file (1Mb or 2 Mb) on one machine, and then from
> another machine, copy this same file to another location (so you access
> it in read only). In my case there's a big difference in speed. If
> nobody is accessing the file, then the speed is more or less what you
> will expect for a 10Mbps network. But if somebody has the file already
> open, then it takes much longer, up to 8/10 time longer.

        I think you're seeing the initial access times, which are worse
        than subsequent access times...

        If you open a file for update, and if you're the only one,
        you will copy it once from the server to a cache on
        your machine.  If you're not the first one, you'll open the file,
        try to read, and be suspended while the first user flushes
        his cache back to the server. Then you'll run at network speeds.

        If you're trying to model this with file copies, you'll
        see the initial slowdown, but never find out how fast or slow
        it is on all other reads!

        You may want to write a trivial programs which opens, seeks
        and reads several times, reporting the open time and
        each subsequent read-time.  Posting those results should
        help the Samba team decide what can be done to help.

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | http://java.science.yorku.ca/~davecb
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com

------------------------------

Date:   Mon, 11 Oct 1999 13:12:53 -0400
From:   "David Hazelton" <dave.hazelton@sanmina.com>
To:     Samba@samba.org
Subject: Migration into NT
Message-ID: <199910111712.NAA10379@osprey>
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

First, My NT is at best weak when it comes to PDC and BDC 
concepts.

I have a LAN and WAN Enviroment and the two are about to crash.

Current version: SAMBA 2.04b

For 2+ Years I have been running SAMBA on a SPARC 1000E 
(Solaris 2.5.1)  as a PDC,  We have about 10 shares, some are 
public and everyone needs to see them and some by user and some 
by groups.  Security = user and authetecation is encryptic. 
(smbpasswd). The clients are all W95 and W98 machines.

OLD:
(SMBPDC)--------(PC)


Corporate decide to standardize on NT and has set up a Corp PDC 
for authentication and a East PDC for the Domain.  

Corporate has done no reseach in they implentation on how to 
migrate each locations current Fileservers to NT.  Most have a 
version of Novell.  This Location and another have SAMBA (The other 
is Version 1.9.XX I believe, I will need to deal with that on too)

What I need is a easy way to move my Users to the Corp PDC while 
I keep the users/Files on SAMBA until I can slowly migrate them 
over.  

Now
(NTCORPPDC)-----(NTEASTPDC)
(SMBPDC)----(PC)

Corporate wants to only add 10 users a day, but what I read is that it 
is a all or nothing for Domain Logins.  If a person is can not login to 
the PDC does it comeback to the SAMBA Box for authenication, or 
can it?

I know the way W95 is that If both Passwords are the same between 
Domains I will have access to both when I try to connect to a 
resource on the other.  This maybe a workaround, but having Samba 
and NT sync passwords, this sounds messy.

And if I do Domain logins what needs to be done on the NT side?
The Samba box will then join the EAST domain.


If I confused anybody, Join the Club : )

Thanks



__________________________________________________
Dave.Hazelton@Sanmina.com
Unix System Administrator
Phone: (603)621-1853  Pager: 800-759-8888 PIN# 1734598
Cell: (603) 494-5450
Sanmina - New England - Plant 9

------------------------------

Date:   Mon, 11 Oct 1999 13:26:16 -0700 (PDT)
From:   kenneth topp <caught@prodigy.net>
To:     Nuno Miguel Neves <nneves@di.fc.ul.pt>
Subject: Re: Automounting
Message-ID: <Pine.LNX.4.10.9910111325230.7499-100000@dynasty>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Nope, but there it will likely involve pam, and the encrypted filesystem @ 
http://members.home.net/id-est/ would likely have a lot of code to use.

Kenneth

On Fri, 8 Oct 1999, Nuno Miguel Neves wrote:

> Is there a way to make samba automatically mount a home directory?
> That is, a user logging in (from Linux), enters its username and
> password(Samba), and the system automatically mounts the user's home
> directory from the samba server(without asking the password again).

> Has anyone ever tried to do this? And succedeed :-) ?

> --
>                   nneves@di.fc.ul.pt    Dept. Informatica, Fac. Ciencias,
> |\ |    |\ |      Tel: +351 1 7500058   Univ. Lisboa, Bloco C5, Campo Grande
> | \|uno | \|eves  Fax: +351 1 7500084   1700 Lisboa, Portugal





------------------------------

Date:   Mon, 11 Oct 1999 16:24:03 -0500
From:   "Keith G. Murphy" <keithmur@mindspring.com>
To:     samba mailing list <samba@samba.org>
Subject: linux 2.2.x and smbmount 2.0.5a: Win95 bugfix?
Message-ID: <38025572.1B2429E6@mindspring.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have become quite confused about the interaction of the kernel
versions and the different versions of Samba and smbmount.

I have just upgraded to a 2.2 kernel.  'make menuconfig' gave no choice
by which to enable the Win95 bug workaround.  At the same time, smbmount
2.0.5a, which seems to be the proper one for a 2.2 kernel (it's the
latest provided by Debian, under the name smbmount-2.2.x), no longer
seems to have the '-c mount ...' syntax that let you provide the '-f'
switch to mount to enable the bugfix on a per-share basis.

How to enable the bugfix?  Or is the kernel smart enough to do it now
without specifying the options?  The kernel documentation does not state
so; in fact, it refers to the '-f' syntax.  Very confusing.

TIA.

------------------------------

Date:   Mon, 11 Oct 1999 17:13:07 -0600
From:   wishek@us.ibm.com
To:     samba@samba.org
Subject: NetApps Toaster w/ SMBCLIENT
Message-ID: <87256807.007F8B89.00@d53mta04h.boulder.ibm.com>
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline



I would like to connect to a NetApps filer using CIFS rather than NFS.   The
filer has CIFS as most users connect with WinNT or Win95/98 machines.  When I
try to connect with smbclient I get the following message:

     session setup failed:  ERRSRV - ERRerror (Non-specific error code.)

I have tried many different options, but an example command-line is:

     smbclient -L TOASTER1 -I <ip> -U wishek -n wishek_laptop -W <workgroup>

The client requests my password, afterwhich I get the above error.

Thanks is advance for your help.

Matthew

----------------------------------------------
Matthew Wishek, Advisory Engineer
Broadband Engineering
IBM Microelectronics - Encinitas
760-633-1618 x6352



------------------------------

End of SAMBA Digest 2267
************************

--
"这一千多年没写诗了?"
"写了, 不过只写了两句."
"千年得两句, 一定是万古丽句了. 念来听听."
"好吧, 我现丑了" 太白星清了清嗓子, 浑厚的男中音在天庭响起:
大海啊, 都是水;
骏马啊, 四条腿;

※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: mtmail.hit.edu.c]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:211.308毫秒