literal '%' in smb.conf

Andrew Bartlett abartlet at samba.org
Thu Mar 8 02:33:53 GMT 2007


On Thu, 2007-03-08 at 12:28 +1100, Alison Winters wrote:
> Hi guys,
> 
> I've been looking at the alloc_sub_basic() case statement in
> source/lib/substitute.c and i can't see a way to insert a literal '%'.
> I think this means that if you have a '%' followed by a 'U' you will
> always get a username substitution regardless of if it was desired or
> not.  Would it make sense to add a facility to do literal '%' characters
> in the config file?  I wonder because characters like '%' are valid
> characters for AD logon names, filenames etc.

Doesn't %% work?

-- 
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/20070308/b1e48ce7/attachment.bin


More information about the samba-technical mailing list