Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: samba install help



--------------------------------------------------------
tlug note from Masahiro Otsuka <col@example.com>
--------------------------------------------------------
Thomas B$BgU(Jzler wrote:

> --------------------------------------------------------
> tlug note from =?iso-8859-1?Q?Thomas_B=E4tzler?=
> <tbaetzle@example.com>
> --------------------------------------------------------
> Masahiro Otsuka <col@example.com> asked:
> >I've been trying to compile samba(samba-1.9.17p2) on
> >RedHat4.2(kernel2.0.30). Edited a few line in Makefile, including
> >japanese file name support. But I get the following error message.
>
> >> [root@example.com source]# make
> >> Using CFLAGS = -O [...]
> [...]
> >> [...] -DWORKGROUP="m&t" [...]
> [...]
> >> Compiling server.c
> >> /bin/sh: t": command not found
> >> make: *** [server.o] Error 127
> >> [root@example.com source]# gcc: No input files
>
> I'm pretty much certain that you might want to escape the "&"
> in -DWORKGROUP="m&t" - otherwise make gets to see it
> and interprets it as "background everything before it and
> treat everything after it as a new command". Kinda "smart",
> I agree :-)
>
> HTH,
> Thomas
> $B!!(J

Thanks!
You were right on that "&" character. I left the default WORKGROUP and
instlation went so nicely. I put my workgroup name at smb.conf and
seemed to be working now. However now I have different problem wiht
samba. I used sjis as the coding system. Now I can see my linux on the
window's explore and mount my home directly in linux as window's G
drive.$B!!(J I can drag most files to linux but some files (the ones with
long$B!!(Jjapanese file names) can't be copied to linux. It displays
messages like "Folder G doesn't exist. Make that folder now?"$B!!(J Here is
how my /var/log/samba.log looks lile. If you have any idea of how I can
fix this thing, please help me!
$B!!(J

> unix_clean_name [./$B%Q!&%3%s(J110$BHV!J@example.com$5$s!K(J.doc]
> unix_clean_name [$B%Q!&%3%s(J110$BHV!J@example.com$5$s!K(J.doc]
> unix_clean_name [$B%Q%>(J
> 10/09/97 10:27:09 error packet at line 646 cmd=50 (SMBtrans2) eclass=1 ecode=3
> error string = No such file or directory
> 10/09/97 10:27:09 Transaction 2074 of length 100
> switch message SMBopenX (pid 631)
> unix_clean_name [./$B%Q!&%3%s(J110$BHV!J@example.com$5$s!K(J.doc]
> unix_clean_name [$B%Q!&%3%s(J110$BHV!J@example.com$5$s!K(J.doc]
> Allocated new file_fd_struct 0, dev = ffffffff, inode = ffffffff
> Error opening file $B%Q!&%3%s(J110$BHV!J@example.com$5$s!K(J.doc (No such file or directory) (fl
> ags=65)
> fd_attempt_close on file_fd_struct 0, fd = -1, dev = ffffffff, inode = ffffffff,
> $B!!(Jopen_flags = 2, ref_count = 1.
> 10/09/97 10:27:09 error packet at line 1147 cmd=45 (SMBopenX) eclass=1 ecode=3
> error string = No such file or directory
> chdir to /var/log
>
$B!!(J

Next TLUG meeting is Saturday October 11, 1997
-----------------------------------------------------------------
a word from the sponsor will appear below
TWICS - Japan's First Public-Access Internet System.
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links