Bug 8693 - winbind separator = \ yields "ERROR: the 'winbind separator' parameter must be a single character."
Summary: winbind separator = \ yields "ERROR: the 'winbind separator' parameter must b...
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.5.4
Hardware: s390 Linux
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 01:37 UTC by Emmett O'Grady
Modified: 2013-02-18 15:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmett O'Grady 2012-01-10 01:37:48 UTC
ERROR: the 'winbind separator' parameter must be a single character.

I had the Samba2 packages running fine on s390x for several years.

I was then unable to authenticate after the upgrade of AD servers.

Our windows AD servers in Germany were just upgraded to 2008 server. Everything ceased to work. After reading i found that I needed the Samba3 packages.

I then installed RedHat's 
samba3x-winbind-3.5.4-0.83.el5_7.2
samba3x-3.5.4-0.83.el5_7.2
samba3x-client-3.5.4-0.83.el5_7.2
samba3x-common-3.5.4-0.83.el5_7.2
packages and it still didn't work.

If the following line is in the smb.conf I cannot authenticate.

I could successfully perform a 'getent passwd' etc.

I ran a 'testparm /etc/samba/smb.conf' and I saw a message:
ERROR: the 'winbind separator' parameter must be a single character.

I read in someone else's post that this is the default parameter. So when I commented it out I was then able to connect after recycling the services.

I have not found this "error" message on the website so I decided to add it because I have lost several days trying to figure this out.

You folks are doing a great job!!

Regards,

Emmett O'Grady

if you need more info please let me know - ogradye@mbusa.com
Comment 1 Emmett O'Grady 2012-01-10 01:39:53 UTC
If the following line is in the smb.conf I cannot authenticate.

winbind separator = \   <<<<<< Sorry! I left it out


I commented it and I was fine
Comment 2 Karolin Seeger 2012-01-10 20:31:35 UTC
Yes, that's due to the escape character thing.

winbind separator = \\

works fine.

winbind separator = "\"
leads to the error message.
Even the example from the manpage (winbind separator = ´\´) leads to the same message.
Volker (or anyone else), does it make sense/is it possible to make the quoted versions work?

(Everythings works fine, because the default value is "\" in this case, but the error message might be confusing. There are certainly some administrators who explicitly list those parameters for obviousness.)

Cheers,
Karolin
Comment 3 Björn Jacke 2013-02-18 15:12:38 UTC
"\" is broken and cannot work. \ must be written by \\