[Samba] 3.0.21c: idmap_rid segfaults on AIX 5.3 ML4

David Shapiro David.Shapiro at bcbsnc.com
Tue Feb 28 14:22:54 GMT 2006


Not sure what the fix is yet, but I did put in a bug report for this
already.  No fix has some other than them saying do not use pthreads.  I
am not sure how to get it not to use pthreads (there is not
--disable-pthreads option or something like that).  I wonder if using an
old gcc like 2.95 might do the trick, but I do not have that version. 
It really would be better if they had a --disable-pthreads option).  
 
David Shapiro
Unix Team Lead
919-765-2011

>>> Jurjen Oskam <jurjen at stupendous.org> 2/28/2006 8:01:58 AM >>>

Hi everyone,

I'm trying to use idmap_rid on an AIX 5.3 ML4 machine. Samba compiled
successfully using the IBM compiler (vac.C) version 6. The only
programs I supplied where db and libiconv.

I followed the instructions, and put nsswitch/WINBIND in
/usr/lib/security,
and edited /usr/lib/security/methods.cfg.

When I start "winbindd -i", it coredumps with a Signal 11:

(dbx) where
raise.raise(??) at 0xd030e694
abort.abort() at 0xd033c85c
smb_panic2(0x20139ba8, 0x1) at 0x10058350
smb_panic(0x20139ba8) at 0x100583a4
fault_report(0xb) at 0x101677b0
sig_fault(0xb) at 0x10167508
glink.atoi() at 0xd17a0b68
init_module() at 0xd17a04f8
do_smb_load_module(0x2ff22010, 0x1) at 0x10050b00
smb_probe_module(0x200e9958, 0x2017c01e) at 0x100511d4
idmap_init(0x201755e8) at 0x1008d2b0
main(0x2, 0x2ff22b24) at 0x10002970

A level 10 log shows:

# winbindd -i
winbindd version 3.0.21c started.
Copyright The Samba Team 2000-2004
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
  locking: False/0
  msdfs: False/0
Processing section "[homes]"
add_a_service: Creating snum = 0 for homes
hash_a_service: creating tdb servicehash
hash_a_service: hashing index 0 for service name homes
doing parameter read only = No
doing parameter browseable = No
Processing section "[nmon]"
add_a_service: Creating snum = 1 for nmon
hash_a_service: hashing index 1 for service name nmon
doing parameter path = /var/log/nmon
doing parameter valid users = +beheer
doing parameter read only = yes
Processing section "[controlcenter]"
add_a_service: Creating snum = 2 for controlcenter
hash_a_service: hashing index 2 for service name controlcenter
doing parameter path = /export/nim/non-nim/controlcenter
doing parameter read only = yes
doing parameter guest ok = yes
pm_process() returned Yes
add_a_service: Creating snum = 3 for IPC$
hash_a_service: hashing index 3 for service name IPC$
adding IPC service
add_a_service: Creating snum = 4 for ADMIN$
hash_a_service: hashing index 4 for service name ADMIN$
adding IPC service
set_server_role: role = ROLE_DOMAIN_MEMBER
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
Substituting charset 'ISO8859-1' for LOCALE
added interface ip=192.168.1.115 bcast=192.168.1.255
nmask=255.255.255.0
added interface ip=172.17.1.115 bcast=172.17.255.255 nmask=255.255.0.0
Netbios name list:-
my_netbios_names[0]="TSM-LPAR"
added interface ip=192.168.1.115 bcast=192.168.1.255
nmask=255.255.255.0
added interface ip=172.17.1.115 bcast=172.17.255.255 nmask=255.255.0.0
Opening cache file at /opt/Samba/3.0.21c/var/locks/gencache.tdb
namecache_enable: enabling netbios namecache, timeout 660 seconds
smb_register_idmap: Successfully added idmap backend 'tdb'
db_idmap_init: Opening tdbfile
/opt/Samba/3.0.21c/var/locks/winbindd_idmap.tdb
idmap_init: idmap backend uses deprecated 'idmap_' prefix.  Please
replace
'idmap_rid' by 'rid' in /opt/Samba/3.0.21c/lib/smb.conf
idmap_init: using 'rid' as remote backend
Probing module 'rid'
Probing module 'rid': Trying to load from
/opt/Samba/3.0.21c/lib/idmap/rid.so
===============================================================
INTERNAL ERROR: Signal 11 in pid 856292 (3.0.21c)
Please read the Trouble-Shooting section of the Samba3-HOWTO

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
===============================================================
PANIC: internal error
Abort(coredump)


What can I do to diagnose and/or fix this problem?
-- 
Jurjen Oskam
-- 
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