Find the answer to your Linux question:
Results 1 to 10 of 10
hi, i have tryed to configure the samba server on my linux box so that i can accses its shares on a windblows 98 box. my machine (rh92) shows up ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Looe, Cornwall UK
    Posts
    152

    samba server problems


    hi,

    i have tryed to configure the samba server on my linux box so that i can accses its shares on a windblows 98 box.

    my machine (rh92) shows up on network neighbourhood but when i try to view it i get "computer or sharename cannot be found" has anyone got any ideas as to what i might do to resolve this little annoyance?

    cheers
    Cry out for freedom! Cry out for Linux!

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Do you have a smbpassword file in your /etc/samba folder?
    and is the specific folder you are trying to see shared?
    Since samba is a server you need users, I find it easier if the usernames and passwords match on both boxes.

    Hope this helps
    Mike

  3. #3
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I believe the user needs to be first added with the smbpasswd command before they can connect.

    Code:
    smbpasswd -a user
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  4. #4
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Jeremy is right, but included a user with the same account needs to be on the box.

    /home/user #must exist for:
    smbpassword -a user

    to work.
    Mike

  5. #5
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Looe, Cornwall UK
    Posts
    152
    still no change.
    have tried smbpasswd -a and have checked /etc/smbpasswd but still no luck...
    Cry out for freedom! Cry out for Linux!

  6. #6
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    do you have a smbpasswd file?

  7. #7
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Looe, Cornwall UK
    Posts
    152
    yep
    Cry out for freedom! Cry out for Linux!

  8. #8
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Ok now check the permissions on the file you are trying to share. Make sure that the file is accessible.

    example
    drxwr-x--- root root <somefile>
    is only accessible by root

  9. #9
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Looe, Cornwall UK
    Posts
    152
    i have set the permissions for the folder so that it is accsesible by everyone but this has still made no change


    EDIT:

    do you have to share a file not a folder?
    Cry out for freedom! Cry out for Linux!

  10. #10
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    if you chmod -R it will go down the line.

    chmod -R 775 <somedirectory>

    This will make the owner and group have
    read write excecute and everyone else with have read and excecute

    and all of the files in the directory.

    If you still need help send me your smb.conf file privately and I might be able to see what is going on.

    Mike

Posting Permissions

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