Loading ...
Sorry, an error occurred while loading the content.
 

Re: problems with Samba

Expand Messages
  • dustinemptyspace
    I changed the mountpoints for the /dev/sdb1 e /dev/sdb2 partitions. Now they are mounted in a direstory different to the standard one (that would be
    Message 1 of 3 , Jan 31, 2006
      I changed the mountpoints for the /dev/sdb1 e /dev/sdb2 partitions.
      Now they are mounted in a direstory different to the standard one
      (that would be /shared/hdd/data/HDD_1_1_1).
      I changed again the smb.conf file to reflect the new mountpoints.

      AND EVERYTHING WORKS!


      the problem is WHY???


      Hope to hear form you,
      Dusty.



      --- In nslu2-linux@yahoogroups.com, "dustinemptyspace"
      <dustinemptyspace@y...> wrote:
      >
      > Here are some dumps:
      >
      >
      > The drive is mounted.
      > ------------------------------
      > mount
      >
      > ....
      > /dev/sdb1 on /share/hdd/data/HDD_1_1_1 type vfat (rw)
      > /dev/sdb2 on /share/hdd/data/HDD_1_1_2 type vfat (rw)
      >
      > ------------------------------
      >
      >
      >
      > I added the entry to smb.conf. Naturally with the symlink.
      > ------------------------------
      > /etc/samba/smb.conf
      >
      > .....
      > [myHDD]
      > valid users=@"administrators",@"everyone"
      >
      > comment=For everyone
      >
      > path=/share/hdd/data/HDD_1_1_1/
      > read only=yes
      > write list=@"administrators",@"everyone"
      > ------------------------------
      >
      >
      >
      > I tried also to change the share.info
      > ------------------------------
      > /etc/share.info
      >
      > ...
      > myHDD=0:1:vfat aggiunta:/HDD_1_1_1/:administrators:7,everyone:7
      > ------------------------------
      >
      >
      >
      >
      > But everytime I try to access the share I got such a message in the
      > logfile.
      > ------------------------------
      > /var/log/samba/log.smbd
      > [2006/01/31 23:10:49, 0] smbd/service.c:make_connection_snum(617)
      > '/share/hdd/data/HDD_1_1_1/' does not exist or is not a directory,
      when
      > connecting to [myHDD]
      > ------------------------------
      >
      >
      >
      >
      >
      >
      > --- In nslu2-linux@yahoogroups.com, "dustinemptyspace"
      > <dustinemptyspace@y...> wrote:
      > >
      > > Hi everybody,
      > >
      > > I'm playing with unslung-6.5. My configuration is:
      > > port 1 : 4 ports HUB (usb2.0), with printer and 300Gb hdd
      > > port 2 : flash with root partition (unslinging)
      > >
      > > The hub is seen correctly and the pheripherals behind the hub are
      > > correctly recognized.
      > > The printer is /dev/lp0 and the hdd is /dev/sdb( with 2 vfat
      > partitions).
      > >
      > > The web interface says "port 1:Not Formatted" but the HDD can be
      > > mounted manually; it works.
      > > I can mount "mount /dev/sdb1 /share/hdd/data/HDD_1_1_1/" but the HDD
      > > is not shared by samba.
      > > If I try
      > > mount -t smbfs -o username=guest,password=aaa
      > > //192.168.178.60/HDD_1_1_1 /mnt/smb/1/
      > >
      > > I get
      > > 23546: tree connect failed: ERRDOS - ERRnosuchshare (You specified
      > > an invalid share name)
      > > SMB connection failed
      > >
      > > The printer is also not shared, but that would be too much :-))
      > >
      > >
      > > does somebody have in mind soting to try? I tried also to modify the
      > > smb.conf, adding the shares ... but with no results.
      > >
      > >
      > > An interesting thing is this:
      > > if I type on my PC "smbtree 192.168.178.60"
      > > I get
      > > WORKGROUP
      > > \\LKG637DFE
      > > \\LKG637DFE\ADMIN$ IPC Service ()
      > > \\LKG637DFE\IPC$ IPC Service ()
      > > \\LKG637DFE\DISK 2 For everyone
      > > \\LKG637DFE\ADMIN 2
      > > \\LKG637DFE\HDD_1_1_2 For everyone
      > > \\LKG637DFE\HDD_1_1_1 For everyone
      > >
      > > It seems that the NSLU is exporting something...
      > >
      > >
      > > Thanks you all,
      > > Dusty.
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.