[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

heimdal 0.6.2 coredumps



Hello list,

  I finally got ldap(+smbk5pwd)+samba+heimdal working but I still
get a coredump while listing users on the ldap database, perhaps
I'm missing something but kadmin coredumps each time I requests
a full list of users, the weird is that I can list individual
users but not the complete list.

  I'm runing Heimdal 0.6.2, openldap 2.2.24 and samba 3.0.11.

Anyone knows where the problem could come from?

Thank you.

kadmin> get usuario1
                Principal: usuario1@FADESA.ES
        Principal expires: never
         Password expires: never
     Last password change: never
          Max ticket life: unlimited
       Max renewable life: unlimited
                     Kvno: 75
                    Mkvno: 0
                   Policy: none
    Last successful login: never
        Last failed login: never
       Failed login count: 0
            Last modified: 2005-03-16 18:28:34 UTC
               Attributes:
Keytypes(salttype[(salt-value)]): des3-cbc-sha1(pw-salt), des-cbc-md5(pw-salt), des-cbc-md4(pw-salt), des-cbc-crc(pw-salt)

kadmin> list usuario1
   usuario1@FADESA.ES
kadmin> list *
Segmentation fault (core dumped)


GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `kadmin -l'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libkadm5clnt.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkadm5clnt.so.4
Reading symbols from /usr/lib/libkadm5srv.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkadm5srv.so.7
Reading symbols from /usr/lib/libhdb.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libhdb.so.7
Reading symbols from /usr/lib/libsl.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsl.so.0
Reading symbols from /lib/libreadline.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /usr/lib/libkrb5.so.17...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.17
Reading symbols from /usr/lib/libldap-2.2.so.7...done.
Loaded symbols for /usr/lib/libldap-2.2.so.7
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/liblber-2.2.so.7...done.
Loaded symbols for /usr/lib/liblber-2.2.so.7
Reading symbols from /usr/lib/libasn1.so.6...done.
Loaded symbols for /usr/lib/libasn1.so.6
Reading symbols from /usr/lib/libroken.so.16...done.
Loaded symbols for /usr/lib/libroken.so.16
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/tls/libdb-4.2.so...done.
Loaded symbols for /usr/lib/tls/libdb-4.2.so
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x400b78d8 in try_read1msg (ld=0x806fa28, msgid=5, all=1, sb=0x806fd30, lcp=0xbfffd6fc, result=0xbfffd774) at result.c:1002
1002    result.c: No such file or directory.
         in result.c
(gdb) bt
#0  0x400b78d8 in try_read1msg (ld=0x806fa28, msgid=5, all=1, sb=0x806fd30, lcp=0xbfffd6fc, result=0xbfffd774) at result.c:1002
#1  0x400b7f6f in ldap_result (ld=0x806fa28, msgid=5, all=1, timeout=0x0, result=0xbfffd774) at result.c:390
#2  0x400b92df in ldap_search_s (ld=0x806fa28, base=0x0, scope=0, filter=0x0, attrs=0x0, attrsonly=0, res=0xbfffd774) at search.c:364
#3  0x40036d50 in LDAP_dn2principal () from /usr/lib/libhdb.so.7
#4  0x40037430 in LDAP_message2entry () from /usr/lib/libhdb.so.7
#5  0x40037628 in LDAP_seq () from /usr/lib/libhdb.so.7
#6  0x40038f0b in hdb_foreach () from /usr/lib/libhdb.so.7
#7  0x4002b581 in kadm5_s_get_principals () from /usr/lib/libkadm5srv.so.7
#8  0x4001fbe4 in kadm5_get_principals () from /usr/lib/libkadm5clnt.so.4
#9  0x0804e73f in foreach_principal ()
#10 0x0804b8a5 in getit ()
#11 0x400420de in sl_command () from /usr/lib/libsl.so.0
#12 0x4004215b in sl_command_loop () from /usr/lib/libsl.so.0
#13 0x40042233 in sl_loop () from /usr/lib/libsl.so.0
#14 0x0804cb29 in main ()




[libdefaults]
     default_realm = FADESA.ES
     clockskew = 300

[realms]
FADESA.ES = {
     kdc = atlas.servidores.fadesa
     default_domain=fadesa.es
     admin_server = atlas.servidores.fadesa
}

[domain_realm]
     .fadesa.es = FADESA.ES
     .fadesa = FADESA.ES

[logging]
     kdc = SYSLOG
     admin_server = SYSLOG
     default = SYSLOG

[kdc]
     database = {
         realm = FADESA.ES
         dbname = ldap:ou=personas,ou=cuentas,dc=fadesa,dc=es
         mkey_file = /var/heimdal/m-key
     }


dn: uid=usuario1,ou=personas,ou=cuentas,dc=fadesa,dc=es
objectClass: top
objectClass: inetLocalMailRecipient
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: fadesaPerson
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: krb5Principal
objectClass: krb5KDCEntry
uid: usuario1
cn: usuario de prueba
loginShell: /bin/bash
fadesaPersonStatus: activado
sn: sadf
structuralObjectClass: inetOrgPerson
entryUUID: 9e113ab0-e3a9-1028-8d3e-a7098d012c3f
creatorsName: cn=master,dc=fadesa,dc=es
createTimestamp: 20041216122738Z
host: ora9i.servidores.fadesa
sambaSID: S-1-5-21-528226156-890416033-2029241632
gidNumber: 1000
homeDirectory: /samba/usuario1
uidNumber: 613
description: oiohh
gecos: usuario de pruebas
krb5PrincipalName: usuario1@FADESA.ES
krb5KDCFlags: 126
sambaHomePath: /samba/usuario1
sambaAcctFlags: [U          ]
sambaBadPasswordCount: 0
sambaBadPasswordTime: 0
sambaPwdCanChange: 1110997030
sambaPwdMustChange: 1111000630
sambaPasswordHistory: 347AB97E0D481225B1A820599444A97D3CD82ADE7A2E321703826911
  0AF40955829D8E4934C4A2244F9279F0A3DDD4A8A07612AD271BF1AAC40F6FADC39177C19D62A
  54BA53765AF99A4107107BF47C65013DCF240F7828744FCEBCE677C070319317D90DE1ADC748D
  4FE66C22026AC36E25F8EBB5E30DDC40DD84FF6ADCB7AA7657A4007A5698C4B7DF9DF3ECA0C45
  D75C4213F0EB053427287DEDFAB2D31D8D231FB09E756032CB33EA4FD2DBC2F16E0B61B868006
  108227955BEA9F9050F5BAF0222A25B6E86FF98E730CF8919BF3D6748D8AF90EDD5DCAB5F4F13
  2051BAAB711154FF0A6612CEA6B7904350D41E4AB79C963AA516CA2719E093A7579A343B810ED
  4BD3094CBC88871A4D2323AF26CDE1E28E814AE9FBD9CDB0A25919FCBD25B42E6E1B189561D33
  33B07147B902BCCCF32CD2A7A9BA193F0A96AF8756FBF
userPassword:: cWF6ZWRjd3N4
sambaPwdLastSet: 1110997714
sambaLMPassword: 075c891af0e639f0f755b52f1d5c4be5
sambaNTPassword: 9f85c31c14d5f32afab138a718bdb101
krb5KeyVersionNumber: 75
krb5Key:: MEagAwIBAaE/MD2gAwIBEKE2BDTLj5l708XxI761YJiRxsir/vaos+J4ZxLT1dA23WkO
  VDDmHfZG3T1mT7lbC/5Ozzdf+Dvh
krb5Key:: MDagAwIBAaEvMC2gAwIBA6EmBCSLPqzoO62VfObtssxIjpftwOEejVxYpghUCWj3rkwG
  oesodHQ=
krb5Key:: MDagAwIBAaEvMC2gAwIBAqEmBCQMwCg7xT+VyA+gIN0R6V3PgtIwweYnnHd/YumQu6Bj
  On7WqSc=
krb5Key:: MDagAwIBAaEvMC2gAwIBAaEmBCTCLfti8aLyYb1yEJd0BHW3obua6nIJx7gL9Ym7nEc5
  1MhYFCY=
entryCSN: 20050316182834Z#000002#00#000000
modifiersName: cn=ora9i,ou=maquinas,ou=cuentas,dc=fadesa,dc=es
modifyTimestamp: 20050316182834Z