samba4 first time install, missing python _credentials module for provision

Doug VanLeuven roamdad at sonic.net
Fri Feb 22 08:08:31 GMT 2008


Andrew Bartlett wrote:
> On Thu, 2008-02-21 at 23:40 -0800, Doug VanLeuven wrote:
>   
>> release-4-0-0alpha2-984-ge00c651
>> Using opensuse 10.3
>>
>> I got past the version node not found for symbol io_cancel@@LIBAIO_0.4 by compiling fedora 8 
>> libaio-0.3.106-3.2 src rpm.
>>
>> Trying to run setup/provision
>>
>> Is there a proper way to setup the python libraries?
>>
>> I located some of the python scripts referenced in provision and added to PYTHONPATH.
>> PYTHONPATH=/usr/local/src/samba4/source/bin/python:/usr/local/src/samba4/source/scripting/python/samba
>>
>> and that resolved most module imports, but I'm stuck on
>>
>> Traceback (most recent call last):
>>    File "setup/provision", line 25, in <module>
>>      import getopt
>>    File "/usr/local/src/samba4/source/scripting/python/samba/getopt.py", line 21, in <module>
>>      from credentials import Credentials
>>    File "/usr/local/src/samba4/source/bin/python/credentials.py", line 6, in <module>
>>      import _credentials
>> ImportError: No module named _credentials
>>
>> I can't find it.
>>     
>
> Can you use bin/smbpython setup/provision?  (I'll update the howto to
> make this clear).
>   
That did the trick.  Thanks!  Didn't need a PYHTHONPATH either.

Regards, Doug



More information about the samba-technical mailing list