Women in Technology

Hear us Roar

  Inside Samba: Windows Sharing for the Mac
Subject:   root won't authenticate
Date:   2005-02-24 12:56:51
From:   IDunno
I've setup SWAT as detailed, but when connecting to localhost:901 and prompted for a username/password it won't accept it - it'll return back to the same login prompt.

The root user has been enabled and has a password set. This is both with the original swat config file that comes with OS X as well as the one detailed in this article.

Any suggestions?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Jason Deraleau photo root won't authenticate
    2005-02-24 13:18:27  Jason Deraleau | O'Reilly Author [View]

    Some others have reported issues when accessing SWAT on a Mac without the Dev Tools installed. One thing worth noting is that this article is aimed at Jaguar users. Panther made a lot of this article deprecated. Today, I tried to use SWAT for the first time on Panther and am encountering the same issue as you. I can't seem to access SWAT, regardless of the authentication credentials I provide. One possible solution is to add a line to your /etc/xinetd.d/swat file which contains:

    server_args = -a

    This will make SWAT run in a mode where it will allow anyone to modify the contents of the smb.conf file (at least, according to swat's man page). It's important to note that if you elect to setup SWAT in this manner, you should be extra sure that xinetd is only allowing connections to the SWAT daemon from localhost. In addition, other users who have console access to the Mac will be able to access SWAT locally.