publishing printer to ADS not working

Martin Zielinski mz at seh.de
Tue Jun 24 13:42:23 GMT 2008


Hi,

Dunno. Others will be better candidates to answere this.
I allways thought that this is intended behaviour.

But the point is, that when you assign a driver, the registry key will 
be generated (and I think this is related to several driver properties). 
Then you should be able to publish your printer in ADS.

Bye,

Martin

Andreas Oster schrieb:
> Hello Martin,
> 
> now I am a little confused. Why do I have to install
> Windows drivers in order to publish the printer ?
> 
> With an earlier version of samba (i don´t know
> which version it was) the publishing worked and
> I had definitely no drivers assigned to the queue.
> 
> kind regards
> 
> Andreas
> 
> 
> Martin Zielinski schrieb:
>> 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