"Zimler Attila" <zimler.attila@hlfslinux.hu> wrote in message
news:3FB263AB.20000@hlfslinux.hu...> Hi,
>
> I tried to upgrade samba on a Linux from 2.2.8a to 3.0.0, and after the
> upgrade the printer sharing fails. I would like to participate in the
> search for the bug (if it is a bug), but I don't know how to start.
> If this is not a bug I would like to know why not, and how to work
> around, that the printer does not work with the attached smb.conf, while
> it works with samba version 2.2.8a
>
> Thanks in forward,
> Attila ZIMLER
>
>
>
Well, perhaps it is a bug:
https://bugzilla.samba.org/show_bug.cgi?id=101
From: Jianliang Lu <j.lu@tiesse.com>
To: samba-technical@lists.samba.org
X-OriginatingIP: 151.24.153.138 (lu)
Subject: Browsing problem for printers on Samba3.0 a24.
Reply-To: j.lu@tiesse.com
When a user would add a printer, that was shared on Samba, on his NT
machine,
he cannot find the printers from the shared list. The problem is that the
browsing flag of Samba does not include the SV_TYPE_PRINTQ_SERVER
(0x00000200), so a rap API_NetServerEnum2 (104) was failed to get printer
servers.
I think that we should put the "default_server_announce
|SV_TYPE_PRINTQ_SERVER;" on the routine
"set_default_server_announce_type",
because the "update_server_announce_as_printserver" was called only by
the
smbd, not nmbd, that was responsible for the browsing announcement.
----------------------------------------------------------------------------
----
> [global]
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
> workgroup = NOVUS
> server string = Sol Linux Kiszolgalo
> printcap name = /etc/lprng/printcap
> local master = yes
> domain master = no
> preferred master = yes
> read only = no
> auto services = optra
> security = server
> password server = 192.168.100.254
>
> [optra]
> browseable = yes
> comment = Lexmark Optra R+ Halozati nyomtato
> guest ok = yes
> path = /tmp
> printable = yes
> printing = lprng
> print command = /usr/bin/lpr -r %s
>
----------------------------------------------------------------------------
----
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba