You are not logged in.

#1 2009-01-12 07:07:24

mooreted
Member
Registered: 2009-01-01
Posts: 113

[SOLVED] Cannot mount with Cifs.

I set up a simple smb.conf file. (I'll post that in a sec. I'm on the client right now)

I shared ~/ and ~/music.

I added the user theresa.

Started Samba.

Tried to mount the share after looking to see that the share was there. Here's what I end up with:

theresa@linux-9s78:~> smbclient -L 192.168.0.2
Enter theresa's password:
Domain=[MUSIC] OS=[Unix] Server=[Samba 3.2.6]

        Sharename       Type      Comment
        ---------       ----      -------
        homes           Disk
        music           Disk
        IPC$            IPC       IPC Service (Samba 3.2.6)
        theresa         Disk      Home directory of theresa
Domain=[MUSIC] OS=[Unix] Server=[Samba 3.2.6]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        HOME
theresa@linux-9s78:~> su
Password:
linux-9s78:/home/theresa # mount -t cifs //192.168.0.2/music/ -o username=theresa,password=nobitch Tunes/
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
linux-9s78:/home/theresa #

Last edited by mooreted (2009-01-12 07:20:27)

Offline

#2 2009-01-12 07:08:47

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: [SOLVED] Cannot mount with Cifs.

smb.conf:

workgroup = HOME
netbios name = music

[homes]
browseable = yes
read only = no
public = yes

[music]
path = /home/mooreted/music
browseable = yes
read only = no
valid users = theresa

Last edited by mooreted (2009-01-12 07:09:19)

Offline

#3 2009-01-12 07:10:53

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: [SOLVED] Cannot mount with Cifs.

Oh, I'm forgetting all kinds of stuff here, sorry. The share music points to a symbolic link to my NTFS drive where the music is stored. The NTFS drive is mounted via NTFS-3G, so its a fuesblk file system. NFS would not export it and that's why I'm trying Samba.

Offline

#4 2009-01-12 07:20:10

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: [SOLVED] Cannot mount with Cifs.

Dang it. I hate when I answer my own questions.

I mounted the share 'homes' and I can see everything on the drive except the symbolic link. I guess you can share a symbolic link?

Whatever, it's working now.

Offline

Board footer

Powered by FluxBB