#709099 %S substitution no longer works for default service.

Package:
samba
Source:
samba
Description:
SMB/CIFS file, print, and login server for Unix
Submitter:
William Thompson
Date:
2013-10-22 20:30:13 UTC
Severity:
normal
#709099#5
Date:
2013-05-20 19:36:29 UTC
From:
To:
I copied the smb.conf from the old machine had 3.5.15 and worked fine.

Here's the snippit from my config

[global]
	default service = defcdserv

[defcdserv]
	writeable = no
	browseable = no
	locking = no
	path = /cdserv/mount/%S
	public = yes
	preexec = /usr/local/sbin/mount-cdserv.sh "%S"
	postexec = /usr/local/sbin/umount-cdserv.sh "%S"

Before, %S would get replaced by the service that the user typed in.  Now, %S
is always replaced by "defcdserv".  This essentially breaks the use of
"default service"

Seems someone has reported this same issue to samba's bug track.
https://bugzilla.samba.org/show_bug.cgi?id=8935

#709099#12
Date:
2013-05-21 05:03:18 UTC
From:
To:
Quoting William Thompson (wt@electro-mechanical.com):

Hello William,

In such case, it seems that reporting *also* in Debian BTS is mostly
pointless (unless you really want to report all upstream bugs). I
understand this issue is hurting your setup, certainly but, well,
apart from linking the issue to the one reported upstream, I don't see
what additionnal input can be expected from having it too in Debian
BTS.

Anyway, I linked the bug to the upstream bug (thanks for pointing us
to it) which is basically the only thing we can do, here.

Thanks for your concern in Debian packages for samba.