1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any Linux Samba experts handy? :)

Discussion in 'Off Topic' started by Kevin, Sep 19, 2011.

  1. Kevin

    Kevin Well-Known Member

    Anybody experienced with RHEL6 & Samba? I am trying to get our Windows network to access some folders on a new RHEL6 withouth being prompted for a password but I don't want to use AD for the Linux account logins.

    What I would be after would be to either expose the folders to windows using AD but only use AD for Samba and no where else or to just expose the folders wide open with no user account security at all.

    Everything I'm finding is to either use AD for both Samba & the account logins or creating Samba accounts per user but that would then prompt them for a password when trying to access the folder.

    Anybody? :cautious:
  2. Slavik

    Slavik XenForo Moderator Staff Member

    I assume you mean samba server + windows clients? or adding a second samba server to an existing windows network?
  3. Kevin

    Kevin Well-Known Member

    That one. :) We are a windows shop but have a couple of linux boxes for some legacy apps that are accessed via telnet. We need to browse the folders on the box from various Win servers using their UNC folder names.
  4. -GR-

    -GR- Well-Known Member

    I am not at home or I could paste my samba.cnf file. There are some good write ups on the net that I found searching with google when I set mine up. Once you get it going, it is pretty easy disabling or enabling guest access or require authentication.
  5. Kevin

    Kevin Well-Known Member

    Unfortunately everything I am finding at the moment starts with the assumption of using having the AD integration already up & running, including the linux account logins, as opposed to treating samba as its own separate entity.
  6. -GR-

    -GR- Well-Known Member

    This tutorial seems to be in line with what I setup: http://wiki.linuxquestions.org/wiki/Setting_up_a_Samba_Server

    Biggest thing is to make sure the ports are open in the firewall. Are you looking to have the users authenticate at all? Each with their own account or maybe one account for all to use?
  7. Floris

    Floris Guest



    I remember from before the new millennium when people used telnet.

  8. Kevin

    Kevin Well-Known Member

    Thanks; I ended up trying a fresh install of RHEL6 on a QA box to say 'Heck with it, let's just bind it to AD.' and am getting hung up on an annoying error during 'net ads join' that it can't find the DC server even though I can ping and tried the IP directly as part of the command. :( Will try again in the morning; tonight I'm doing some HP patches on the boxes.

    The corporate world is a bit slower to change then end-users are. ;)
  9. Floris

    Floris Guest

    Hence why they're being embarrassed en-masse by hacker groups every year.

    It's a 0 effort change to go from plain text telnet to encrypted ssh2.

    A firewall means *NOTHING* when data flows plain text in and out of the system.
    Not to mention the 500+ possibilities for man-in-the-middle that telnet introduces.

    Anyway, it's not the topic of this conversation. Recommend it to your IT head to just 'reconsider' to a) have a review of the firewall, and while they're at it, b) to use PuTTy for ssh2 to more securely connect to the boxes in and out the net, rather than over telnet. You can use the same programs. Plus, when you use SSH you can uninstall ftp daemons and use sftp instead. Solving the issue with plain-text ftp data transfers as well.
  10. Kevin

    Kevin Well-Known Member

    @Floris: Don't assume that these boxes are reachable over the LAN and especially not over the WAN. Those scenes in TV shows where somebody needs to be in the building to access a box? It isn't always made up. ;)
  11. Floris

    Floris Guest

    Glad to hear that the network isn't reachable from the outside.
  12. Panupat

    Panupat Well-Known Member

    I remember having to google for tons of tutorials to get my nfs and samba working. Mostly firewall and SE Linux stuff.

    Gawd I hate SE Linux.

Share This Page