[Samba] Re: Upgrade from 2.2.8a to 3.0.0 fails

Stephen Harris cyberdiction at hotmail.com
Wed Nov 12 22:35:45 GMT 2003


"Zimler Attila" <zimler.attila at hlfslinux.hu> wrote in message
news:3FB263AB.20000 at 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 at tiesse.com>
To: samba-technical at lists.samba.org
X-OriginatingIP: 151.24.153.138 (lu)
Subject: Browsing problem for printers on Samba3.0 a24.
Reply-To: j.lu at 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






More information about the samba mailing list