[Samba] samba print server and windows driver snmp request
cyril at toile-libre.org
cyril at toile-libre.org
Thu Jul 31 13:16:43 MDT 2014
Hi,
this method has answered my question
In the smb.conf global section use
enumports command = /var/scripts/listports.sh
create the script /var/scripts/listports.sh and make it executable :
#!/bin/bash
echo "printer1"
echo "printer2"
echo "printer3"
Now, It's possible to use the printer hostname or ip address
Now, samba don't just show the only one Samba local port for all the
printer and i can associate one printer to one port.
Now the SNMP query of the windows driver now can have an anwser from
the printer.
:)
Cyril
Le 2014-07-20 18:59, cyril at toile-libre.org a écrit :
> Hi,
>
> A traffic analysis show that the windows client driver try to send
> snmp request to the samba server ip address but these snmp packets
> are
> not routed to the printers.
>
> A windows print server use a standard tcp ip port with an otpion to
> use snmp.
> Is there a way to enable snmp on the samba printer port and make the
> windows printer driver can communicate with the printers ?
>
> Thanks
> Cyril
>
>
>
>
> Le 2014-07-15 15:55, cyril at toile-libre.org a écrit :
>> Hi,
>>
>> I try a samba print server like it's explain on the wiki
>>
>> https://wiki.samba.org/index.php/Samba_as_a_print_server
>>
>> It's work fine for many printers but some windows drivers try to
>> make
>> SNMP request towards the printer.
>>
>> Is there a way to route the SNMP request between the windows driver
>> and the printer through Samba and Cups ?
>>
>> Thanks
>> Cyril
More information about the samba
mailing list