[Samba] Help on rpcclient setdriver

Renaud.Leroy at i-carre.net Renaud.Leroy at i-carre.net
Wed Jun 30 09:11:56 GMT 2004


I want to install a driver on a print server, i'm looking at this doc:
http://us1.samba.org/samba/docs/man/howto/CUPS-printing.html#id2563056



i did: 

root#rpcclient3 -U'adm%passwd' NT-SERVER -c 'getdriver printer 3'

[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [SHARP AR-M350U PCL5e]
Architecture: [Windows NT x86]
Driver Path: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Datafile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Configfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5U.DLL]
Helpfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5.HLP]
 

Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5L.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5P.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5C.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5J.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Q.EXE]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5X.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5S.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WU.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WK.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Z.EXE]


i try next:

[root at IMP-L]#rpcclient3 -Uadm%passwd -c 'adddriver "Windows NT x86" \
"SHARP AR-M350U PCL5e:tiger5k.dll: \
tiger5k.dll:tiger5u.dll:tiger5.hlp:   \
NULL:RAW:tiger5l.dll,tiger5p.dll,          \
tiger5c.dll,tiger5j.dll,tiger5q.exe,   \
tiger5x.dll,tiger5s.dll,tiger5wu.dll, \
tiger5wk.dll,tiger5z.exe"' \
172.21.161.10


i've got an error:

params.c:Parameter() - Ignoring badly formed line in configuration file: 
added interface ip=172.21.161.10 bcast=172.21.161.255 nmask=255.255.254.0
error connecting to 172.21.160.10:445 (No route to host)
error connecting to 172.21.160.10:139 (No route to host)
Error connecting to 172.21.160.10 (No route to host)
cli_full_connection: failed to connect to 172.21.160.10<20> (172.21.160.10)
Cannot connect to server.  Error was NT_STATUS_UNSUCCESSFUL


i though printer wasn't recognise.. but not  :/

rpcclient3 -Uadm%passwd  172.21.160.13 -c 'enumprinters' | grep -i 'printer'
name:[\\172.21.160.13\PRINTER]
description:[\\172.21.160.13\PRINTER,SHARP AR-M350U PCL5e,...]





What's wrong ?  please (except me)  











	



More information about the samba mailing list