This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] Help on rpcclient setdriver





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Samba] Help on rpcclient setdriver
Renaud.Leroy@i-carre.net

2004-06-30, 7:48 am

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



i did:=20

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: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5K.DLL]
Datafile: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5K.DLL]
Configfile: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5U.DLL]
Helpfile: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5.HLP]
=20

Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5L.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5P.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5C.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5J.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5Q.EXE]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5X.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5S.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5WU.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5WK.DLL]
Dependentfiles: & #91;C:\WINNT\system32\spool\DRIVERS\W32X
86\3\TIGER5Z.EXE]


i try next:

[root@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: =EF=BB=BF
added interface ip=3D172.21.161.10 bcast=3D172.21.161.255 =
nmask=3D255.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) =20











=09

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com