Trouble modifying the ldb bindings
Jelmer Vernooij
jelmer at samba.org
Sun Jul 27 11:10:20 GMT 2008
Am Sonntag, den 27.07.2008, 16:58 +1000 schrieb Andrew Bartlett:
> In the attached patch, I've modified the ldb bindings to try and add
> some more restrictive permissions on created ldbs. However, it just
> won't work for me...
>
> test: blank-dc
> failure: blank-dc [
> Setting up share.ldb Setting up secrets.ldb Traceback (most recent call
> last): File "./setup/provision", line 158, in <module>
> ldap_backend_type=opts.ldap_backend_type) File
> "bin/python/samba/provision.py", line 987, in provision
> credentials=credentials, lp=lp) File "bin/python/samba/provision.py",
> line 584, in setup_secretsdb lp=lp, create_perms=0700) TypeError:
> __init__() got an unexpected keyword argument 'create_perms'
> ]
>
> Is there another place (other than ldb.i) I need to add the keyword
> argument?
No, that should work fine. It'll only parse the .i file if you have swig
installed though. If not, it'll ignore it.
Cheers,
jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
More information about the samba-technical
mailing list