Golden Butler
2006-Mar-02 22:55 UTC
[Samba] "Segmentation Fault" when attempting to join AD
I've just installed Samba 3.0.21c on SLES9 box. I've configured kerberos and my smb.conf file to a tee. When I try to join my active directory domain by typing the following: "net ads join -U administrator" after I type the password, I get this error: "Segmentation fault" I can successfully get a ticket from AD when invoking: "kinit user" Is there something I'm doing wrong? Any help will be greatly appreciated. Thanks. - Delamatrix
Jeremy Allison
2006-Mar-02 23:29 UTC
[Samba] "Segmentation Fault" when attempting to join AD
On Thu, Mar 02, 2006 at 04:25:11PM -0600, Golden Butler wrote:> I've just installed Samba 3.0.21c on SLES9 box. I've configured kerberos and my smb.conf file to a tee. When I try to join my active directory domain by typing the following: > > "net ads join -U administrator" > > after I type the password, I get this error: > > "Segmentation fault" > > I can successfully get a ticket from AD when invoking: > > "kinit user" > > Is there something I'm doing wrong? Any help will be greatly appreciated. Thanks.Can you run this under gdb as : gdb --args /usr/bin/net ads join -U administrator At the prompt type : "run," when it crashes type "bt" and post the backtrace please. Jeremy.
David Shapiro
2006-Mar-03 13:32 UTC
[Samba] "Segmentation Fault" when attempting to join AD
What happens when you run kinit Administrator@your.kerberos.REALM? Does kinit core dump? David David Shapiro Unix Team Lead 919-765-2011>>> Golden Butler <golden@cnt.org> 3/2/2006 9:58 PM >>>Thanks Jeremy. Ok, this is what happened after typed run: (gdb) run Starting program: /usr/bin/net ads join -U administrator (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 1078403744 (LWP 7510)] (no debugging symbols found)...(no debugging symbols found)...administrator's password: (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1078403744 (LWP 7510)] 0x400b8d34 in mcc_resolve () from /usr/lib/libkrb5.so.17 (gdb) bt #0 0x400b8d34 in mcc_resolve () from /usr/lib/libkrb5.so.17 #1 0x400a1d12 in allocate_ccache () from /usr/lib/libkrb5.so.17 #2 0x08162396 in kerberos_kinit_password () #3 0x0816266a in ads_kinit_password () #4 0x081d1298 in ads_sasl_spnego_bind () #5 0x081d1a6e in ads_sasl_bind () #6 0x081ca402 in ads_connect () #7 0x08075ce6 in ads_startup () #8 0x08077110 in net_ads_join () #9 0x080741e9 in net_run_function () #10 0x08078945 in net_ads () #11 0x080741e9 in net_run_function () #12 0x080758c3 in main () Looks like it's pointing to some kerberos file. I'm still kind of a linux newbie, what does this mean? Thanks. - Delamatrix _____ From: Jeremy Allison [mailto:jra@samba.org] To: Golden Butler [mailto:golden@cnt.org] Cc: Samba Mailing List [mailto:samba@lists.samba.org] Sent: Thu, 02 Mar 2006 17:28:17 -0600 Subject: Re: [Samba] "Segmentation Fault" when attempting to join AD On Thu, Mar 02, 2006 at 04:25:11PM -0600, Golden Butler wrote:> I've just installed Samba 3.0.21c on SLES9 box. I've configuredkerberos and my smb.conf file to a tee. When I try to join my active directory domain by typing the following:> > "net ads join -U administrator" > > after I type the password, I get this error: > > "Segmentation fault" > > I can successfully get a ticket from AD when invoking: > > "kinit user" > > Is there something I'm doing wrong? Any help will be greatlyappreciated. Thanks. Can you run this under gdb as : gdb --args /usr/bin/net ads join -U administrator At the prompt type : "run," when it crashes type "bt" and post the backtrace please. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Golden Butler
2006-Mar-03 15:52 UTC
[Samba] "Segmentation Fault" when attempting to join AD
Thanks David, When I run: "kinit administrator@DOMAIN.ORG" I get this result: kinit: NOTICE: ticket renewable lifetime is 1 week _____ From: David Shapiro [mailto:David.Shapiro@bcbsnc.com] To: Golden Butler [mailto:golden@cnt.org], Jeremy Allison [mailto:jra@samba.org] Cc: Samba Mailing List [mailto:samba@lists.samba.org] Sent: Fri, 03 Mar 2006 07:31:32 -0600 Subject: Re: [Samba] "Segmentation Fault" when attempting to join AD What happens when you run kinit Administrator@your.kerberos.REALM? Does kinit core dump? David David Shapiro Unix Team Lead 919-765-2011>>> Golden Butler <golden@cnt.org> 3/2/2006 9:58 PM >>>Thanks Jeremy. Ok, this is what happened after typed run: (gdb) run Starting program: /usr/bin/net ads join -U administrator (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 1078403744 (LWP 7510)] (no debugging symbols found)...(no debugging symbols found)...administrator's password: (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1078403744 (LWP 7510)] 0x400b8d34 in mcc_resolve () from /usr/lib/libkrb5.so.17 (gdb) bt #0 0x400b8d34 in mcc_resolve () from /usr/lib/libkrb5.so.17 #1 0x400a1d12 in allocate_ccache () from /usr/lib/libkrb5.so.17 #2 0x08162396 in kerberos_kinit_password () #3 0x0816266a in ads_kinit_password () #4 0x081d1298 in ads_sasl_spnego_bind () #5 0x081d1a6e in ads_sasl_bind () #6 0x081ca402 in ads_connect () #7 0x08075ce6 in ads_startup () #8 0x08077110 in net_ads_join () #9 0x080741e9 in net_run_function () #10 0x08078945 in net_ads () #11 0x080741e9 in net_run_function () #12 0x080758c3 in main () Looks like it's pointing to some kerberos file. I'm still kind of a linux newbie, what does this mean? Thanks. - Delamatrix _____ From: Jeremy Allison [mailto:jra@samba.org] To: Golden Butler [mailto:golden@cnt.org] Cc: Samba Mailing List [mailto:samba@lists.samba.org] Sent: Thu, 02 Mar 2006 17:28:17 -0600 Subject: Re: [Samba] "Segmentation Fault" when attempting to join AD On Thu, Mar 02, 2006 at 04:25:11PM -0600, Golden Butler wrote:> I've just installed Samba 3.0.21c on SLES9 box. I've configured kerberos and my smb.conf file to a tee. When I try to join my active directory domain by typing the following: > > "net ads join -U administrator" > > after I type the password, I get this error: > > "Segmentation fault" > > I can successfully get a ticket from AD when invoking: > > "kinit user" > > Is there something I'm doing wrong? Any help will be greatly appreciated. Thanks.Can you run this under gdb as : gdb --args /usr/bin/net ads join -U administrator At the prompt type : "run," when it crashes type "bt" and post the backtrace please. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba