Re: Can I ask a smbfs question here?

From: Nick (nick_at_galaktika.ru)
Date: 01/15/05

  • Next message: Adrian Bunk: "[2.6 patch] i386 cpu/common.c: some cleanups (fwd)"
    Date:	Sat, 15 Jan 2005 13:52:56 -0800
    To: linux-kernel@vger.kernel.org
    
    

    /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!
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adrian Bunk: "[2.6 patch] i386 cpu/common.c: some cleanups (fwd)"

    Relevant Pages

    • Re: smbfs in fstab
      ... Subject: smbfs in fstab ... If you want this to mount from the fstab at system boot, ... Confidentiality Notice: This e-mail message, including any attachments, ...
      (freebsd-questions)
    • Re: SMB connection failed
      ... >> You already have smbfs service enabled in your runlevel so I suggest you ... >> restart your computer and see if your shares get mounted. ... the smbfs script in init.d should take care ... This will make the script run just before the xdm is invoked. ...
      (alt.os.linux.suse)
    • RE: Help needed - Cant Upgrade from Samba 3.0.3-5
      ... that I used to be able to mount my windows shares ... Smbfs: mount_data version 1029990773 is not supported ... Here is my original fstab as you can see the two sets of error messages ... Help needed - Cant Upgrade from Samba 3.0.3-5 ...
      (Fedora)
    • Re: [opensuse] Mount problem
      ... fstab and added the hda lines I needed. ... When I boot 10.2 ... the 10.2 does not have smbfs. ... HD partitions are structured using file systems: ...
      (SuSE)
    • Re: Mounting a windows machines drives on a linux machine
      ... > mount -t smbfs ... mounting the smbfs file. ... info directly from fstab into an smbmount cmd line, ... when I re-boot, ...
      (comp.os.linux.networking)