Is selftest the best framework for writing permissions and Privileges regression tests?

Richard Sharpe realrichardsharpe at
Tue Mar 6 16:04:14 MST 2012

2012/3/6 Jelmer Vernooij <jelmer at>:
>> b. Does the Python infrastructure have the ability to allow me to
>> create SDs, apply them, grant privilege etc?
> Assuming you want to do this over SMB (rather than testing our local
> code that can write these to xattrs, etc) you should have a look at the
> "samba.smb" module. You might have to extend it to expose all the
> functionality you need, though.

Yes, that is what I want to do, so thanks ... I will have a look.

Richard Sharpe

More information about the samba-technical mailing list