On (30/03/17 22:00), amit kumar wrote:
Hello Lukas,
Thanks for response, yes we have ticket
https://pagure.io/SSSD/sssd/issue/416
But my query was regarding the design *how we parse smb.conf using
ding-lib.*
Here is a desing page which describe ding-libs part.
https://fedorahosted.org/sssd/wiki/DesignDocs/libini-config-file-checks
I hope it is up to date. It also describe two ding-libs native validators
and their schemas in ini format.
There is also possible register another (external) validators.
But I think checking values would be usefull for everyone.
IIRC Michal Zidek (mzidek at redhat dot com) had some ideas
about schema for checking values.
LS
BTW the usage in sssd was quite trivial
https://pagure.io/SSSD/sssd/c/8b2a31634764168183506925a4b9f461afdba6f3
+ providing rules /usr/share/sssd/cfg_rules.ini