publishing printer to ADS not working

Andreas Oster aoster at novanetwork.de
Tue Jun 24 09:52:08 GMT 2008


Hello Karolin,

thank you for your response, but unfortunately this does not work.

net ads printer publish novalx01 novapr07 -Uxxxxxx -d 3


If I enter the command the way you proposed "net" tries to connect
to host novapr07 which is not available

<--snip

[2008/06/24 11:44:00, 3] libsmb/cliconnect.c:cli_start_connection(1556)
  Connecting to host=novapr07
[2008/06/24 11:44:00, 3] lib/util_sock.c:open_socket_out(874)
  Connecting to 10.2.1.13 at port 445
[2008/06/24 11:44:00, 2] lib/util_sock.c:open_socket_out(911)
  error connecting to 10.2.1.13:445 (Verbindungsaufbau abgelehnt)
[2008/06/24 11:44:00, 3] lib/util_sock.c:open_socket_out(874)
  Connecting to 10.2.1.13 at port 139
[2008/06/24 11:44:00, 2] lib/util_sock.c:open_socket_out(911)
  error connecting to 10.2.1.13:139 (Verbindungsaufbau abgelehnt)
[2008/06/24 11:44:00, 1] libsmb/cliconnect.c:cli_connect(1498)
  Error connecting to 10.2.1.13 (Verbindungsaufbau abgelehnt)
[2008/06/24 11:44:00, 1] libsmb/cliconnect.c:cli_start_connection(1561)
  cli_start_connection: failed to connect to NOVAPR07<20> (10.2.1.13). 
Error NT_STATUS_CONNECTION_REFUSED
Unable to open a connnection to novapr07 to obtain data for novalx01
[2008/06/24 11:44:00, 2] utils/net.c:main(1046)
  return code = -1

snip-->

kind regards

Andreas


Karolin Seeger schrieb:
> Hello Andreas,
>
> On Tue, Jun 24, 2008 at 11:03:33AM +0200, Andreas Oster wrote:
>   
>> libads/ldap_printer.c:get_remote_printer_publishing_data(304)
>>    Unable to open printer \\NOVALX01\novalx07, error is
>> WERR_INVALID_PRINTER_NAME.
>> [2008/06/23 10:12:44, 2] utils/net.c:main(1046)
>>    return code = -1
>>     
>
> I guess that the server name is not NOVALX01, right?
>
> Please try the following command:
>
> 	net ads printer publish <server name> novapr07 -UXXXX
>
> Does that work for you?
>
> Karolin
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080624/64d3f311/signature.bin


More information about the samba-technical mailing list