xml configuration for samba
thomas.schachner at siemens.com
Thu Jan 5 15:17:28 GMT 2006
I have done a patch which enables you to
have a xml style configuration for samba.
It was motivated to see if this could be done.
So it works but the xml tree code is ad hoc format,
also it uses a dom aproach now, i also work on an sax
Also a tool conf2xml is included which enables you
to convert your conf file to an xml config file.
One thing which isn't implemented yet is to save
user comments from # Something to <UserComment>Something</UserComment>
You can then edit your samba config with an XML Editor.
I haven't done any speed comparison, this would be interessting.
The patch is against samba-3.0.21rc1.
You also need libxml2 installed.
Under source is a config.sh which you can edit to your needs, my
settings are for gobo linux so do not be surprised.
Have a nice play.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 80442 bytes
Url : http://lists.samba.org/archive/samba-technical/attachments/20060105/2bdc4db0/samba-xml-patch.bin
More information about the samba-technical