Completly separated from the other thread I have a minor question about the "winbind separator" configuration. If I want to use the \ as a separator (and I do), how should this be reflected in smb.conf? The only thing which came to my mind and worked is quoting the backslash with another one: | winbind separator = \\ Only trouble is that testparm(1) returns: | ERROR: the 'winbind separator' parameter must be a single character. I would happily ignore this, however the Debian package configurator relies on testparm(1) to succeed. This leads updates failing as soon as samba is included in the package list (and having to change smb.conf back and forth in order to succeed). Bye, Stefan -- Egal ob Richter oder Dichter - wiegen mit Stefan! Sloganizer, https://www.poetron-zone.de/
On 23/06/2019 13:21, Stefan Froehlich via samba wrote:> Completly separated from the other thread I have a minor question > about the "winbind separator" configuration. If I want to use the \ > as a separator (and I do), how should this be reflected in smb.conf? > The only thing which came to my mind and worked is quoting the > backslash with another one: > > | winbind separator = \\ >Do you mean something like this: getent passwd rowland SAMDOM\rowland:*:10000:10000::/home/rowland:/bin/bash If so, that's easy, as '\' is the default, remove the 'winbind separator' line from smb.conf ;-) Rowland