publishing printer to ADS not working

Andreas Oster aoster at novanetwork.de
Tue Jun 24 11:44:41 GMT 2008


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
>
>
-------------- 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/8fe6a100/signature.bin


More information about the samba-technical mailing list