Linux °æ (¾«»ªÇø)

·¢ÐÅÈË: tcpip (°³µÄêdzƸÄÁË), ÐÅÇø: Linux
±ê  Ìâ: SAMBA Digest 2266
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue Oct 12 19:25:20 1999), ×ªÐÅ


                            SAMBA Digest 2266

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

  1) What is IPC$
        by   Steve Litt <slitt@troubleshooters.com>
  2) Re: What is IPC$
        by   Andrew Tridgell <tridge@linuxcare.com>
  3) cyrillic letters in filenames.
        by   Ilia Chipitsine <ilia@cgilh.chel.su>
  4) Re: SAMBA digest 2265
        by   boudani <Ali.Boudani@loria.fr>
  5) samba as PDC
        by   boudani <Ali.Boudani@loria.fr>
  6) Re: cyrillic letters in filenames.
        by   Urban Widmark <urban@svenskatest.se>

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

Date:   Sat, 09 Oct 1999 20:10:30 -0400
From:   Steve Litt <slitt@troubleshooters.com>
To:     <samba@samba.org>
Subject: What is IPC$
Message-ID: <3.0.6.32.19991009201030.00a8ae60@mail.pacificnet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Hi everyone.

Exactly what is IPC$ I know it's a share, I know it's intimately connected
with browsing. Judging from 

 if (strequal("IPC$",lp_servicename(snum))) type = STYPE_IPC;  

in /usr/src/redhat/SOURCES/samba-2.0.3/source/smbd/ipc.c and

#define STYPE_IPC       3       /* Interprocess communication (IPC) */  
#define STYPE_HIDDEN    0x80000000 /* share is a hidden one (ends with $) */

in  /usr/src/redhat/SOURCES/samba-2.0.3/source/include/smb.h, I'd imagine
it's a hidden interprocess communication share dealing with named pipes,
but that really doesn't help me understand its use in Samba. I've searched
all the docs and the samba.org website, and the last few weeks of the Samba
mailing list and  comp.protocols.smb, and none of it helped.

Could someone clue me in? Yes, I know it's a dumb question, but I don't
know the answer.

Thanks

Steve Litt



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

Date:   Sun, 10 Oct 1999 16:03:52 +1000
From:   Andrew Tridgell <tridge@linuxcare.com>
To:     slitt@troubleshooters.com
Subject: Re: What is IPC$
Message-ID: <19991010060358Z12868530-24228+10461@samba.anu.edu.au>

yes, the IPC$ share is for "interprocess communication". In reality
it's a share used for anything that doesn't fit into a file or printer
category.  That includes browsing, domain logins etc. It is also used
extensively for printing by MS clients.

the best description available online is probably cifsrap2.txt in
pub/samba/specs/ on a samba.org mirror.

Cheers, Tridge

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

Date:   Sun, 10 Oct 1999 19:00:04 +0600 (ESS)
From:   Ilia Chipitsine <ilia@cgilh.chel.su>
To:     samba@samba.org
Subject: cyrillic letters in filenames.
Message-ID: <Pine.BSF.4.10.9910101856130.490-100000@localhost.cgu.chel.su>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=koi8-r
Content-Transfer-Encoding: 8BIT

-----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

(BTW, I' sending this letter from different account. I'm subscribed to
the another address. If this letter hasn't reached the list, let me know)

Regards, (îÁÉÌÕÞÛÉÅ ÐÏÖÅÌÁÎÉÑ)

 Ilia Chipitsine (éÌØÑ ûÉÐÉÃÉÎ)

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

iQB1AwUBOACN1+RxlWKN2EXhAQE/HgMAo4xInv06Nmm43X/3H2RWaqhD+5UBWVqk
g3n/ot3CY52kBBOPa8xE24nJRrjpxKNc7HlT8nIPWR41j//ZL/nfxEo03y6Ef/MG
Hy7pU8i0G6TesIvaRyoqCZcUy5iC4Y9X
=z08d
-----END PGP SIGNATURE-----


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

Date:   Sun, 10 Oct 1999 18:07:25 +0200
From:   boudani <Ali.Boudani@loria.fr>
To:     samba@samba.org
Subject: Re: SAMBA digest 2265
Message-ID: <3800B9BD.E7EAC084@loria.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

i have the same probleme with the last version of cvs in Linux, there is
a problem in linking nmbd.

ali

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

Date:   Sun, 10 Oct 1999 21:38:37 +0200
From:   boudani <Ali.Boudani@loria.fr>
To:     samba@samba.org
Subject: samba as PDC
Message-ID: <3800EB3D.B4F9325C@loria.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


hi all,

i want to have samba in my liux as a PDC, so i have download the last
version of samba 2.1alpha. but i can't compile it shows errors : 
Linking bin/nmbd
libsmb/clientgen.o: In function `cli_establish_connection':
libsmb/clientgen.o(.text+0x4ef3): undefined reference to `prs_init'
libsmb/clientgen.o(.text+0x4f50): undefined reference to
`create_ntlmssp_resp'
libsmb/clientgen.o(.text+0x4f5a): undefined reference to `prs_link'
libsmb/clientgen.o(.text+0x5005): undefined reference to `prs_mem_free'
collect2: ld returned 1 exit status
make: *** [bin/nmbd] Error 1            

so can anyone tell me when i can find a version that compile and support
samba PDC ?

thanks

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

Date:   Sun, 10 Oct 1999 21:59:19 +0200 (CEST)
From:   Urban Widmark <urban@svenskatest.se>
To:     Ilia Chipitsine <ilia@cgilh.chel.su>
Subject: Re: cyrillic letters in filenames.
Message-ID: <Pine.LNX.4.10.9910102139040.21470-100000@cola.svenskatest.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 11 Oct 1999, Ilia Chipitsine wrote:

> 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

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

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
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? :)

/Urban


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

End of SAMBA Digest 2266
************************

--
"Õâһǧ¶àÄêûдʫÁË?"
"дÁË, ²»¹ýֻдÁËÁ½¾ä."
"ǧÄêµÃÁ½¾ä, Ò»¶¨ÊÇÍò¹ÅÀö¾äÁË. ÄîÀ´ÌýÌý."
"ºÃ°É, ÎÒÏÖ³óÁË" Ì«°×ÐÇÇåÁËÇåɤ×Ó, »ëºñµÄÄÐÖÐÒôÔÚÌìÍ¥ÏìÆð:
´óº£°¡, ¶¼ÊÇË®;
¿¥Âí°¡, ËÄÌõÍÈ;

¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: mtmail.hit.edu.c]
[°Ù±¦Ïä] [·µ»ØÊ×Ò³] [Éϼ¶Ä¿Â¼] [¸ùĿ¼] [·µ»Ø¶¥²¿] [Ë¢ÐÂ] [·µ»Ø]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.823ºÁÃë