I need a c library that provides functions to edit/manage Samba configuration file on a linux platform. Samba configuration information typically resides in /etc/samba/smb.conf. When you edit this file using a text editor and save it, the changes take effect immediately, you don't have to restart or reload the samba daemon. What we basically need is a bunch of function calls packaged as a static library (lets call it libsmbconfig.a) that will allow for adding/deleting shares, adding/deleting users, setting permissions etc. There are some perl based libraries available that do similar stuff. If you look at the samba module for webmin, you will see a perl based module that allows for programmtically editing the [login to view URL] file. You can look at the source to get some ideas. I have attached a sample perl library to give you some ideas. I have changed the crlf on this file so you can view it in notepad in windows if you desire. The library must be deliverd with a simple command line driver program and a make file to compile both the library and the sample driver program on a standard linux platform.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
## Platform
Linux