On Tue, 2003-10-14 at 18:43, Kevin Golding wrote:
> How can I get the location of the smb.conf file from the samba module for
> use in my own module please?
You could use code like this :
%sconfig = &foreign_config("samba");
open(SAMBACONF, $sconfig{'smb_conf'});
etc..
However, if your module needs to actually update Samba config file
parameters, a better option may be to foreign-call the functions in
samba-lib.pl directly.
- Jamie
|