Kerberizing Samba PDC

Eduardo Sachs edu.sachs at gmail.com
Sat Feb 24 09:05:20 EST 2007


Hi!

 

I used Heimdal Kerberos+LDAP, but, I want add samba pdc on my kerberos.

My system: Debian Sarge, I used apt-get backports for upgrade samba 3.0.23c.

 

I made principals and keytabs for my samba pdc,

In server Kerberos:

kadmin> add -random-key cifs/sambapdc

Max ticket life [1 day]:

Max renewable life [1 week]:

Principal expiration time [never]:

Password expiration time [never]:

Attributes []:

kadmin> ext_key cifs/sambapdc

 

I transfer keytab for my samba pdc:

In server Kerberos:

# ktutil -k krb5.keytab get cifs/sambapdc

# scp krb5.keytab sambapdc:/etc/

 

In client:

# smbclient //sambapdc/homes -k 

(note, I used -k)

 

I receive this error:

session setup failed: Call returned zero bytes (EOF)

 

And my logs samba:

 

[2007/02/24 12:06:03, 0] lib/fault.c:fault_report(41)

  ===============================================================

[2007/02/24 12:06:03, 0] lib/fault.c:fault_report(42)

  INTERNAL ERROR: Signal 11 in pid 1901 (3.0.23c)

  Please read the Trouble-Shooting section of the Samba3-HOWTO

[2007/02/24 12:06:03, 0] lib/fault.c:fault_report(44)

 

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf

[2007/02/24 12:06:03, 0] lib/fault.c:fault_report(45)

  ===============================================================

[2007/02/24 12:06:03, 0] lib/util.c:smb_panic(1592)

  PANIC (pid 1901): internal error

[2007/02/24 12:06:03, 0] lib/util.c:log_stack_trace(1699)

  BACKTRACE: 20 stack frames:

   #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822ce53]

   #1 /usr/sbin/smbd(smb_panic+0x48) [0x822ccd8]

   #2 /usr/sbin/smbd [0x821a9fc]

   #3 /lib/libpthread.so.0 [0x4035c825]

   #4 /lib/libc.so.6 [0x401ca678]

   #5 /usr/lib/libkrb5.so.3(krb5_ktfile_get_next+0x3c) [0x400aa2cc]

   #6 /usr/lib/libkrb5.so.3(krb5_kt_next_entry+0x3c) [0x400a9d4c]

   #7 /usr/sbin/smbd [0x82ad876]

   #8 /usr/sbin/smbd(ads_verify_ticket+0x81d) [0x82ae67d]

   #9 /usr/sbin/smbd [0x80be6b3]

   #10 /usr/sbin/smbd [0x80bf805]

   #11 /usr/sbin/smbd [0x80bff34]

   #12 /usr/sbin/smbd(reply_sesssetup_and_X+0xfb7) [0x80c1247]

   #13 /usr/sbin/smbd [0x80e985f]

   #14 /usr/sbin/smbd [0x80e9a84]

   #15 /usr/sbin/smbd [0x80e9ca2]

   #16 /usr/sbin/smbd(smbd_process+0x155) [0x80eab85]

   #17 /usr/sbin/smbd(main+0x92e) [0x82c221e]

   #18 /lib/libc.so.6(__libc_start_main+0xc6) [0x401b6e36]

   #19 /usr/sbin/smbd [0x80829d1]

[2007/02/24 12:06:03, 0] lib/fault.c:dump_core(173)

  dumping core in /var/log/samba/cores/smbd

 

 

 

Sorry, my english is sucks, but, I need help!

 

Thanks for all !!!!

 

 




More information about the Kerberos mailing list