samba4 first time install, missing python _credentials module for provision

Andrew Bartlett abartlet at samba.org
Fri Feb 22 07:49:09 GMT 2008


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).

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080222/b76ef995/attachment.bin


More information about the samba-technical mailing list