SWAT2: Difference between revisions

From SambaWiki
m (Remove link to 'Samba4' page, because it doesn't exist any more.)
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
= Dependencies =
= Dependencies =


* [[Samba4]] (in particular, the Samba 4 Python bindings)
* Samba4 (in particular, the Samba 4 Python bindings)
* pylons
* pylons
* authkit module ("easy_install authkit") on RHEL based distros. You'll need python-setuptools installed before you can do this.


= Installation =
= Installation =
Line 21: Line 22:


== 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

SWAT will now be available at http://localhost:901/.


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

TODO

Latest revision as of 02:24, 2 June 2014

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

Repository:

Dependencies

  • Samba4 (in particular, the Samba 4 Python bindings)
  • pylons
  • authkit module ("easy_install authkit") on RHEL based distros. You'll need python-setuptools installed before you can do this.

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

SWAT will now be available at http://localhost:901/.

From Apache

TODO