This is a discussion on Samba4 Configuration - Samba ; This is a multi-part message in MIME format. --------------000203000402080007090603 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit It seems to me that using ldb would only be reinventing the wheel. XML is a well recognized standard, human readable and editable, easily extendable ...
This is a multi-part message in MIME format.
--------------000203000402080007090603
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
It seems to me that using ldb would only be reinventing the wheel. XML
is a well recognized standard, human readable and editable, easily
extendable for modules, and already contains the tree-like structure
that the smb.conf file should inherintly contain.
I wrote a quick DTD and smb.conf file using XML. It is by no means
complete, but it should prove my point of simplicity.
--------------000203000402080007090603
Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0";
name="smb.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="smb.conf"
Guest
lo0
eth0
127.0.0.0/8
192.168.1.0/24
eth1
0.0.0.0/0
Users' Home Directory
/users/%u
Share for Administrators Only
/demoshare/
Administrators
demouser
Guest
--------------000203000402080007090603--