Bug 2895 - python bindings: broken lock/unlock tdb interface
Summary: python bindings: broken lock/unlock tdb interface
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: python (show other bugs)
Version: 3.0.14a
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 02:31 UTC by Christian Andreetta (dead mail address)
Modified: 2005-08-24 10:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Andreetta (dead mail address) 2005-07-19 02:31:29 UTC
I'm trying to pass all tests for python bindings to distribute these on Gentoo
distro, but the api tdb_lockkeys() and tdb_unlockkeys() called in
source/python/py_tdb.c seem not supported anymore. So, 'import tdb' from python
fails.
In http://samba.sernet.de/irclog/2005/05/20050504-Wed.log (from 05.27) it seems
like these methods are deprecated.
What can be done to use the tdb interface in python?
Comment 1 Tim Potter 2005-07-19 03:00:22 UTC
Yep - unfortunately the python modules aren't automatically tested so this build
bug has gone unnoticed.  I've fixed it in subversion now.
Comment 2 Christian Andreetta (dead mail address) 2005-07-19 03:38:46 UTC
thanks :-)
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:17:50 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.