[Samba] Trouble installing SWAT on a Samba 4 Alpha 13 build on Ubuntu Server

Lynn Dixon boodaddy at gmail.com
Mon Jan 24 07:11:54 MST 2011


I am not sure how to use Microsoft AD tools to create shares and then set
those shares permissable to certain AD groups. For example, I need to create
a share called "Finance" and only the people in Finance can read/write to
it. I was hoping to use SWAT to help in creation and management of those
shares.

I have been using AD tools to manage the domain and GPO's but I am not sure
how to use them to create shares.

You can see swat for samba4 here:  https://github.com/rvelhote/GSoC-SWAT

On Mon, Jan 24, 2011 at 5:03 AM, Daniel Müller <mueller at tropenklinik.de>wrote:

> I thought swat is no longer working!!Just use Microsoft ads tools and you
> are up and running.
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
>
> -----Ursprüngliche Nachricht-----
> Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
> Im
> Auftrag von Lynn Dixon
> Gesendet: Sonntag, 23. Januar 2011 06:39
> An: samba at lists.samba.org
> Betreff: [Samba] Trouble installing SWAT on a Samba 4 Alpha 13 build on
> Ubuntu Server
>
> Hello all,
> I have setup a complete domain using Samba 4 on my Ubuntu server 32 bit
> machine.  I am using the Alpha 13 build (it was actually in the Ubuntu
> Repos). I am trying to setup swat to make it easier to manage shares.  I
> have followed the instructions at https://github.com/rvelhote/GSoC-SWATbut
> I am having a few problems.
>
> When I run ./run I get the following errors:
> jenfab at dc:~/GSoC-SWAT$ sudo ./run
> Starting subprocess with file monitor
> Traceback (most recent call last):
>  File "/usr/local/bin/paster", line 9, in <module>
>    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
>  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in
> run
>    invoke(command, command_name, options, args[1:])
>  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in
> invoke
>    exit_code = runner.run(args)
>  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in
> run
>    result = self.command()
>  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in
> command
>    relative_to=base, global_conf=vars)
>  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in
> loadapp
>    **kw)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in
> loadapp
>    return loadobj(APP, uri, name=name, **kw)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in
> loadobj
>    global_conf=global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in
> loadcontext
>    global_conf=global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in
> _loadconfig
>    return loader.get_context(object_type, name, global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in
> get_context
>    section)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in
> _context_from_use
>    object_type, name=use, global_conf=global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in
> get_context
>    global_conf=global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in
> loadcontext
>    global_conf=global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in
> _loadegg
>    return loader.get_context(object_type, name, global_conf)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in
> get_context
>    object_type, name=name)
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 587, in
> find_egg_entry_point
>    possible.append((entry.load(), protocol, entry.name))
>  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in
> load
>    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> ImportError: No module named swat.config.middleware
>
>
> Any suggestions as to where to go from here?
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
>


More information about the samba mailing list