Bug 5145 - error while join samba 4 computer to w2k3 domain
Summary: error while join samba 4 computer to w2k3 domain
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 23:04 UTC by Alexander Varfolomeev
Modified: 2008-06-02 14:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Varfolomeev 2007-12-14 23:04:59 UTC
./net join shintop.ltd BDC -U shintop.ltd/administrator
Processing section "[netlogon]"
Processing section "[sysvol]"
adding hidden service IPC$
adding hidden service ADMIN$
failed to get principal from default ccache: No such file or directory: open(/tmp/krb5cc_0): No such file or directory
GENSEC backend 'sasl-DIGEST-MD5' registered
AUTH backend 'winbind_samba3' registered
AUTH backend 'winbind' registered
AUTH backend 'name_to_ntstatus' registered
AUTH backend 'fixed_challenge' registered
AUTH backend 'unix' registered
AUTH backend 'anonymous' registered
AUTH backend 'sam' registered
AUTH backend 'sam_ignoredomain' registered
GENSEC backend 'krb5' registered
gensec subsystem fake_gssapi_krb5 is disabled
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
gensec subsystem gssapi_spnego is disabled
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'ntlmssp' registered
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
ndr_push_error(16): NULL [ref] pointer
Mapped to DCERPC endpoint \pipe\lsarpc
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Password for [SHINTOP.LTD\administrator]:
Received smb_krb5 packet of length 148
added interface ip=172.16.140.100 nmask=255.255.255.0
Received smb_krb5 packet of length 1210
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 11 in pid 702 (4.0.0alpha3-SVN-build-26458)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PANIC: internal error
BACKTRACE: 37 stack frames:
 #0 ./net(call_backtrace+0x27) [0x8413bbb]
 #1 ./net(smb_panic+0x1f8) [0x8413e5a]
 #2 ./net [0x8413f97]
 #3 ./net [0x8413fdd]
 #4 [0xffffe420]
 #5 ./net [0x8193bc2]
 #6 ./net(_gsskrb5_init_sec_context+0x1bf) [0x819422f]
 #7 ./net(gss_init_sec_context+0x1b1) [0x81881a0]
 #8 ./net [0x816300f]
 #9 ./net(gensec_update+0x2a) [0x815a631]
 #10 ./net [0x815f906]
 #11 ./net [0x816081c]
 #12 ./net(gensec_update+0x2a) [0x815a631]
 #13 ./net [0x814be5a]
 #14 ./net(smb_composite_sesssetup_send+0x169) [0x814c18a]
 #15 ./net [0x814a2cc]
 #16 ./net [0x814a7f3]
 #17 ./net [0x814a8e2]
 #18 ./net [0x8151114]
 #19 ./net(packet_recv+0x5ef) [0x83b2d1c]
 #20 ./net [0x81500ab]
 #21 ./net [0x8401091]
 #22 ./net [0x840182d]
 #23 ./net(event_loop_once+0x16) [0x84007da]
 #24 ./net(composite_wait+0x42) [0x83fff26]
 #25 ./net [0x809f344]
 #26 ./net(libnet_RpcConnect_recv+0x98) [0x809f626]
 #27 ./net(libnet_RpcConnect+0x45) [0x809f6b7]
 #28 ./net(libnet_JoinDomain+0x191) [0x80a08a6]
 #29 ./net [0x80a1aff]
 #30 ./net(libnet_Join+0x5b) [0x80a2591]
 #31 ./net [0x809aef1]
 #32 ./net [0x809a19e]
 #33 ./net [0x809a61a]
 #34 ./net [0x809a6a4]
 #35 /lib/libc.so.6(__libc_start_main+0xd8) [0xb7d59df8]
 #36 ./net [0x809a061]
Comment 1 Alexander Varfolomeev 2007-12-14 23:25:11 UTC
another error

root@dc:/usr/local/samba/bin# ./net join shintop.ltd BDC -U shintop.ltd/administrator
Processing section "[netlogon]"
Processing section "[sysvol]"
adding hidden service IPC$
adding hidden service ADMIN$
failed to get principal from default ccache: No such file or directory: open(/tmp/krb5cc_0): No such file or directory
GENSEC backend 'sasl-DIGEST-MD5' registered
AUTH backend 'winbind_samba3' registered
AUTH backend 'winbind' registered
AUTH backend 'name_to_ntstatus' registered
AUTH backend 'fixed_challenge' registered
AUTH backend 'unix' registered
AUTH backend 'anonymous' registered
AUTH backend 'sam' registered
AUTH backend 'sam_ignoredomain' registered
GENSEC backend 'krb5' registered
gensec subsystem fake_gssapi_krb5 is disabled
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
gensec subsystem gssapi_spnego is disabled
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'ntlmssp' registered
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
ndr_push_error(16): NULL [ref] pointer
Mapped to DCERPC endpoint \pipe\lsarpc
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Password for [SHINTOP.LTD\administrator]:
Received smb_krb5 packet of length 148
Received smb_krb5 packet of length 1252
added interface ip=172.16.140.100 nmask=255.255.255.0
Received smb_krb5 packet of length 1210
Received smb_krb5 packet of length 94
Mapped to DCERPC endpoint 135
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Mapped to DCERPC endpoint 1025
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Received smb_krb5 packet of length 1210
Received smb_krb5 packet of length 94
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Received smb_krb5 packet of length 94
ldb: No modules specified for this database
added interface ip=172.16.140.100 nmask=255.255.255.0
added interface ip=172.16.140.100 nmask=255.255.255.0
Received cldap packet of length 170 from 172.16.140.200:389
We still need to perform a DsAddEntry() so that we can create the CN=NTDS Settings container.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INTERNAL ERROR: Signal 11 in pid 3023 (4.0.0alpha3-SVN-build-26458)
Please read the file BUGS.txt in the distribution
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PANIC: internal error
BACKTRACE: 23 stack frames:
 #0 ./net(call_backtrace+0x27) [0x8413bbb]
 #1 ./net(smb_panic+0x1f8) [0x8413e5a]
 #2 ./net [0x8413f97]
 #3 ./net [0x8413fdd]
 #4 [0xffffe420]
 #5 ./net(config_path+0x1e) [0x8412ff5]
 #6 ./net(smb_krb5_init_context+0x127) [0x818394c]
 #7 ./net(cli_credentials_get_krb5_context+0x5c) [0x8184134]
 #8 ./net(cli_credentials_set_keytab_name+0x3c) [0x8184fe2]
 #9 ./net(cli_credentials_set_secrets+0x566) [0x817eaa9]
 #10 /usr/local/samba/modules/ldb/update_keytab.so [0xb79bf6ef]
 #11 /usr/local/samba/modules/ldb/update_keytab.so [0xb79bf89e]
 #12 ./net(ldb_request+0x1e9) [0x8316dfa]
 #13 ./net [0x8316a3b]
 #14 ./net(ldb_delete+0x65) [0x8317bd0]
 #15 ./net [0x80a2143]
 #16 ./net(libnet_Join+0x5b) [0x80a2591]
 #17 ./net [0x809aef1]
 #18 ./net [0x809a19e]
 #19 ./net [0x809a61a]
 #20 ./net [0x809a6a4]
 #21 /lib/libc.so.6(__libc_start_main+0xd8) [0xb7d1ddf8]
 #22 ./net [0x809a061]
Comment 2 Matthias Dieter Wallnöfer 2008-01-01 14:10:33 UTC
It would be a lot more useful, if you could compile SAMBA with debugging symbols (use ./configure.developer rather than ./configure).
Then start the "net" command in gdb debugger:
  gdb --args ./net join shintop.ltd BDC -U shintop.ltd/administrator
Launch it:
  r with return key
When it breaks:
  bt bull with return key

Please post then those more detailed messages! With q and return key you can close gdb.
Comment 3 Jelmer Vernooij 2008-03-13 14:51:21 UTC
I think you mean "bt full" rather than "bt bull" :-)
Comment 4 Matthias Dieter Wallnöfer 2008-03-13 14:56:51 UTC
sure ;-)
Comment 5 Matthias Dieter Wallnöfer 2008-04-03 06:43:18 UTC
What is with this one? It's reproducible yet?
Comment 6 Matthias Dieter Wallnöfer 2008-06-02 14:49:21 UTC
This should work. If not, please provide further information (consider my previous comment) and reopen.