Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I am unable to access samba share from my windows machine

  1. #1
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    I am unable to access samba share from my windows machine

    I am unable to access samba share from my windows machine. I am getting the following error, pls look at the snapshot..
    Attached Images Attached Images

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: I am unable to access samba share from my windows machine

    Can you ping the Samba box from your Windows machine, successfully?

    Are there any firewalls involved? If yes, they've been configured properly?

  3. #3
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: I am unable to access samba share from my windows machine

    I am able to ping the samba box from the windows machine. And no firewalls were involved..

  4. #4
    Join Date
    Dec 2009
    Beans
    5,375

    Re: I am unable to access samba share from my windows machine

    Please post the output of each of the following commands:
    Code:
    testparm -s
    net usershare info --long
    smbtree

  5. #5
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: I am unable to access samba share from my windows machine

    Do you want me to excute the above commands in samba server?

  6. #6
    Join Date
    Dec 2009
    Beans
    5,375

    Re: I am unable to access samba share from my windows machine

    yes

  7. #7
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: I am unable to access samba share from my windows machine

    Please find the outputs of the above commands in the given link,

    http://paste.ubuntu.com/644775/

  8. #8
    Join Date
    Dec 2009
    Beans
    5,375

    Re: I am unable to access samba share from my windows machine

    Let's get rid of the easy ones first:

    [1]Change these parameters:
    Code:
    security = SHARE
    encrypt passwords = No
    To this:
    Code:
    security = user
    encrypt passwords = Yes
    And add one more to the [global] section:
    Code:
    map to guest = Bad User
    [2] You have the wrong syntax on all your hosts deny / allow parameters. There is no wild card "*" it's simply a space. So for example this:
    hosts deny = 172.29.26.*, 172.29.30.*
    Becomes:
    hosts deny = 172.29.26. , 172.29.30.
    Save your smb.conf and restart samba:
    Code:
    sudo service smbd restart
    You have a couple of other parameters that I've never seen before so let's see how far this gets you before we do anything else.

  9. #9
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: I am unable to access samba share from my windows machine

    By the way i have to tell you one thing before we start digging for the solution. I can access samba share from all my windows machines except one machine..

    I badly need to access samba share from that windows machine. I will change the configuration as refered by you in your previous post and i will update you the result tonight..

  10. #10
    Join Date
    Dec 2009
    Beans
    5,375

    Re: I am unable to access samba share from my windows machine

    If you can access that server from all your machines except 1 despite having "encrypt passwords = No" and despite having all the errors reported by testparm then I truly don't know what the problem is and have no clue how to fix it.

Page 1 of 2 12 LastLast

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
  •