Created attachment 7680 [details]
Fix for ntdb python module
Samba 4.0 beta 2 doesn't find ntdb python module by issuing the following error :
>>> import ntdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (initntdb)
It is due to a typo in lib/ntdb/pyntdb.c. The init function is actually named libtdb (historical?).
In attach is a patch fixing this bug.