Results 1 to 6 of 6

Thread: Mounting Windows Share No Password

  1. #1
    Join Date
    Jun 2006
    Location
    California
    Beans
    638

    Mounting Windows Share No Password

    We have a computer here with stuff on it we all use. If I load up my Windows XP VM and open it through My Network Places it loads up just fine. In Ubuntu Nautilus complains that it cant mount the share. If I do:

    sudo mount -t cifs //tech1/e /mnt/tech1

    it asks for a password. There is no password.

  2. #2
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mounting Windows Share No Password

    Are you sure that it's asking for a share password and not a local password for sudo?

    If it really is asking for a share password, try this:
    Code:
    sudo mount -t cifs //tech1/e /mnt/tech1 -o guest

  3. #3
    Join Date
    Jun 2006
    Location
    California
    Beans
    638

    Re: Mounting Windows Share No Password

    Quote Originally Posted by dmizer View Post
    Are you sure that it's asking for a share password and not a local password for sudo?

    If it really is asking for a share password, try this:
    Code:
    sudo mount -t cifs //tech1/e /mnt/tech1 -o guest
    Yeah, I tried my sudo password and it just said "try again". I tried the -o guest and got "connection refused", I assume the guest account is disabled. The user is Frank so I tried -o Frank and it went back to asking for a password.

    Frank claims there's no password. But maybe Windows just logs him in automatically and there is a password. I think I'll try logging out on his machine and see if it asks for a password to get back in. Although, Windows doesn't ask for a password when I connect from a Windows machine.

    Also - thinking out loud here - I better try using the IP address instead of the hostname. There may be a DNS problem.

  4. #4
    Join Date
    Jun 2006
    Location
    California
    Beans
    638

    Re: Mounting Windows Share No Password

    Well, darn, using the IP address didn't work. It first asks for the sudo password then asks for the share password.

    Frank is now granting "Everyone" access. We'll see what that does.

  5. #5
    Join Date
    Jun 2006
    Location
    California
    Beans
    638

    Re: Mounting Windows Share No Password

    Ah ha, that worked.

    So, even if you give a Windows share read/write access, you still need to add "Everyone" to the permissions to connect from your Linux box.

  6. #6
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mounting Windows Share No Password

    Quote Originally Posted by mooreted View Post
    Ah ha, that worked.

    So, even if you give a Windows share read/write access, you still need to add "Everyone" to the permissions to connect from your Linux box.
    Good to hear you got it working!

Bookmarks

Posting Permissions

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