Bug 5014 - join samba 3.0.26a to a Windows 2003 R2 SP2 domain - error
Summary: join samba 3.0.26a to a Windows 2003 R2 SP2 domain - error
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.26a
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-10-08 04:42 UTC by Alexander
Modified: 2020-12-15 17:48 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2007-10-08 04:42:54 UTC
I have a problem joining samba 3.0.26a to ADS on Windows 2003 R2 SP2.
Issuing the same procedure with a clean Windows 2003 Server Service Pack 1 install I can join my linux box without any problem. The problem appears only on Win2003 server with all modern updates installed. Kerberos authentication seems to work correctly and linux box receives a ticket:
# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@TERMINAL.B2MOTOR.RU

Valid starting     Expires            Service principal
10/08/07 12:28:59  10/08/07 22:30:09  krbtgt/TERMINAL.B2MOTOR.RU@TERMINAL.B2MOTOR.RU
        renew until 10/09/07 12:28:59

Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

Though when I try to join samba in AD domain I got the following message on stdout:
[2007/10/08 12:31:58, 0] libsmb/smb_signing.c:signing_good(253)
  signing_good: BAD SIG: seq 1
[2007/10/08 12:31:58, 0] libsmb/clientgen.c:cli_receive_smb(140)
  SMB Signature verification failed on incoming packet!
[2007/10/08 12:31:58, 0] libsmb/cliconnect.c:cli_session_setup_blob(586)
  cli_session_setup_blob: recieve failed (NT_STATUS_INVALID_PARAMETER)
Failed to join domain: Invalid parameter

Here is my smb.conf:
	dos charset = cp866
	unix charset = koi8-r
	display charset = koi8-r
	workgroup = TERMSRV
	server string = Proxy Linux
	security = ADS
	auth methods = winbind
	password server = terminal.terminal.b2motor.ru
	passdb backend = tdbsam
	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY
	preferred master = No
	local master = No
	domain master = No
	dns proxy = No
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	winbind separator = +
	winbind enum users = Yes
	winbind enum groups = Yes
	winbind use default domain = Yes
	cups options = raw
	case sensitive = No
Comment 1 Derrell Lipman 2007-10-08 07:46:29 UTC
Changed component.  Not a libsmbclient-specific issue.
Comment 2 Jorge Escala 2007-12-05 12:31:32 UTC
We experienced the same problem after updating to RHEL 4 Update 6 with Samba 3.0.25b. We are using Windows 2003 SP2 domain controllers. Downgrading Samba to 3.0.10-1.4E.12.2 cleared up the problem.
Comment 3 Björn Jacke 2020-12-15 17:48:59 UTC
a good compile of a recent samba version has no generic issue with domain joins