Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Ok I have 2 pcs: 1 Linux Fedora 1 Windows Xp They are both on wireless network, and can ping each others IPs. I am trying to share files, so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2005
    Location
    England
    Posts
    123

    Samba


    Ok I have 2 pcs:
    1 Linux Fedora
    1 Windows Xp

    They are both on wireless network, and can ping each others IPs.

    I am trying to share files, so I set up a Samba server on my Linux machine. On windows I can go to Network Places -> Home and then my linux machine appears named "homeserver (alan)".

    When I click on it I get the following message:

    \\Alan is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

    The network path was not found.
    Please can someone tell me how to fix this, and make the filesharing work.

    Thanks, Alan

  2. #2
    Linux Newbie
    Join Date
    Apr 2005
    Location
    South America
    Posts
    152
    Probably its a problem with password encryption, try adding the following line to smb.conf file
    Code:
    encrypt passwords = yes
    and then creating the smbpasswd file
    http://www.samba.org/samba/docs/man/smbpasswd.5.html

  3. #3
    Linux Newbie
    Join Date
    Feb 2005
    Location
    England
    Posts
    123
    Ok I have turned encript passwords on and now have a few files named smbpasswd:

    etc/samba/sambapsswd :

    alan:500:8D8A0565BDA42A96C2265B23734E0DAC:C8F275DE D37BC14ACE5B5910F9B86388:[U ]:LCT-426A83DB:

    I think that is the one, but how do I edit it, I don't understand the official site guide? Cheers, Alan

  4. #4
    Linux Newbie
    Join Date
    Apr 2005
    Location
    South America
    Posts
    152
    Well, have you tried connecting again to see if it works, I mean, with the pass file created, now you should be able to (if the problem was generated by pass encryption...)

    Notice in order to change the password in that file, youll need to use
    http://www.samba.org/samba/docs/man/smbpasswd.8.html

  5. #5
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    Re: Samba

    Quote Originally Posted by alancooney
    Ok I have 2 pcs:
    1 Linux Fedora
    1 Windows Xp

    They are both on wireless network, and can ping each others IPs.

    I am trying to share files, so I set up a Samba server on my Linux machine. On windows I can go to Network Places -> Home and then my linux machine appears named "homeserver (alan)".

    When I click on it I get the following message:

    \\Alan is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

    The network path was not found.
    Please can someone tell me how to fix this, and make the filesharing work.

    Thanks, Alan
    Did you set:
    Code:
     smbpasswd
    This will prompt you to add user and pword. Use the same name and pword you login to XP with.

  6. #6
    Just Joined!
    Join Date
    Apr 2005
    Posts
    6
    i got the same problem. i tried the smbpasswd and all those things
    i make sure that the IP of my win xp is allowed by the windows.
    but still i cant connect to the pc
    getting same error as the above

    did urs work.?
    thanks
    soham

  7. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    6
    i got the same problem. i tried the smbpasswd and all those things
    i make sure that the IP of my win xp is allowed by the windows.
    but still i cant connect to the pc
    getting same error as the above

    did urs work.?
    thanks
    soham

  8. #8
    Just Joined!
    Join Date
    Apr 2005
    Posts
    6
    i got the same problem. i tried the smbpasswd and all those things
    i make sure that the IP of my win xp is allowed by the windows.
    but still i cant connect to the pc
    getting same error as the above

    did urs work.?
    thanks
    soham

  9. #9
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    Re: Samba

    Quote Originally Posted by rong
    Quote Originally Posted by alancooney
    Ok I have 2 pcs:
    1 Linux Fedora
    1 Windows Xp

    They are both on wireless network, and can ping each others IPs.

    I am trying to share files, so I set up a Samba server on my Linux machine. On windows I can go to Network Places -> Home and then my linux machine appears named "homeserver (alan)".

    When I click on it I get the following message:

    \\Alan is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

    The network path was not found.
    Please can someone tell me how to fix this, and make the filesharing work.

    Thanks, Alan
    Did you set:
    Code:
     smbpasswd
    This will prompt you to add user and pword. Use the same name and pword you login to XP with.
    Alan,
    You need to set the samba password like this:
    smb -a <username> #username being the same as the user on the linux machine
    for example if you have a user on the linux box named joeb then you need a samba password to

    useradd joeb
    passwd
    passwd
    smbpasswd -a joeb

    that should do the trick
    Mike
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  10. #10
    Linux Newbie
    Join Date
    Feb 2005
    Location
    England
    Posts
    123
    smb -a root
    smb -a alan

    these commands come up as not found. I have tried all other suggestions and still no luck.. Also, how do I access the shared are on my Windows XP laptop?

    Cheers anyway, Alan

Page 1 of 2 1 2 LastLast

Posting Permissions

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