[Samba] "Segmentation Fault" when attempting to join AD

Golden Butler golden at cnt.org
Fri Mar 3 15:50:23 GMT 2006


Thanks David,

When I run:
  
  "kinit administrator at DOMAIN.ORG"  I get this result:
  
  kinit: NOTICE: ticket renewable lifetime is 1 week   _____  

From: David Shapiro [mailto:David.Shapiro at bcbsnc.com]
To: Golden Butler [mailto:golden at cnt.org], Jeremy Allison [mailto:jra at samba.org]
Cc: Samba Mailing List [mailto:samba at 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 at your.kerberos.REALM?  Does kinit core dump?  
   
David  
   
David Shapiro
Unix Team Lead
919-765-2011

>>> Golden Butler <golden at 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 at samba.org]
To: Golden Butler [mailto:golden at cnt.org]
Cc: Samba Mailing List [mailto:samba at 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
  


More information about the samba mailing list