[Samba] idmap ldap winbind core dump

This is a discussion on [Samba] idmap ldap winbind core dump within the Samba forums, part of the Networking and Network Related category; My samba machine authenticates logins from our AD domain and stores SID->UID mappings with idmap_ldap. Every couple of ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-12-2008
Hugo Mallinson
 
Posts: n/a
Default [Samba] idmap ldap winbind core dump

My samba machine authenticates logins from our AD domain and stores
SID->UID mappings with idmap_ldap. Every couple of days winbind
crashes, though not regularly. It's not linked to new users logging
into our machine, though it might be new users being added to the
domain (I don't control the domain). The core dump seems to indicate
an LDAP problem. I found some similar postings but no solutions. Can
anyone shed any light on this?

Looking at it now, it seems like some of those index lines in my
slapd.conf might not be necessary, I don't have half those fields in
the database. Maybe that's the problem (I know nothing about LDAP)?

I'd really appreciate any help!

System: Fedora 9 (though it's happened since Fedora 7)
samba-3.2.0-1.rc1.14
openldap-2.4.8-3


smb.conf:

[global]
workgroup = IFM
password server = mlpc-serv-dc1.eng.cam.ac.uk
realm = IFM.ENG.CAM.AC.UK
security = domain
winbind separator = +
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = yes
wins server = 192.168.8.25
domain master = no
local master = no
preferred master = no
os level = 0
idmap config IFM:default = yes
idmap config IFM:backend = ldap
idmap config IFM:ldap_base_dn =
ou=Idmap,dc=dial,dc=ifm,dc=eng,dc=cam,dc=ac,dc=uk
idmap config IFM:ldap_url = ldap://mlpc-autoid1.eng.cam.ac.uk
idmap config IFM:range = 100000-150000
idmap config IFM:ldap_user_dn =
cn=Manager,dc=dial,dc=ifm,dc=eng,dc=cam,dc=ac,dc=u k
ldap ssl = off
winbind enum users = yes
winbind enum groups = yes

slapd.conf

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/samba.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
database bdb
suffix "dc=dial,dc=ifm,dc=eng,dc=cam,dc=ac,dc=uk"
rootdn "cn=Manager,dc=dial,dc=ifm,dc=eng,dc=cam,dc=ac,dc= uk"
rootpw {SSHA}#####
directory /var/lib/ldap
monitoring off
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub

winbind.log

....
[2008/06/11 12:46:33, 1] winbindd/idmap.c:idmap_init(388)
Initializing idmap domains
winbindd: ../../../libraries/libldap/error.c:272: ldap_parse_result:
Assertion `r != ((void *)0)' failed.
[2008/06/11 21:50:01, 0] lib/fault.c:fault_report(40)
================================================== =============
[2008/06/11 21:50:01, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 6 in pid 2051 (3.2.0rc1-14.fc9)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/06/11 21:50:01, 0] lib/fault.c:fault_report(43)

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/06/11 21:50:01, 0] lib/fault.c:fault_report(44)
================================================== =============
[2008/06/11 21:50:01, 0] lib/util.c:smb_panic(1666)
PANIC (pid 2051): internal error
[2008/06/11 21:50:02, 0] lib/util.c:log_stack_trace(1770)
BACKTRACE: 25 stack frames:
#0 winbindd(log_stack_trace+0x2d) [0xb7c457ad]
#1 winbindd(smb_panic+0x2d) [0xb7c458ad]
#2 winbindd [0xb7c2e616]
#3 [0x12e400]
#4 [0x12e416]
#5 /lib/libc.so.6(gsignal+0x50) [0x332660]
#6 /lib/libc.so.6(abort+0x188) [0x334028]
#7 /lib/libc.so.6(__assert_fail+0xee) [0x32b57e]
#8 /usr/lib/libldap-2.4.so.2 [0x2a18fe]
#9 winbindd [0xb7e8a8e3]
#10 winbindd(ads_do_search_all_args+0x73) [0xb7e8ad03]
#11 winbindd [0xb7e97a2e]
#12 winbindd(ads_ranged_search_internal+0x66) [0xb7e97d06]
#13 winbindd(ads_ranged_search+0x120) [0xb7e985f0]
#14 winbindd [0xb7bb066e]
#15 winbindd [0xb7b93b32]
#16 winbindd [0xb7b8678d]
#17 winbindd [0xb7b89094]
#18 winbindd [0xb7bbf6b3]
#19 winbindd [0xb7bb8a62]
#20 winbindd [0xb7bb8008]
#21 winbindd [0xb7b7faf8]
#22 winbindd(main+0xa9c) [0xb7b8075c]
#23 /lib/libc.so.6(__libc_start_main+0xe6) [0x31e5d6]
#24 winbindd [0xb7b7e5f1]
[2008/06/11 21:50:02, 0] lib/fault.c:dump_core(201)
dumping core in /var/log/samba/cores/winbindd

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0