samba 4 smb.conf substitutions

Andrew Bartlett abartlet at samba.org
Thu Jan 3 23:12:36 GMT 2008


On Thu, 2008-01-03 at 13:42 +0000, Amin Azez wrote:
> Are % substitutions going away in Samba 4 or is it something I can start
> fixing now?
> 
> In loadparm.c:
> 
> #define standard_sub_basic talloc_strdup
> 
> means that lines like:
> 
>   include         = /usr/local/samba/etc/server-%i.conf
> 
> results in smbd complaining:
>   Can't find include file /usr/local/samba/etc/server-%i.conf
> 
> Home directories seem to use string_sub_talloc and only %H is expanded
> 
> Whats the plans?

Yes, they need to be re-introduced.  The challenge is that Samba is no
longer one process per connection.  However, Jelmer's work to avoid
using a global variable for parameters could allow this to be done
correctly, for at least some of the basic subs. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080104/8bec4251/attachment.bin


More information about the samba-technical mailing list