Trouble modifying the ldb bindings
Andrew Bartlett
abartlet at samba.org
Sun Jul 27 22:23:27 GMT 2008
On Sun, 2008-07-27 at 13:10 +0200, Jelmer Vernooij wrote:
> 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.
I have upgraded to the right SWIG, and I am rebuilding from the .i
files. So I'm a bit stumped....
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/20080728/9dc3ed85/attachment.bin
More information about the samba-technical
mailing list