[IPA] SID allocation using DNA plugin

Andrew Bartlett abartlet at samba.org
Mon Nov 2 15:26:18 MST 2009

On Mon, 2009-11-02 at 12:24 -0500, Endi Sukma Dewata wrote:
> Hi Andrew,
> I noticed that the patches have been applied to the master branch,
> thank you very much. However, when I tried to test it I found that
> the provisioning tool failed with the following error:
> Traceback (most recent call last):
>   File "./setup/provision", line 213, in <module>
>     nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode)
>   File "bin/python/samba/provision.py", line 1195, in provision
>     domainsid=domainsid)
>   File "bin/python/samba/provisionbackend.py", line 184, in __init__
>     domainsid=domainsid)
>   File "bin/python/samba/provisionbackend.py", line 579, in provision_fds_backend
>     retcode = subprocess.call([setup_ds_path, "--silent", "--file", result.paths.fedoradsinf], close_fds=True, shell=False)
> NameError: global name 'subprocess' is not defined
> Are you still in the middle of restructuring the provisioning tool?
> Please let me know if there's anything I could help. Thanks!

What I really need is 'make test' expanded to have tests with the LDAP
backend run on any compatible host.  Until we do that, mistakes such as
the one I made here will continue to happen. 

(See the environments in selftest/target/Samba4.pm)

Patches to fix up my latest stuff-up most welcome, otherwise I'll look
at it later today. 

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco 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/pipermail/samba-technical/attachments/20091103/217ac3de/attachment.pgp>

More information about the samba-technical mailing list