[Samba] Conversion Error in migration of printer drivers from Windows seven 64 to Samba PDC 3.5.11

ple001 at artic.fr ple001 at artic.fr
Mon Nov 28 06:29:18 MST 2011


I get problem migrating printer drivers from Windows seven 64 bits
workstation  to Samba PDC 3.5.11

The driver works fine on the workstation

The migration command
net -d 4 rpc printer MIGRATE DRIVERS XeroxM24 -S xxx.xxx.xxx.36 -U
'username'

returns the messages:

convert_string_internal: Conversion error: Illegal multibyte sequence
(......)
ndr_push_error(5): Bad character conversion
cannot add driver: DOS code 0xb75c1223

All the driver files are copied on the samba server after the net rpc
command and the size of each is the same between workstation and samba
server.
The driver is not installed in the printing tdb files.

enumdrivers in rpcclient does not list anything.

Is the driver faulty or not supported by Samba ?
What can I do ?


Below is the end of level 4 debugging output of net rcp command.

got printer handle for printer: \\xxx.xxx.xxx.36\XeroxM24, server:
\\xxx.xxx.xxx.36
got 1 printers
migrating printer driver for:   [\\xxx.xxx.xxx.36\XeroxM24] / [XeroxM24]
got printer handle for printer: \\127.0.0.1\XeroxM24, server: \\127.0.0.1
got printer handle for printer: \\xxx.xxx.xxx.36\XeroxM24, server:
\\xxx.xxx.xxx.36
cannot get driver (for architecture: Windows 4.0):
WERR_UNKNOWN_PRINTER_DRIVER
cannot get driver (for architecture: Windows NT x86):
WERR_UNKNOWN_PRINTER_DRIVER
cannot get driver (for architecture: Windows NT x86):
WERR_UNKNOWN_PRINTER_DRIVER
cannot get driver (for architecture: Windows NT R4000):
WERR_INVALID_ENVIRONMENT
cannot get driver (for architecture: Windows NT Alpha_AXP):
WERR_INVALID_ENVIRONMENT
cannot get driver (for architecture: Windows NT PowerPC):
WERR_INVALID_ENVIRONMENT
cannot get driver (for architecture: Windows IA64):
WERR_UNKNOWN_PRINTER_DRIVER
cannot create directory \x64: NT_STATUS_OBJECT_NAME_COLLISION
opening file \x64\3\PSCRIPT5.DLL on originating server
opening file \x64\PSCRIPT5.DLL on destination server
opening file \x64\3\XRCC2EE2.PPD on originating server
opening file \x64\XRCC2EE2.PPD on destination server
opening file \x64\3\PS5UI.DLL on originating server
opening file \x64\PS5UI.DLL on destination server
opening file \x64\3\PSCRIPT.HLP on originating server
opening file \x64\PSCRIPT.HLP on destination server
opening file \x64\3\PSCRIPT.NTF on originating server
opening file \x64\PSCRIPT.NTF on destination server
opening file \x64\3\PS_SCHM.GDL on originating server
opening file \x64\PS_SCHM.GDL on destination server
convert_string_internal: Conversion error: Illegal multibyte sequence
(......)
ndr_push_error(5): Bad character conversion
cannot add driver: DOS code 0xb75c1223
rpc command function failed! (NT_STATUS_UNSUCCESSFUL)
return code = -1


Thank you for your help

LG



More information about the samba mailing list