Results 1 to 9 of 9

Thread: Samba

  1. #1

    Samba

    I'm having trouble running samba from a linux machine to share files for a windows computer. I've got it so the computer shows up in network neiborhood on the 98 machine but when i go to enter it asks for the password. I put in all passwords used on that machine but could not enter. Could someone help me get this working. Its running redhat 7.2 with swat and webmin

  2. #2
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re: Samba

    you need to have users set up on the linux box.

    got to the PETS for this!!! there is plenty of help in there on samba.

  3. #3

    Re: Samba


    you need to have users set up on the linux box.

    got to the PETS for this!!! there is plenty of help in there on samba.
    kill all authentication (user/server level security) and comment
    out the "netlogon" section. Also follow boblucci's advice.

    ~Guitarlynn

  4. #4

    Re: Samba

    You can also set the security level to share. Bear in mind that this is not as secure as other settings. However, if you trust your setup or just don't care if you get hacked, it's an easy fix.

  5. #5

    Re: Samba

    If your running a firewall, why would you use user level securty? Do you have a NT/2K login server? Do you want to
    set Samba up as one....use Server level security! Who is going
    to hack you on your home lan....your momma? Share is ideal for
    home, user and server are for a secure work LAN environment.
    Maybe you need to hide your porn folder???? I dunno why
    anyone would suggest anything but share security at home.....
    I'm open to suggestions!

    ~Guitarlynn

  6. #6

    Re: Samba

    Well lots of people think security doesn't end at the firewall. I made sure to make the security vulnerabilities clear just in case. However, for the record, I'm not one of those people. I set Samba up a few days ago and set it to share security. I don't think anyone's going to hack my firewalled dial-up connection and even if they do, I do occasional backups. It all depends on your situation and your priorities Agar.

  7. #7
    Senior Member
    Join Date
    May 2001
    Posts
    411

    Re: Samba

    Add Windoze users to the Linux box like so:

    smbpasswd -a windoze_user

    and follow the prompts. You'll get an error message when Samba creates the smbpasswd file for the first time -- no worries.

  8. #8

    Re: Samba


    Well lots of people think security doesn't end at the firewall. I made sure to make the security vulnerabilities clear just in case. However, for the record, I'm not one of those people. I set Samba up a few days ago and set it to share security. I don't think anyone's going to hack my firewalled dial-up connection and even if they do, I do occasional backups. It all depends on your situation and your priorities Agar.
    kewl, but you would have to many, many screwed up
    permissions to access any shares or leave port 137 & 139
    open. I hear you on security, I actually run a 2 stage NAT with
    a DMZ which is total overkill for a home or even most
    commercial networks with the Dachstein distro that has a
    killer ipchains firewall. I did however suffer two small DoS
    attacks with no ill effects other than logs filling in the last week.

    In any regard, set it where your comfortable.... extra security
    will never hurt, just be more work to set up.

    ~Guitarlynn

  9. #9

    Re: Samba

    I wanted to throw in a note about using share access. I assume other people will be on this network and if you're the least bit worried about them messing stuff up, you need to either set the shares as read-only or deny them permission in the file system. I'm not certain but I think if you give a certain directory write access to all, then with share access, anyone over the network can change and delete stuff. So you need to make it so that only who you want to have this permission has it, or just do it the easy way and set it up as a read-only share. I did the latter but I'll probably change it since only root has write permission outside the Downloads directory. (I only shared my mp3's.)

Similar Threads

  1. How Do I Run Samba?????????
    By sipherix in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 12-15-2004, 09:56 PM
  2. Samba Help!
    By GroundZero3 in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 04-09-2003, 03:48 PM
  3. samba anyone know how?
    By sujoki in forum Linux - General Topics
    Replies: 5
    Last Post: 10-09-2002, 06:03 AM
  4. SAMBA
    By Feztaa in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 03-02-2002, 03:10 PM
  5. samba
    By agar in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 12-06-2001, 02:32 AM

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
  •