Bug 439073 - net ads join failure when using winbind separator = .
net ads join failure when using winbind separator = .
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: samba (Show other bugs)
i686 Linux
low Severity medium
: rc
: ---
Assigned To: Guenther Deschner
Depends On:
  Show dependency treegraph
Reported: 2008-03-26 16:10 EDT by Mark Christian
Modified: 2010-05-10 10:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-05-10 10:46:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mark Christian 2008-03-26 16:10:17 EDT
Description of problem:
when using "winbind separator = ." in /etc/samba/smb.conf (security = ADS) and
attempting "net ads join"

The following error occurs, on occassion (seems to happen mostly when Windows
Domain Controllers) are on separate subnet over a WAN connection)

Failed to join domain: Improperly formed account name

workaround is to use "\" or possibly any other separator besides "." in
/etc/samba/smb.conf, e.g. "winbind separator = \"

issue "net ads join" and then edit /etc/samba/smb.conf to put back the "."
separator and restart winbind.  -- error only occurs at initial ads join.

Version-Release number of selected component (if applicable): I've seen this
behavior sporadically over the last few years.

How reproducible: occurs only occassionally, mostly when I attempt to join a
host in a remote location, with the nearest MS Domain Controller on a different
subnet), but I would not swear that that is always the case.

Steps to Reproduce:
1.include " winbind separator = ." in /etc/samba/smb.conf , using security = ADS
2.config /etc/krb5.conf appropriately
3.run "net ads join"
Actual results:
Failed to join domain: Improperly formed account name (I beleive its appending a
"." to the hostname on join.

Expected results:
Joined 'HOSTNAME' to realm 'SOME.DOMAIN.COM'

Additional info:
Comment 1 Dmitri Pal 2010-05-10 10:46:05 EDT
Do not use "." in this context.217662

Note You need to log in before you can comment on or make changes to this bug.