Skip to content

Import configuration with libsmbconf API #46

@phlogistonjohn

Description

@phlogistonjohn

Currently, when sambacc imports samba configuration from it's own JSON based fomat it uses the net conf import command line. Future versions of Samba will have a python binding for the smbconf library. This library can be used to read a text based config (smb.conf) or read/write registry based configuration. This would allow us to use the library directly rather than generating a text based configuration and shelling out to net command to update the registry.

It may also make post-init configuration updates simpler and easier to see exactly what is changing.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions