Gerald Carter gcarter at
Wed Nov 22 21:35:41 GMT 2000

Jeremy, JF, 

I've got a little problem with the latest SAMBA_2_2 code
(exists in HEAD as well).  The problem has to do the 
get_correct_cversion() call.  

[root at queso]$ spooladdprinterdriver "Windows NT x86" "HP LaserJet \

The filename being passed into get_correct_cversion() 
is W32X86/PSCRIPT.DLL.  The problem is that with 
'short preserve case = no' and 'default case = lower'
this fails to open the file because the filename is actually

What needs to happen is 

  o either we convert to the filename in the open call
    to the right one based on the defaults.  Maybe a parameter
    matrix can do this (haven't fully thought it out)

  o we try the open multiple times until we can be assured 
    the file doesn't exist.

I would prefer the first solution if we can get it right.

Cheers, jerry
   /\  Gerald (Jerry) Carter                     Professional Services
 \/  VA Linux Systems   gcarter at       SAMBA Team          jerry at                     jerry at

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

More information about the samba-technical mailing list