[Samba] rpcclient and WERR_INVALID_PRINTER_NAME

christian.loew at steyr-ssf.com christian.loew at steyr-ssf.com
Sat Feb 28 08:23:56 GMT 2004


Hi,


I'm trying to set up a samba-cups-pdf-printserver.
samba itself is running fine, but when i try to add the cups printer-drivers 
for windows i got the following error:

System: 
  Debian/sarge with 2.4.20 i686 GNU/Linux
  samba 3.0.2-2
  cupsys 1.1.20final-13
  Windows-driver from cups-samba-5.0rc1.tar

ssflx01_v2:~# cupsaddsmb -a -v -U uuuu
 Password for uuuu required to access localhost via SAMBA:
 Running command: smbclient //localhost/print\$ -N -U'uuu%xxxx'
 -c 'mkdir W32X86;
 put /var/spool/cups/tmp/40404c740a656 W32X86/SSFP102.ppd;
 put /usr/share/cups/drivers/cupsdrv5.dll W32X86/cupsdrv5.dll;
 put /usr/share/cups/drivers/cupsui5.dll W32X86/cupsui5.dll;
 put /usr/share/cups/drivers/cups5.hlp W32X86/cups5.hlp'
 Domain=[STEYR-SSF] OS=[Unix] Server=[Samba 3.0.2-Debian]
 NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
 putting file /var/spool/cups/tmp/40404c740a656 as \W32X86/SSFP102.ppd
 putting file /usr/share/cups/drivers/cupsdrv5.dll as \W32X86/cupsdrv5.dll
 putting file /usr/share/cups/drivers/cupsui5.dll as \W32X86/cupsui5.dll
 putting file /usr/share/cups/drivers/cups5.hlp as \W32X86/cups5.hlp
 
 Running command: rpcclient localhost -N -U'uuuu%xxxx' 
 -c 'adddriver "Windows NT x86"
 "SSFP102:cupsdrv5.dll:SSFP102.ppd:cupsui5.dll:cups5.hlp:NULL:RAW:NULL"'
 Printer Driver SSFP102 successfully installed.
 
 Running command: rpcclient localhost -N -U'uuuu%xxxx' 
 -c 'setdriver SSFP102 SSFP102'
 result was WERR_INVALID_PRINTER_NAME


tdbdump ntdrivers.tdb shows that the drivers are installed

searching on google doesn't show any solution :-(


any hints?


Chris


More information about the samba mailing list