mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick <nick@galaktika.ru>
To: linux-kernel@vger.kernel.org
Subject: Re: Can I ask a smbfs question here?
Date: Sat, 15 Jan 2005 13:52:56 -0800	[thread overview]
Message-ID: <41E990B8.8070100@galaktika.ru> (raw)
In-Reply-To: <200501150631.59243.yarick@it-territory.ru>

/usr/sbin/smbmnt ?

After I chmodded /usr/bin/smbmnt one, I got:
libsmb based programs must *NOT* be setuid root.
29612: Connection to nata failed
SMB connection failed

I do not have /usr/sbin/smbmnt

>>not remember which one - found its name in one of FAQs) and specified
>>    
>>
>....
>  
>
>>username=administrator,password=xxx,fmask=0666,codepage=cp866,iocharset=utf8,users 
>>    
>>
>Are you sure it's "users" and not "user" ?
>  
>
I actually tried both. The reaction is the same (may be synonims?).  As 
soon as I specify it, codepage= and iocharset= parameters are no longer 
recognized and an error message starts to appear in the 
/var/log/messages saying that "noexec" parameter is not recognized by 
smbfs (Jan  9 15:24:09 NS kernel: smbfs: Unrecognized mount option 
noexec). This is actually not a big issue as I could write a script with 
"sudo mount /my/mountpoint". And I probably can exclude this line from 
my fstab and specify the parameters in this script. This just does not 
look very user-friendly to me (ok for my single-user laptop). It appears 
that I cannot use fstab with smbfs volumes if I want international 
characters.

>>Any ideas if it is possible to fix this? I can "sudo mount" all the time
>>but it does not sound right...
>>    
>>
>And what's wrong with smbmount ?
>smbmount //server/share /your/mountpoint -o 
>username=<uname>,iocharset=utf8,codepage=cp866
>Works like a charm as long as /usr/sbin/smbmnt is suid-root
>
>  
>
Thanks!

      reply	other threads:[~2005-01-15 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15  2:15 Nick
2005-01-15  3:31 ` Yaroslav Rastrigin
2005-01-15 21:52   ` Nick [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=41E990B8.8070100@galaktika.ru \
    --to=nick@galaktika.ru \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®