minschema python problems

tridge at samba.org tridge at samba.org
Thu Oct 2 17:35:43 GMT 2008


Hi Jelmer,

I'm having troubles making the minschema python script work. The
problem is that the ldb.Ldb(url) call immediately calls a
ildb_connect() without having any opportunity to setup the credentials
or loadparm context. We have ldb.set_credentials() and
ldb.set_loadparm() python methods, but those can only be called once
we have a ldb object, and creating the object fails as we haven't
setup the loadparm and credentials opaque variables in ldb.

Any suggestions on how to fix this?

Cheers, Tridge


More information about the samba-technical mailing list