+ Post New Thread
Results 1 to 8 of 8
*nix Thread, mount samba share woes in Technical; Ive got samba set up on both my servers, works no problem I can access the shares from all my ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199

    mount samba share woes

    Ive got samba set up on both my servers, works no problem I can access the shares from all my windows clients.

    But I cant seem to mount a share from one server on the other..

    USing the instructions here: Welcome to JustLinux: Wanna learn Linux?

    I just get an access denied..

    Code:
    oasis ~ # mount -t smbfs //192.168.2.4/admin /test1 -o user=robert,password=mypass
    20959: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
    SMB connection failed
    but checking using smbclient works with the same credientials...

    Code:
    oasis ~ # smbclient //192.168.2.4/admin -U robert
    Password: 
    Domain=[ROBERTS] OS=[Unix] Server=[Samba 3.0.33]
    smb: \>
    Am I missing something?

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Code:
    mount -t cifs //192.168.2.4/admin /test1 -o user=robert,password=mypass

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    IIRC, you have to pass your credentials like:

    Code:
    -o user=robert%mypass
    It might be 'username', too.

  4. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by jinnantonnix View Post
    Are you running this as root?
    mount would complain long before a connection failure if he wasn't

  5. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    yup, running as root,

    cifs gives me a

    Code:
    mount: unknown filesystem type 'cifs'
    chaniging user to username gives me

    Code:
    ERROR: smbfs filesystem not supported by the kernel
    Please refer to the smbmnt(8) manual page
    smbmnt failed: 255
    which is a problem.

  6. #6

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    You've already created the target mount point, right?

  7. #7

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    yep did that first. I think it must be something wrong with the kernel going by that last errorr

  8. #8

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    I'd check you've got the SMB and CIFS modules set up right, I think the error you're seeing is earlier than actually connecting to the target host.

SHARE:
+ Post New Thread

Similar Threads

  1. bl**dy samba!
    By somabc in forum *nix
    Replies: 15
    Last Post: 14th November 2008, 01:39 PM
  2. Samba 4
    By FN-GM in forum *nix
    Replies: 8
    Last Post: 9th October 2007, 12:28 AM
  3. Samba share
    By apeo in forum *nix
    Replies: 17
    Last Post: 16th July 2007, 12:21 PM
  4. Samba
    By Jackd in forum Wireless Networks
    Replies: 2
    Last Post: 28th June 2007, 06:25 AM
  5. Replies: 15
    Last Post: 23rd March 2007, 08:47 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •