[Samba] rpcclient addprinter not working?
Guido Lorenzutti
guido at lorenzutti.com.ar
Fri Aug 11 00:15:00 GMT 2006
Anyone knows how if the rpcclient can do this and how? Any docs to read?
The "addprinter" feature dosen't work.
The "alem-tsii" host is a windows2003 with sp1.
bubu:~# rpcclient alem-tsii -W alem-tsii -U administrador
WARNING: The "printer admin" option is deprecated
Password:
rpcclient $> addprinter test test "CUPS Test Driver v6"
Usage: addprinter <name> <shared name> <driver> <port>
rpcclient $> addprinter test test "CUPS Test Driver v6" 9100
cli_pipe_validate_current_pdu: RPC fault code NT code 0x000006f7
received from remote machine alem-tsii pipe \spoolss fnum 0x4009!
result was DOS code 0x000006f7
rpcclient $> addprinter test test "SOMETHING" 9100
cli_pipe_validate_current_pdu: RPC fault code NT code 0x000006f7
received from remote machine alem-tsii pipe \spoolss fnum 0x4009!
result was DOS code 0x000006f7
rpcclient $>
More information about the samba
mailing list