1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00
Tim Potter 677bae21d1 Abstract out the functionality of gtdbtool into a dictionary browser
class.  This should provide a nice framework for browsing any kind of
data presented as a python dictionary:

 - windows registry
 - printer data
 - tdb files
(This used to be commit 8af86f68354f7c803bb66886560b358d6e48681d)
2002-08-30 01:35:56 +00:00
..
2002-03-20 03:32:44 +00:00
2002-04-18 03:24:02 +00:00
2002-05-27 06:23:30 +00:00
2002-07-29 03:50:35 +00:00
2002-05-16 04:00:31 +00:00
2002-05-16 04:00:31 +00:00
2002-05-16 02:01:23 +00:00
2002-05-27 06:23:30 +00:00

Quick Install Guide
--
Lines prepended with a $ indicate shell commands.

1. Requirements

In order to be able to compile samba-python you need to have
python and the python-dev packages installed.

2. Checking out the CVS HEAD branch of Samba and Samba-Python

In your shell, type:

$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login

When asked for a password, type 'cvs'.

Now, type:

$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba

This might probably take a while. When everything is downloaded,
check out the samba-python tree:

$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba-python

Now that you have both cvs modules, move the directory 'samba-python' to 
inside the samba source tree, using: 

$ mv samba-python samba/source/python

Now, go to the samba/source directory and apply the samba-head.patch patch:

$ cd samba/source && patch -p0 < location/to/samba-python/samba-head.patch

You can now configure samba as usual and create the python extension:

$ autoconf
$ ./configure 
$ make python_ext

Now, you can install the modules:

$ cp build/lib.*/*.so /usr/lib/python2.1/lib-dynload/

(the directory /usr/lib/python2.1 may vary, depending on your installation)

Samba-python should work now!