> 
> followed by an if elif..
> 
> if [ "$PRINTER_TYPE" = "SMB" ]; then
>     bestpath="$bestpath" | ${FPDIR}smbprint ...
                                    ^^
                       sorry I unintentionally corrected the script the
actual was 
bestpath="$bestpath" | ${FPDIR}/smbdir

but anyway i think i have found where the problem lies. The "smbprint"
script which is called by the above filtering script  "filter"

is not able to parse the values for 

$share $password $hostip etc all of which are kept in
/var/spool/lpd/lp/.config. Moreover this file is world readable and it has
my passwd for NT domain !!!
                              sreangsu

 
 


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to