Enable avahi support in samba

Bug #786813 reported by jwm on 2011-05-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Fedora)
Fix Released
Undecided
samba (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: samba

The debian developers disabled avahi support back in 2009:

* ./configure --disable-avahi, to avoid accidentally picking up an avahi
    dependency when libavahi-common-dev is installed.

 -- Steve Langasek <email address hidden> Sat, 26 Sep 2009 00:01:12 -0700

As ubuntu typically installs avahi by default, can this be switched back on to provide a browsing alternative to netbios?

Clint Byrum (clint-fewbar) wrote :

Hi jwm. Thanks for the suggestion. I don't see why not.. marking Confirmed/Wishlist. This should probably be forwarded to Debian as well.

Changed in samba (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Iuri Diniz (iuridiniz) wrote :

But avahi is only default for desktop distro.

Samba (SMBD) is more suitable for file server.

I think is better disable avahi and include on samba package a avahi service file:

<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
   <name replace-wildcards="yes">Samba Shares on %h</name>
   <service>
       <type>_smb._tcp</type>
       <port>139</port>
   </service>
</service-group>

Currently Samba does not enable Avahi integration. We need BR avahi-devel (and --with-avahi?).

I opened a CentOS bug (https://bugs.centos.org/view.php?id=10181), but probably Fedora must decide on this matter first.

This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Changed in samba (Debian):
status: Unknown → New
Changed in samba (Debian):
status: New → Fix Committed
Changed in samba (Debian):
status: Fix Committed → Fix Released

This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Bryan Henry (bryanhenry) wrote :

Luri, a static avahi service file isn't a great solution since you lose any of the dynamic Avahi support in Samba, like for the pending F_FULLSYNC changes: https://github.com/samba-team/samba/pull/64. It would be best to just enable Avahi support, which is what Debian apparently did.

Andreas Hasenack (ahasenack) wrote :

This is fixed in ubuntu artful since 2:4.6.5+dfsg-8ubuntu1 having been added to debian in 2:4.6.5+dfsg-1.

Changed in samba (Ubuntu):
status: Confirmed → Fix Released
Changed in samba (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.