extended provision-backend

Oliver Liebel oliver at itc.li
Thu Aug 6 10:46:18 MDT 2009


problem solved.
had a wrong typo initialization.

>>   
> i got a little python question and i think you can help:
>
> i got his peace of code:
>      p = Popen(slapdcommand_prov,shell=False)
>        sts = os.waitpid(p.pid, 0)
>
> to start slapd from the python provision-script.
>
> slapcommand_prov is a generated string, that looks like this:
> /usr/local/libexec/slapd -f /usr/local/samba/private/ldap/slapd.conf 
> -h ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
>
> no matter what i try (using the exact command instead of generated 
> string),
> this error is always returned:
>  p = Popen(slapdcommand_prov,shell=False)
> TypeError: 'str' object is not callable
>
> any idea?
>
> oliver
>
>
>
>
>
>


More information about the samba-technical mailing list