mouting a smb share with linux

From: Benedict Verheyen (linux4bene_at_pandora.be)
Date: 09/21/03

  • Next message: Joan Tur: "Re: USB2.0 and IRDA on IBM ThinkPad T40"
    To: debian user <debian-user@lists.debian.org>
    Date: 21 Sep 2003 00:31:11 +0200
    
    

    Hi,

    i recently installed samba on my server and made it a PDC. I can log in
    and access the shares fine from xp. I share the home dir, the tmp and
    the mp3 dir. (The smb.conf is shown below). My hostname in linux is the
    same as the hostname in windows and is the one i added to the samba
    server in order to provide the domain logon functionality of the samba
    PDC.

    I want to access the shares from my linux machine as well.
    My kernel options:
    CONFIG_SMB_FS=y
    CONFIG_SMB_NLS=y

    I try to mount the share as:
    sudo mount -t smbfs -o username=benedict,password=xyz //arthur/mp3 /mnt

    I get this message:
    mount: wrong fs type, bad option, bad superblock on //arthur/mp3,
          or too many mounted file systems

    When i try as root and leave the -t smbfs
    mount -o username=benedict,password=xyz //arthur/mp3 /mnt
    mount: fs type smb not supported by the kernel

    This is a weird error since the kernel is configured for the smb
    filesystem. How can i mount the shares anyway?

    Thanks for any answers,
    Benedict

    ====== SMB CONF =======

    [global]
      ;basic server settings
      workgroup = CAMELOT
      netbios name = ARTHUR
      server string = Samba PDC running %v
      socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
    SO_RCVBUF=8192

      ;PDC and master browser settings
      os level = 64
      preferred master = yes
      local master = yes
      domain master = yes
      wins support = yes
      hide unreadable = yes

      ;security and logging settings
      security = user
      encrypt passwords = yes
      domain logons = yes
      log file = /var/log/samba/log.%m
      log level = 3
      keep alive = 10000
      max log size = 50
      hosts allow = 127.0.0.1 192.168.0.1 192.168.0.10
    192.168.0.0/255.255.255.0
      interfaces = 192.168.0.1
      add user script = /usr/sbin/useradd -d /dev/null -g 200 -s /bin/false
    -M %u

      ;user profiles and home directory
      ;logon home = \\%L\%U\.profile
      logon home = \\%L\%U
      logon drive = I:
      logon script = logon.bat

    [homes]
      comment = Home Directories
      browseable = no
      writeable = yes

    [tmp]
      path = /tmp
      writeable = yes

    [mp3]
      path = /usr/local/mp3
      browseable = yes
      writeable = yes
      create mask = 0770
      directory mask = 0770
      public = yes
      write list = benedict,nele

    [netlogon]
      path = /home/netlogon
      read only = yes
      write list = benedict

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Joan Tur: "Re: USB2.0 and IRDA on IBM ThinkPad T40"

    Relevant Pages

    • Re: XP and Fedora Core 3 through router - share resources?
      ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
      (comp.os.linux.setup)
    • Re: XP and Fedora Core 3 through router - share resources?
      ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
      (comp.os.linux.setup)
    • Re: Help for Samba configuration
      ... Samba has a huge number of configurable options (perhaps too ... # server string is the equivalent of the NT Description field ... # Log File let you specify where to put logs and how to split them up. ... # Domain Logons let Samba be a domain logon server for Windows workstations. ...
      (Fedora)
    • Re: Help for Samba configuration
      ... Samba has a huge number of configurable options (perhaps too ... # server string is the equivalent of the NT Description field ... # Log File let you specify where to put logs and how to split them up. ... # Domain Logons let Samba be a domain logon server for Windows workstations. ...
      (Fedora)
    • Re: Samba Problem
      ... samba configuration file, ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
      (freebsd-questions)

    Loading