This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] Help on " rpcclient3 adddriver "





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 " rpcclient3 adddriver "
Renaud.Leroy@i-carre.net

2004-06-30, 7:48 am


I've a more 'normal' error, first error posted was due to a bad IP :/


now when i do:

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... :


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
result was DOS code 0x00000013 <------------------wtf it is 0_0








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


--
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