publishing printer to ADS not working

Andreas Oster aoster at novanetwork.de
Tue Jun 24 10:02:55 GMT 2008


Karolin Seeger schrieb:
> On Tue, Jun 24, 2008 at 11:41:59AM +0200, Karolin Seeger wrote:
>> 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
> 
> Sorry, just the other way around:
> 	net ads printer publish novapr07 <server name> -UXXXX 
> 
>> Does that work for you?
> 
> Karolin
> 
Hello Karolin

I have also tired with:

net ads printer publish novapr07 novalx01 -UXXXX -d 3

but it does not seem to work, now I get following error:

<--snip

[2008/06/24 11:59:58, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(528)
   ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] 
expiration Di, 24 Jun 2008 21:59:59 CEST
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_start_connection(1556)
   Connecting to host=novalx01
[2008/06/24 11:59:58, 3] lib/util_sock.c:open_socket_out(874)
   Connecting to 10.2.1.5 at port 445
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_session_setup_spnego(795)
   Doing spnego session setup (blob length=121)
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_session_setup_spnego(820)
   got OID=1 2 840 113554 1 2 2
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_session_setup_spnego(820)
   got OID=1 2 840 48018 1 2 2
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_session_setup_spnego(820)
   got OID=1 3 6 1 4 1 311 2 2 10
[2008/06/24 11:59:58, 3] libsmb/cliconnect.c:cli_session_setup_spnego(828)
   got principal=cifs/novalx01.novanetwork.loc at NOVANETWORK.LOC
[2008/06/24 11:59:58, 2] libsmb/cliconnect.c:cli_session_setup_kerberos(615)
   Doing kerberos session setup
[2008/06/24 11:59:58, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(528)
   ads_cleanup_expired_creds: Ticket in ccache[MEMORY:cliconnect] 
expiration Di, 24 Jun 2008 21:59:59 CEST
[2008/06/24 12:00:02, 3] rpc_client/cli_pipe.c:rpc_pipe_bind(2082)
   rpc_pipe_bind: Remote machine novalx01 pipe \spoolss fnum 0x72b0 bind 
request returned ok.
[2008/06/24 12:00:02, 3] 
libads/ldap_printer.c:get_remote_printer_publishing_data(315)
   Unable to do enumdataex on \\novalx01\novapr07, error is 
WERR_INVALID_PARAM.
[2008/06/24 12:00:02, 3] 
libads/ldap_printer.c:get_remote_printer_publishing_data(332)
   Unable to do enumdataex on \\novalx01\novapr07, error is 
WERR_INVALID_PARAM.
[2008/06/24 12:00:02, 2] utils/net.c:main(1046)
   return code = -1


snip-->


kind regards

Andreas


More information about the samba-technical mailing list