example [add|delete] share command

Gerald Carter gcarter at valinux.com
Fri May 4 16:37:00 GMT 2001


FYI...

I just checked in a perl script that is a rought example of an
'add|delete share command'.  See examples/misc/modify_smb_conf.pl.

Hint: it parses smb.conf into a hash of hashes and so could easily be made
into a 'add|delete printer command' :-)

Enjoy.




Cheers, jerry

----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-ntdom mailing list