SWAT2: Difference between revisions

From SambaWiki
No edit summary
Line 21: Line 21:


== From Samba ==
== From Samba ==

First, install SWAT or make sure it is available in the Samba server's Python path:

$ ./setup.py install

Make sure that Samba is running the web service by adding the following line to the *[global]* section of the smb.conf file:

$ server services = +web


== From Apache ==
== From Apache ==

TODO

Revision as of 14:51, 22 November 2012

SWAT2 is a Python frontend to Samba 4, originally written by Ricardo Velhote.

Repository:

Dependencies

  • Samba4 (in particular, the Samba 4 Python bindings)
  • pylons

Installation

There are three ways in which you can run SWAT. Pick one:

Standalone

Use paster:

 $ paster serve development.ini 

From Samba

First, install SWAT or make sure it is available in the Samba server's Python path:

 $ ./setup.py install

Make sure that Samba is running the web service by adding the following line to the *[global]* section of the smb.conf file:

 $ server services = +web

From Apache

TODO