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


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

Reply via email to