Setting "winbind separator" to '\' in smb.conf

simo idra at samba.org
Sun Apr 29 16:36:08 GMT 2007


On Sun, 2007-04-29 at 13:01 +0200, Johann Hanne wrote:
> Hi,
> 
> there is currently no obvious way to explicitly set the winbind separator to 
> '\' in smb.conf. Even worse, the default given in the man page of smb.conf is 
> wrong:
> 
> winbind separator = '\'
> 
> This will actually set the separator to a single quote ('). Similarly,
> 
> winbind separator = "\"
> 
> will set it to a double quote ("). People may also think that
> 
> winbind separator = \\
> 
> works. And yes, the separator will be \ indeed, but the next line in the 
> config file will have no effect, because it's taken as continuation of the 
> winbind separator line.
> 
> One way that works is
> 
> winbind separator = \garbage
> 
> but imho this is not really obvious.
> 
> Thus, this should either either be fixed so that '\' and "\" both work as 
> expected, or the problem should be described in the man page!
> 
> Comments, please?

Have you tried: winbind separator = "\\" ?
However, being it the default, all you need to do is to remove the
parameter :)

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list