Results 1 to 5 of 5

Thread: SWAT

  1. #1
    Newbie
    Join Date
    May 2004
    Location
    Montreal, Canada
    Posts
    2

    SWAT

    Hello everyone,

    I have working my SAMBA server in a wireless network... very nice!.
    I can share files/directories... in Linux with my Windows clients with no problem but, even they(Windows clients) can see my printers in Linux, printing does not work.

    I am trying to install SWAT but, I do not know how. I chcecked my files in my Linux machine and I have not a single SWAT file anywhere. SWAT needs to be installed separatly from Samba? , how can I use "http://127.0.0.0:901". I try it and get " The connextion was refused when attemting to contact 127.0.0.0:901.

    I'll appreciate your inputs.

    Carlos

    :?:

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    Cherokee,

    Try this link. You'll have to edit the /etc/xinetd.d/swat file to enable SWAT. Then you'll have to restart xinetd. "/etc/init.d/xinetd restart"

    http://www.linuxhomenetworking.com/linux-hn/samba.htm

    Hope this helps.

  3. #3
    Hi ... thanks for your help.

    I did that already before and still getting the same error.

    this is my swat file in etc/xinetd.d/swat
    #swat
    service swat
    {

    port = 901
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    server = /usr/sbin/swat
    log_on_failure += USERID
    disable = no
    only_from = localhost

    }

    Is there any installation procedure for SWAT?


  4. #4
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    In RedHat/Fedora you need to install a separate RPM called samba-swat. You could doublecheck the installation.

    Try to telnet to port 901 like this:

    # telnet 127.0.0.1 901

    You should get a connection, if not check if you are running a firewall product that could be disabling access to 127.0.0.1.

    You can also use the "netstat -nr | grep 901" command to see whether your server is listening on port 901.

    Check /var/log/messages for any unusual SWAT or xinetd errors.

  5. #5
    Newbie
    Join Date
    May 2004
    Location
    Montreal, Canada
    Posts
    2

    SWAT is working.... not my printers

    Thanks for your help.

    SWAT is working....
    I managed install SWAT. I had to take it form my CD3 samba-swat.rpm and install it.

    Thanks

    Carlos :wink:

Similar Threads

  1. Swat issues
    By paleogryph in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-29-2005, 01:18 PM
  2. SWAT - Ecryption
    By hornet in forum Linux - General Topics
    Replies: 0
    Last Post: 04-29-2005, 12:38 PM
  3. Samba SWAT problems
    By cheezetrix in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-01-2004, 03:20 PM
  4. SWAT in RH 7.3
    By xgtr in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 06-01-2002, 06:04 AM
  5. SWAT probs
    By Kernel_Killer in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 05-01-2002, 05:39 PM

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
  •