Hi , i am trying to add a driver to windows using the smbclient and rpc commands [got those from cupsaddsmb -v commands] and i am getting :
smbclient //localhost/print$ -U $PASS -N -c ' mkdir W32X86;put GENERIC.ppd W32X86/GENERIC.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll ' smbclient //localhost/print$ -U $PASS -N -c 'put /usr/share/cups/drivers/cups6.ini W32X86/cups6.ini;put /usr/share/cups/drivers/cupsps6.dll W32X86/cupsps6.dll;put /usr/share/cups/drivers/cupsui6.dll W32X86/cupsui6.dll ' These two lines above work and i can see those files in \\server\print$\W32X86 , but when i try to run rpcclient -U $PASS localhost -N -c ' adddriver "Windows NT x86" "Cups Generic Driver":pscript5.dll:GENERIC.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,GENERIC.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll"' i get either Receiving SMB: Server stopped responding rpc_api_pipe: Remote machine localhost pipe \spoolss fnum 0x7708returned critical error. Error was Call returned zero bytes (EOF) result was DOS code 0x00000026 cli_rpc_pipe_close: cli_close failed on pipe \spoolss, fnum 0x7708 to machine localhost. Error was Call returned zero bytes (EOF) OR WERR_UNKNOWN_PRINTER_DRIVER The strangest part is that i run sucessfully this same command ONCE using just a different "DRIVER LONG NAME" and a different PPD. any ideas ? -- []'s Salatiel "O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente". -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
