S.W.A.T Installation and Configuration Guide

From The Wiki Guide

Jump to: navigation, search

Abstract

Swat is Web-Based GUI Application for administering Samba server.

Contents


Installation

If you havent already installed Samba

cd /usr/ports/net/samba3
make install

There will be options to select in the install this is what I selected

[X] LDAP            With LDAP support
[X] ADS             With Active Directory Support
[X] CUPS            With CUPS printing support
[X] WINBIND         With WinBIND support
[X] ACL_SUPPORT     With ACL Support
[X] SYSLOG          With Syslog support
[X] QUOTAS          With Quota support
[X] UTMP            With UTMP support
[X] MSDFS           With MSDFS Support
[X] POPT            With installed POPT library


Configuration

After installing Samba 3 Uncomment line in your /etc/inetd.conf

swat   stream   tcp   nowait/400   root   /usr/loca/sbin/swat   swat

To set your root password in Samba (as root)

 smbpasswd

Type your desired password

Then to run swat

swat&

To login via browser

http://localhost:901

User type root Password the one you configured in smbpasswd

From any other machine on the network

http://ipaddress:901
Personal tools