SCO Funnies
Mark Whitelaw
mwhitelw at meditel.co.uk
Wed Mar 3 13:45:46 GMT 1999
I have come across two SCO funnies recently, they may help someone out.
###############
Local Printers not showing in the browse list :
I have achieved this by changing /usr/local/samba/source/include/config.h -
and specifying System V compliance
#define SYSV 1
############
Network printers (those in /etc/printcap) show twice in the browse list,
once with a strange symbol at the end of line because it is using : as field
separator and reading CR as part of the name:
Line 52 of 135 in /usr/local/samba/source/printing/print_svid.c - Added
|grep \":\"
if ((fp = popen("/usr/bin/lpstat -v|grep \":\" ", "r")) != NULL) {
Mark Whitelaw
mwhitelaw at meditel.co.uk
http://prodigy1/~mwhitelw
Some mornings, it's just not worth chewing through the leather straps.- Emo
Phillips
More information about the samba
mailing list