publishing printer to ADS not working

Martin Zielinski mz at seh.de
Tue Jun 24 11:20:41 GMT 2008


Hi Andreas,

Do you have a driver assigned to novapr07?
When I compare my output of the net command to yours, I can see that the 
enumeration of the DSSPOOLER key fails (your 2nd WERR_INVALID_PARAM).
This is very unlikely - except, if you don't have a windows driver bound 
to your queue.

Greetings,

Martin

Andreas Oster schrieb:
> 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?
[...]
> I have also tired with:
> 
> net ads printer publish novapr07 novalx01 -UXXXX -d 3
> 
[...]
> [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


-- 
Martin Zielinski 			mz at seh.de		
Softwareentwicklung			T +49 (0)521 94226 76	

SEH Computertechnik GmbH 		www.seh.de



More information about the samba-technical mailing list