(ITS#7177) [PATCH] various manpage fixes
by jvcelak@redhat.com
Full_Name: Jan Vcelak
Version: 2.4.29
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.132.186.34)
Hello,
I have uploaded two patches with manual page fixes:
ftp://ftp.openldap.org/incoming/jvcelak-20120222-0001-man-add-missing-opt...
- typo in '-o' in --help output
- missing '-C' in ldapsearch and ldapcompare
- manpages all tools:
+ add -o description (general options)
+ add -N description (reverse DNS SASL host name canonicalization)
- manpages ldapsearch, ldapcompare:
+ add -C (perform referral chasing)
ftp://ftp.openldap.org/incoming/jvcelak-20120222-0002-man-add-SASL_NOCANO...
- add SASL_NOCANON option to ldap.conf(5)
The attached files are derived from OpenLDAP Software. All of the modifications
to OpenLDAP Software represented in the uploaded patches were developed by Red
Hat. Red Hat has not assigned rights and/or interest in this work to any party.
I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under
the following terms.
Red Hat hereby place the following modifications to OpenLDAP Software (and only
these modifications) into the public domain. Hence, these modifications may be
freely used and/or redistributed for any purpose with or without attribution
and/or other notice.
11 years, 7 months
Re: (ITS#7167) regression, ldap_result() returns -1
by jvcelak@redhat.com
Perfect! This patch resolves the issue. Thank you, Howard!
Jan
----- Original Message -----
> This is a multi-part message in MIME format.
> --------------060206020501030606090605
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Try this instead.
>
> Howard Chu wrote:
> > Please test the attached patch and see if the problem is resolved,
> > thanks.
> >
11 years, 7 months
Re: (ITS#7160) MDB-back is not buildable on HP-UX 11.31
by Sascha.Kuehndel@deka.de
--_000_A8488806467B644782680A8469F29E2C01201F5849EXCCREX9dekag_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have test the changes, now.
The Make file looks now correct.
But i needed to use the hack from Howard Chu, too.
Now, openldap was build correct.
Thanks,
Sascha Kuehndel
--_000_A8488806467B644782680A8469F29E2C01201F5849EXCCREX9dekag_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
#800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Arial, sans-serif" size=3D"2">
<div>Hi,</div>
<div> </div>
<div>I have test the changes, now.</div>
<div>The Make file looks now correct.</div>
<div>But i needed to use the hack from Howard Chu, too.</div>
<div> </div>
<div>Now, openldap was build correct.</div>
<div> </div>
<div>Thanks,</div>
<div>Sascha Kuehndel</div>
<div> </div>
</font>
</body>
</html>
--_000_A8488806467B644782680A8469F29E2C01201F5849EXCCREX9dekag_--
11 years, 7 months
(ITS#7176) slapindex -q -t segfaults with back-mdb
by quanah@OpenLDAP.org
Full_Name: Quanah Gibson-Mount
Version: 2.4.29 + ITS7174
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.108.184.39)
When running slapindex -q -t, back-mdb segfaults:
Thread 1 (Thread 0x7ffff7fef700 (LWP 20316)):
#0 0x00007ffff34a1b45 in mdb_midl_append (idp=0x8f1fa8, id=6) at
../../../libraries/libmdb/midl.c:148
ids = 0x0
#1 0x00007ffff34a1712 in mdb_drop0 (mc=0x8dcd80, subs=4) at
../../../libraries/libmdb/mdb.c:5990
ni = 0x7febf2556eb4
mx = {mc_next = 0x1104184c, mc_orig = 0x7ffff7de7722, mc_xcursor = 0x0,
mc_txn = 0x8f1f80, mc_dbi = 5, mc_db = 0x8f20d8, mc_dbx = 0x8d8070, mc_dbflag =
0x80e4e0 "", mc_snum = 1, mc_top = 0, mc_flags = 16,
mc_pg = {0x7febf2556000, 0x7fffffffe5f0, 0x0, 0x80e838,
0x7fffffffe3c0, 0x7fffffffe3d8, 0x100000000, 0x893590, 0x7ffff346d4e1,
0x7fffffffe5f0, 0x38, 0x3a0, 0x38, 0x7fffffffe5f0, 0x8afa90, 0x0,
0x7ffff6314e40, 0x7fffffffe480, 0x378, 0x7fffffffea50, 0x0, 0x0,
0x8dcd80, 0xa25d2c9e, 0x8dcf08, 0x7fffffffe420, 0x7ffff349d1c0, 0x8dcf08,
0x5ffffe690, 0x8f1f80, 0x8dcd80, 0x7fffffffe480}, mc_ki = {
507, 62281, 32767, 0, 58496, 65535, 32767, 0, 58528, 65535, 32767,
0, 0, 0, 5, 0, 8064, 143, 0, 0, 59376, 65535, 32767, 0, 888, 0, 0, 0, 53000,
141, 0, 0}}
i = 20
rc = 0
#2 0x00007ffff34a1796 in mdb_drop (txn=0x8f1f80, dbi=5, del=0) at
../../../libraries/libmdb/mdb.c:6008
mc = 0x8dcd80
rc = 0
#3 0x00007ffff34753e8 in mdb_tool_entry_reindex (be=0x8afa90, id=0, adv=0x0) at
tools.c:770
i = 0
mi = 0x7ffff2751010
rc = 0
e = 0x0
op = {o_hdr = 0x0, o_tag = 0, o_time = 0, o_tincr = 0, o_bd = 0x0,
o_req_dn = {bv_len = 0, bv_val = 0x0}, o_req_ndn = {bv_len = 0, bv_val = 0x0},
o_request = {oq_add = {rs_modlist = 0x0, rs_e = 0x0},
oq_bind = {rb_method = 0, rb_cred = {bv_len = 0, bv_val = 0x0},
rb_edn = {bv_len = 0, bv_val = 0x0}, rb_ssf = 0, rb_mech = {bv_len = 0, bv_val =
0x0}}, oq_compare = {rs_ava = 0x0}, oq_modify = {
rs_mods = {rs_modlist = 0x0, rs_no_opattrs = 0 '\000'},
rs_increment = 0}, oq_modrdn = {rs_mods = {rs_modlist = 0x0, rs_no_opattrs = 0
'\000'}, rs_deleteoldrdn = 0, rs_newrdn = {bv_len = 0,
bv_val = 0x0}, rs_nnewrdn = {bv_len = 0, bv_val = 0x0},
rs_newSup = 0x0, rs_nnewSup = 0x0}, oq_search = {rs_scope = 0, rs_deref = 0,
rs_slimit = 0, rs_tlimit = 0, rs_limit = 0x0, rs_attrsonly = 0,
rs_attrs = 0x0, rs_filter = 0x0, rs_filterstr = {bv_len = 0,
bv_val = 0x0}}, oq_abandon = {rs_msgid = 0}, oq_cancel = {rs_msgid = 0},
oq_extended = {rs_reqoid = {bv_len = 0, bv_val = 0x0},
rs_flags = 0, rs_reqdata = 0x0}, oq_pwdexop = {rs_extended =
{rs_reqoid = {bv_len = 0, bv_val = 0x0}, rs_flags = 0, rs_reqdata = 0x0}, rs_old
= {bv_len = 0, bv_val = 0x0}, rs_new = {bv_len = 0,
bv_val = 0x0}, rs_mods = 0x0, rs_modtail = 0x0}}, o_abandon = 0,
o_cancel = 0, o_groups = 0x0, o_do_not_cache = 0 '\000', o_is_auth_check = 0
'\000', o_dont_replicate = 0 '\000',
o_acl_priv = ACL_NONE, o_nocaching = 0 '\000', o_delete_glue_parent =
0 '\000', o_no_schema_check = 0 '\000', o_no_subordinate_glue = 0 '\000',
o_ctrlflag = '\000' <repeats 31 times>, o_controls = 0x0,
o_authz = {sai_method = 0, sai_mech = {bv_len = 0, bv_val = 0x0},
sai_dn = {bv_len = 0, bv_val = 0x0}, sai_ndn = {bv_len = 0, bv_val = 0x0},
sai_ssf = 0, sai_transport_ssf = 0, sai_tls_ssf = 0,
sai_sasl_ssf = 0}, o_ber = 0x0, o_res_ber = 0x0, o_callback = 0x0,
o_ctrls = 0x0, o_csn = {bv_len = 0, bv_val = 0x0}, o_private = 0x0, o_extra =
{slh_first = 0x0}, o_next = {stqe_next = 0x0}}
ohdr = {oh_opid = 0, oh_connid = 0, oh_conn = 0x0, oh_msgid = 0,
oh_protocol = 0, oh_tid = 0, oh_threadctx = 0x0, oh_tmpmemctx = 0x0,
oh_tmpmfuncs = 0x0, oh_counters = 0x0,
oh_log_prefix = '\000' <repeats 255 times>}
__PRETTY_FUNCTION__ = "mdb_tool_entry_reindex"
#4 0x00000000004dc624 in slapindex (argc=0, argv=0x7fffffffea58) at
slapindex.c:96
rtn = 32767
id = 0
rc = 0
progname = 0x51c4c0 "slapindex"
ad = 0x10
adv = 0x0
__PRETTY_FUNCTION__ = "slapindex"
#5 0x0000000000415a20 in main (argc=7, argv=0x7fffffffea58) at main.c:410
i = 3
no_detach = 0
rc = 1
urls = 0x0
username = 0x0
groupname = 0x0
sandbox = 0x0
syslogUser = 160
pid = 0
waitfds = {3817984, 0}
g_argc = 7
g_argv = 0x7fffffffea58
configfile = 0x0
configdir = 0x0
serverName = 0x7fffffffecb8 "slapindex"
serverMode = 1
scp = 0x0
scp_entry = 0x0
debug_unknowns = 0x0
syslog_unknowns = 0x0
serverNamePrefix = 0x4faa68 ""
l = 140737488349486
slapd_pid_file_unlink = 0
slapd_args_file_unlink = 0
firstopt = 1
__PRETTY_FUNCTION__ = "main"
11 years, 7 months
Re: (ITS#7167) regression, ldap_result() returns -1
by hyc@symas.com
This is a multi-part message in MIME format.
--------------060206020501030606090605
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Try this instead.
Howard Chu wrote:
> Please test the attached patch and see if the problem is resolved, thanks.
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
--------------060206020501030606090605
Content-Type: text/plain; charset=UTF-8;
name="diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="diff.txt"
diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h
index c558d2a..ad37250 100644
--- a/libraries/libldap/ldap-int.h
+++ b/libraries/libldap/ldap-int.h
@@ -622,6 +622,7 @@ LDAP_F (void) ldap_free_select_info( void *sip );
LDAP_F (void) ldap_mark_select_write( LDAP *ld, Sockbuf *sb );
LDAP_F (void) ldap_mark_select_read( LDAP *ld, Sockbuf *sb );
LDAP_F (void) ldap_mark_select_clear( LDAP *ld, Sockbuf *sb );
+LDAP_F (void) ldap_clear_select_write( LDAP *ld, Sockbuf *sb );
LDAP_F (int) ldap_is_read_ready( LDAP *ld, Sockbuf *sb );
LDAP_F (int) ldap_is_write_ready( LDAP *ld, Sockbuf *sb );
diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c
index 6b92ba6..a920953 100644
--- a/libraries/libldap/open.c
+++ b/libraries/libldap/open.c
@@ -344,7 +344,6 @@ ldap_init_fd(
/* Add the connection to the *LDAP's select pool */
ldap_mark_select_read( ld, conn->lconn_sb );
- ldap_mark_select_write( ld, conn->lconn_sb );
*ldp = ld;
return LDAP_SUCCESS;
@@ -502,7 +501,6 @@ ldap_open_internal_connection( LDAP **ldp, ber_socket_t *fdp )
/* Add the connection to the *LDAP's select pool */
ldap_mark_select_read( ld, c->lconn_sb );
- ldap_mark_select_write( ld, c->lconn_sb );
/* Make this connection an LDAP V3 protocol connection */
rc = LDAP_VERSION3;
diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c
index daa765e..2864256 100644
--- a/libraries/libldap/os-ip.c
+++ b/libraries/libldap/os-ip.c
@@ -966,6 +966,32 @@ ldap_mark_select_clear( LDAP *ld, Sockbuf *sb )
#endif
}
+void
+ldap_clear_select_write( LDAP *ld, Sockbuf *sb )
+{
+ struct selectinfo *sip;
+ ber_socket_t sd;
+
+ sip = (struct selectinfo *)ld->ld_selectinfo;
+
+ ber_sockbuf_ctrl( sb, LBER_SB_OPT_GET_FD, &sd );
+
+#ifdef HAVE_POLL
+ /* for UNIX poll(2) */
+ {
+ int i;
+ for(i=0; i < sip->si_maxfd; i++) {
+ if( sip->si_fds[i].fd == sd ) {
+ sip->si_fds[i].events &= ~POLL_WRITE;
+ }
+ }
+ }
+#else
+ /* for UNIX select(2) */
+ FD_CLR( sd, &sip->si_writefds );
+#endif
+}
+
int
ldap_is_write_ready( LDAP *ld, Sockbuf *sb )
diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c
index 88190a2..071391d 100644
--- a/libraries/libldap/request.c
+++ b/libraries/libldap/request.c
@@ -202,6 +202,7 @@ ldap_int_flush_request(
/* sent -- waiting for a response */
ldap_mark_select_read( ld, lc->lconn_sb );
+ ldap_clear_select_write( ld, lc->lconn_sb );
}
return 0;
}
diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c
index b6e8e75..7241df9 100644
--- a/libraries/libldap/result.c
+++ b/libraries/libldap/result.c
@@ -302,7 +302,7 @@ wait4msg(
if ( ber_sockbuf_ctrl( lc->lconn_sb,
LBER_SB_OPT_DATA_READY, NULL ) )
{
- lc_ready = 1;
+ lc_ready = 2; /* ready at ber level, not socket level */
break;
}
}
@@ -373,8 +373,8 @@ wait4msg(
}
}
LDAP_MUTEX_UNLOCK( &ld->ld_req_mutex );
- /* Quit looping if no one handled any events */
- if (!serviced)
+ /* Quit looping if no one handled any socket events */
+ if (!serviced && lc_ready == 1)
rc = -1;
}
LDAP_MUTEX_UNLOCK( &ld->ld_conn_mutex );
--------------060206020501030606090605--
11 years, 7 months
Re: (ITS#7172) SEGFAULT in openldap-2.4.28 & 2.4.29
by david.coutadeur@linagora.com
Hi,
Concerning the cpu :
model name : Intel(R) Xeon(R) CPU L5640 @ 2.27GHz
However, OpenLDAP is used in a virtual machine, with only one dedicated
core. This is 32 bits version of OpenLDAP, on a 32 bits OS.
Linux OS :
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
kernel :
2 2.6.18-274.3.1.el5
You can get the server configuration below.
Concerning the client, you can find the source code here :
http://loadtesting.sourceforge.net/index.php?lang=en
#
----------------------------------------------------------------------------
# Global section
#
----------------------------------------------------------------------------
sizelimit 15000
allow bind_v2
password-hash {SSHA}
threads 8
loglevel 256
serverID 2
include /opt/openldap/etc/openldap/inc_shemas/slapd-schemas.conf
pidfile /opt/openldap/var/run/slapd.pid
argsfile /opt/openldap/var/run/slapd.args
# ACLs definition (cutted here)
#######################################################################
# SSL definitions
#######################################################################
# Definition of cert files
# ---------------------------------
TLSCipherSuite HIGH:MEDIUM:+SSLv2
TLSCACertificateFile /usr/local/openldap/etc/certs/ca.cert
TLSCertificateFile /usr/local/openldap/etc/certs/ldap-master-2.cert
TLSCertificateKeyFile /usr/local/openldap/etc/certs/ldap-master-2.key
TLSVerifyClient never
#######################################################################
# BDB database definitions
#######################################################################
database monitor
#######################################################################
# suffix dc=example,dc=com
# --------------------
#######################################################################
database bdb
directory /opt/openldap/var/openldap-data
# some indexes
#
----------------------------------------------------------------------------
# root suffix
#
----------------------------------------------------------------------------
suffix "dc=example,dc=com"
checkpoint 512 10
#
----------------------------------------------------------------------------
# cache settings
#
----------------------------------------------------------------------------
cachesize 60000
dncachesize 60000
idlcachesize 60000
cachefree 100
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
# Password policy : hash the clear passwords
overlay ppolicy
ppolicy_hash_cleartext
#
----------------------------------------------------------------------------
# REPLICATION definitions
#
----------------------------------------------------------------------------
#######################################################################
# I am a master (provider)
# ------------------------------------------
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
# syncrepl directive (consummer infos)
# ------------------------------------------
syncrepl rid=001
provider=ldap://ldap-master-1.example.com
bindmethod=simple
binddn="uid=ReplicationMaster,ou=Replication,ou=Special
Users,dc=example,dc=com"
credentials=secret
searchbase="dc=example,dc=com"
schemachecking=on
type=refreshAndPersist
retry="60 +"
mirrormode on
#
----------------------------------------------------------------------------
# limits
#
----------------------------------------------------------------------------
limits dn.exact="uid=ReplicationMaster,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
limits dn.exact="uid=ReplicationHub,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
limits dn.exact="uid=ReplicationLSC,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
#######################################################################
# suffix o=edition
# ----------------
#######################################################################
database bdb
directory /opt/openldap/var/openldap-data-edition
# some indexes
#
----------------------------------------------------------------------------
# root suffix
#
----------------------------------------------------------------------------
suffix "o=edition"
checkpoint 512 10
#
----------------------------------------------------------------------------
# cache settings
#
----------------------------------------------------------------------------
cachesize 50000
dncachesize 50000
idlcachesize 50000
cachefree 100
#
----------------------------------------------------------------------------
# rootdn
#
----------------------------------------------------------------------------
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootdn "cn=Manager,o=edition"
rootpw secret
# Password policy : hash the clear passwords
overlay ppolicy
ppolicy_hash_cleartext
#######################################################################
# REPLICATION definitions
#######################################################################
# I am a master (provider)
# ------------------------------------------
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
# syncrepl directive (consummer infos)
# ------------------------------------------
syncrepl rid=002
provider=ldap://vspar-ldap-master-1.example.com
bindmethod=simple
binddn="uid=ReplicationMaster,ou=Replication,ou=Special
Users,dc=example,dc=com"
credentials=secret
searchbase="o=edition"
schemachecking=on
type=refreshAndPersist
retry="60 +"
mirrormode on
#
----------------------------------------------------------------------------
# Limits for current BDB
#
----------------------------------------------------------------------------
limits dn.exact="uid=ReplicationMaster,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
limits dn.exact="uid=ReplicationHub,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
limits dn.exact="uid=ReplicationLSC,ou=Replication,ou=Special
Users,dc=example,dc=com" size=unlimited time=unlimited
Le 17/02/2012 19:00, Howard Chu a écrit :
> dcoutadeur(a)linagora.com wrote:
>> Full_Name: dcoutadeur
>> Version: 2.4.28
>> OS: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (109.197.176.10)
>>
>>
>>
>> Hello,
>>
>>
>> I had a segfault in the last git version of OpenLDAP, after 10 to 15
>> tests, each
>> interrupted by Ctrl+C. (see what's a test below)
>> The segfault is also reproduced in version 2.4.28.
>>
>> I think I won't be able to reproduce the bug with Valgrind.
>
> If you expect us to try to reproduce the bug, you'll have to provide
> more information. Since this crash is in syncprov there's obviously at
> least two servers involved; what are their configurations? What hardware
> are they running on (in particular, how many CPU cores per server)?
> Since you're using a custom client, can you provide the client source code?
>>
>> Thank you in advance for any help.
>>
>> D.
>>
>>
>> Note : A test is 100 times 100 threads, each doing a bind, an add, a
>> modify, a
>> delete, and a logout.
>>
>>
>>
>>
>>
>> (gdb) bt full
>> #0 sp_avl_cmp (c1=0x8b4004c8, c2=0xa37cf28) at syncprov.c:366
>> rc =<value optimized out>
>> #1 0x081afe3e in avl_delete (root=0xa255648, data=0x8b4004c8,
>> fcmp=0x81948a0<sp_avl_cmp>) at avl.c:197
>> p =<value optimized out>
>> q =<value optimized out>
>> r =<value optimized out>
>> top =<value optimized out>
>> side =<value optimized out>
>> side_bf =<value optimized out>
>> shorter =<value optimized out>
>> nside =<value optimized out>
>> pptr = {0x89908, 0x0, 0x0, 0x0, 0xe8043c, 0x0, 0xfdc,
>> 0x8d994858, 0xe7b95c, 0xfdc, 0xa372570, 0x0, 0xa288350,
>> 0xe8043c, 0xa372570, 0x8d994878, 0xe7c324, 0xfdc, 0xa372570,
>> 0x0, 0xe7af2c, 0x8cb9136e, 0x81b3634, 0x0, 0xe8043c,
>> 0xe, 0xa3d3a40, 0x8d9948b8, 0xe7d081, 0xa3e3618, 0x8cb91358,
>> 0x823c27}
>> pdir =
>> "\000\000\000\000lI\231\215\064\066\033\bn>\000\000\244\345t\000\310\004@\213\b\346\067\n\310H\231\215"
>>
>> depth = 0
>> #2 0x08199f7f in syncprov_op_cleanup (op=0xa37e608, rs=0x8d995108) at
>> syncprov.c:1401
>> cb = 0x8cb91258
>> opc = 0x8cb91268
>> si = 0xa255610
>> sm = 0xa255688
>> snext =<value optimized out>
>> mt = 0x8b4004c8
>> #3 0x08089654 in slap_cleanup_play (op=0xa37e608, rs=0x8d995108) at
>> result.c:541
>> sc_next = 0x8d994dec
>> sc = 0x8cb91258
>> scp = 0x8d994928
>> #4 0x0808a150 in send_ldap_response (op=0xa37e608, rs=0x8d995108) at
>> result.c:733
>> berbuf = {
>> buffer = "\000\000\001\000\000\001\000\000\377\377\377\377",
>> '\000'<repeats 12 times>,
>> "f\023\271\214\064#\271\214\000\000\000\000f\023\271\214p%7\n\000\000\000\000\314I\231\215\001\000\000\000\000\000\000\000\314mK\236x\271\347\000\001\000\000\000`+@\213D`K\236\230\063\066\n\250<6\n\000\000\000\000\000\000\000\000\005\000\000\000P7@\213`\343\070\n\000\000\000\000\n\000\000\000(\234\200\330\000\000\000\000\000\000\000\000@4\"\000\000\000\000\000(\234\200\330\210J\231\215\270\214
>>
>> \000\230\063\066\n`+@\213\314mK\236\r\000\000\000\001\000\000\000\021\217;O(\234\200\330\000\000\000\000`&%\n`&%\n8J\231\215b\f\"\000\224mK\236\230\063\066\n(\234\200أ\347\022\b\a",
>>
>> '\000'<repeats 31 times>, "D'%\n\224mK\236\000\000\000",
>> ialign = 65536, lalign = 65536, falign = 9.18354962e-41,
>> dalign = 5.4323095486619588e-312,
>> palign = 0x10000<Address 0x10000 out of bounds>}
>> ber =<value optimized out>
>> rc = 32768
>> bytes = 14
>> __PRETTY_FUNCTION__ = "send_ldap_response"
>> #5 0x0808af1f in slap_send_ldap_result (op=0xa37e608, rs=0x8d995108) at
>> result.c:860
>> tmp = 0x0
>> otext = 0x0
>> oref = 0x0
>> __PRETTY_FUNCTION__ = "slap_send_ldap_result"
>> #6 0x0812bde5 in bdb_add (op=0xa37e608, rs=0x8d995108) at add.c:511
>> pdn = {bv_len = 23, bv_val = 0x8b40372f
>> "ou=people,dc=afp,dc=com"}
>> p = 0x8fc4c0fc
>> oe = 0x8fc4c804
>> ei = 0xa37d1c8
>> textbuf = "\000\000\000\000\320O\"\n", '\000'<repeats 48
>> times>, "\001", '\000'<repeats 198 times>
>> children = 0xa223b20
>> entry = 0xa223980
>> ltid = 0x0
>> lt2 = 0x8b402bf0
>> eid = 57976
>> opinfo = {boi_oe = {oe_next = {sle_next = 0x8d99509c}, oe_key =
>> 0x0}, boi_txn = 0x8b402b60, boi_locks = 0x0,
>> boi_err = 0, boi_acl_cache = 0 '\000', boi_flag = 0 '\000'}
>> lock = {off = 133260, ndx = 772, gen = 2004, mode =
>> DB_LOCK_READ}
>> num_retries = 0
>> success = 0
>> postread_ctrl = 0x0
>> ctrls = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
>> num_ctrls = 0
>> #7 0x080e33a1 in overlay_op_walk (op=0xa37e608, rs=0x8d995108,
>> which=op_add, oi=0xa254ff0, on=0xa255508) at backover.c:671
>> rc = 32768
>> #8 0x080e3a0a in over_op_func (op=0xa37e608, rs=0x8d995108,
>> which=op_add) at backover.c:723
>> oi = 0xa254ff0
>> on = 0xa255508
>> be = 0xa252560
>> db = {bd_info = 0x821d41c, bd_self = 0xa252560,
>> be_ctrls =
>> "\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\001\000\000\000\000\001\000\001\000\000\000\000\000\000\000\000\000\001",
>>
>> be_flags = 563464, be_restrictops = 0, be_requires = 0, be_ssf_set =
>> {sss_ssf = 0,
>> sss_transport = 0, sss_tls = 0, sss_sasl = 0, sss_update_ssf
>> = 0, sss_update_transport = 0, sss_update_tls = 0,
>> sss_update_sasl = 0, sss_simple_bind = 0}, be_suffix =
>> 0xa288350, be_nsuffix = 0xa288368, be_schemadn = {
>> bv_len = 0, bv_val = 0x0}, be_schemandn = {bv_len = 0,
>> bv_val = 0x0}, be_rootdn = {bv_len = 24,
>> bv_val = 0xa287648 "cn=Manager,dc=afp,dc=com"}, be_rootndn =
>> {bv_len = 24,
>> bv_val = 0xa2876d0 "cn=manager,dc=afp,dc=com"}, be_rootpw =
>> {bv_len = 38,
>> bv_val = 0xa2876f0
>> "{SSHA}rEmMhg3MU5xkQX5Ng92tH4WzGMlA+nGU"}, be_max_deref_depth = 15,
>> be_def_limit = {
>> lms_t_soft = 3600, lms_t_hard = 0, lms_s_soft = 15000,
>> lms_s_hard = 0, lms_s_unchecked = -1, lms_s_pr = 0,
>> lms_s_pr_hide = 0, lms_s_pr_total = 0}, be_limits =
>> 0xa255748, be_acl = 0x0, be_dfltaccess = ACL_READ,
>> be_extra_anlist = 0x0, be_update_ndn = {bv_len = 0, bv_val =
>> 0x0}, be_update_refs = 0x0,
>> be_pending_csn_list = 0xa363388, be_pcl_mutex = {__data =
>> {__lock = 0, __count = 0, __owner = 0, __kind = 0,
>> __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
>> __size = '\000'<repeats 23 times>, __align = 0},
>> be_syncinfo = 0xa28aec8, be_pb = 0x0, be_cf_ocs = 0x821f840,
>> be_private = 0xa252660, be_next = {
>> stqe_next = 0xa288538}}
>> cb = {sc_next = 0x0, sc_response = 0x80e30e0
>> <over_back_response>, sc_cleanup = 0, sc_private = 0xa254ff0}
>> sc =<value optimized out>
>> rc =<value optimized out>
>> __PRETTY_FUNCTION__ = "over_op_func"
>> #9 0x08081129 in fe_op_add (op=0xa37e608, rs=0x8d995108) at add.c:334
>> repl_user = 0
>> rc =<value optimized out>
>> bd = 0x82234c0
>> textbuf =
>> "\000\000\000\000\000\000\000\000\060[\231\215\000\000\000\000\035\000\000\000\020\070@\213\001\000\000\000xN\231\215\270\026@\213(I\"\n\002\000\000\000\250N\231\215\255\214\v\b\270\026@\213\224N\231\215\001\000\000\000\000\000\000\000x9@\213\000\000\000\000\n\000\000\000\001\000\000\000\340\067@\213\n\000\000\000\060\070@\213\320\026@\213(I\"\n\270\026@\213\370N\231\215oc\t\b\002\000\000\000X(
>>
>> \n\370N\231\215\321_\t\bh\234!\n\240\066@\213'<\202\000\000\000\000\000\f\000\000\000W.@\213n>\000\000\244\345t\000\320O\"\n\320O\"\n\370N\231\215\035\205q\000
>>
>> .\"\b\314h\032\216\030O\231\215\245\063\b\b
>> .\"\b\240\066@\213\000\000\000\000\270\026@\213\244i\032\216\000\000\000\000HO\231\215\267\r\b\b\320O\"\n\320O\"\n\001\000\000\000HO\231\215\020\000\000\000\340h\032\216\377\377\377\377"
>>
>> __PRETTY_FUNCTION__ = "fe_op_add"
>> #10 0x08081a13 in do_add (op=0xa37e608, rs=0x8d995108) at add.c:194
>> ber =<value optimized out>
>> last = 0x8b402e71 ""
>> dn = {bv_len = 38, bv_val = 0x8b402d98
>> "uid=dcoutadeur,ou=People,dc=afp,dc=com"}
>> len = 28
>> tag =<value optimized out>
>> modlist = 0x8b4015f0
>> modtail = 0x8b403694
>> tmp = {sml_mod = {sm_desc = 0x80ce5ca, sm_values = 0x8b4036a0,
>> sm_nvalues = 0x0, sm_numvals = 2375635128,
>> sm_op = 0, sm_flags = 0, sm_type = {bv_len = 12, bv_val =
>> 0x8b402e57 "userPassword"}}, sml_next = 0x823c27}
>> textbuf =
>> "\025\000\000\000\310\031@\213\b\026@\213\006\340(\000\220[\231\215\000\000\000\000\000\000\000\000\020\000@\213\025\000\000\000\310\031@\213\310+@\213\005\070/\000\200O@\213T\245(\000\000\000\000\000\020\000@\213\364\237\067\000\220[\231\215\000\000\000\000\233\071@\213@:=\n\370O\231\215T\213\202\000b\213\202\000;\334\347\000\"\000\000\000\233\071@\213\b\000\000\000\201\354(\000\fP\231\215<\004\350\000\270P\231\215\312\315\347\000\370\326\070\n\233\071@\213\b\000\000\000\001\200\255\373\b\347\067\n@\000\000\000\243P\231\215@\000@\213\026\347\067\n@\000@\213\b\347\067\n@\261\067\000,\000\000\000\020\000@\213",
>>
>> '\000'<repeats 20 times>,
>> "5\000\000\000@\000@\213\000\000\000\000\340\021@\213\000\000\000\000\000\000\000\000\260+@\213\000\000\000\000\001\000\000\000\004\000\020\000\350Q\231\215\310P\231\215"
>>
>> rc =<value optimized out>
>> freevals =<value optimized out>
>> oex = {oe = {oe_next = {sle_next = 0x0}, oe_key = 0x8081330},
>> oe_db = 0x0}
>> #11 0x0807988c in connection_operation (ctx=0x8d9951e8, arg_v=0xa37e608)
>> at connection.c:1150
>> rc =<value optimized out>
>> cancel =<value optimized out>
>> rs = {sr_type = REP_RESULT, sr_tag = 105, sr_msgid = 2, sr_err =
>> 0, sr_matched = 0x0, sr_text = 0x0, sr_ref = 0x0,
>> sr_ctrls = 0x0, sr_un = {sru_search = {r_entry = 0x0,
>> r_attr_flags = 0, r_operational_attrs = 0x0, r_attrs = 0x0,
>> r_nentries = 0, r_v2ref = 0x0}, sru_sasl = {r_sasldata =
>> 0x0}, sru_extended = {r_rspoid = 0x0,
>> r_rspdata = 0x0}}, sr_flags = 0}
>> tag = 104
>> opidx = SLAP_OP_ADD
>> conn = 0xb7f3bc10
>> memctx = 0xa372570
>> memctx_null = 0x0
>> __PRETTY_FUNCTION__ = "connection_operation"
>> #12 0x0807a0fd in connection_read_thread (ctx=0x8d9951e8, argv=0x22) at
>> connection.c:1286
>> s =<value optimized out>
>> #13 0x00717a24 in ldap_int_thread_pool_wrapper (xpool=0xa2265c8) at
>> tpool.c:688
>> task = 0xa382e10
>> work_list =<value optimized out>
>> ctx = {ltu_id = 2375637904, ltu_key = {{ltk_key = 0x80ce400,
>> ltk_data = 0xa372570,
>> ltk_free = 0x80ce430<slap_sl_mem_destroy>}, {ltk_key =
>> 0xa363398, ltk_data = 0xa371a88,
>> ltk_free = 0x812e4c0<bdb_reader_free>}, {ltk_key =
>> 0x8078320, ltk_data = 0xa37de68,
>> ltk_free = 0x80783f0<conn_counter_destroy>}, {ltk_key =
>> 0x808dde0, ltk_data = 0x0,
>> ltk_free = 0x808dbf0<slap_op_q_destroy>}, {ltk_key = 0x0,
>> ltk_data = 0x0, ltk_free = 0}<repeats 28 times>}}
>> kctx =<value optimized out>
>> keyslot = 241
>> hash = 5278961
>> __PRETTY_FUNCTION__ = "ldap_int_thread_pool_wrapper"
>> #14 0x00821832 in start_thread () from /lib/libpthread.so.0
>> No symbol table info available.
>> #15 0x002f746e in clone () from /lib/libc.so.6
>> No symbol table info available.
>>
>>
>>
>>
>>
>
>
11 years, 7 months
Re: (ITS#7175) Segv during cache entry delete pcache+back-mdb
by mhardin@symas.com
I agree. Based on the timestamps it looks like we found them about an hour apart :p
-Matt
On Feb 19, 2012, at 5:30 PM, Quanah Gibson-Mount wrote:
> Looks like a dupe of 7174 to me.
>
> --Quanah
>
> On Feb 19, 2012, at 3:26 PM, mhardin(a)symas.com wrote:
>
>> Full_Name: Matthew Hardin
>> Version: 2.4.29
>> OS: Linux (Debian 6)
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (170.215.93.127)
>>
>>
>> During a cache delete operation (TTL expired) a segv is raised.
>>
>> Log and backtrace follow:
>>
>>
>> 4f41809b DELETING ENTRY TEMPLATE=7d824524-ef99-1030-9d9b-fbe800313ae3
>> 4f41809b ==> mdb_delete: cn=managers,ou=group,dc=example,dc=com
>> 4f41809b slap_queue_csn: queing 0x7fffb3e36150
>> 20120219230707.188204Z#000000#000#000000
>> 4f41809b mdb_dn2entry("ou=group,dc=example,dc=com")
>> 4f41809b => mdb_dn2id("ou=group,dc=example,dc=com")
>> 4f41809b <= mdb_dn2id: got id=0x4
>> 4f41809b => mdb_entry_decode:
>> 4f41809b <= mdb_entry_decode
>> 4f41809b mdb_dn2entry("cn=managers,ou=group,dc=example,dc=com")
>> 4f41809b => mdb_dn2id("cn=managers,ou=group,dc=example,dc=com")
>> 4f41809b <= mdb_dn2id: got id=0x5
>> 4f41809b => mdb_entry_decode:
>> 4f41809b <= mdb_entry_decode
>> 4f41809b => access_allowed: delete access to "ou=Group,dc=example,dc=com"
>> "children" requested
>> 4f41809b <= root access granted
>> 4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
>> 4f41809b => access_allowed: delete access to
>> "cn=managers,ou=Group,dc=example,dc=com" "entry" requested
>> 4f41809b <= root access granted
>> 4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
>> 4f41809b => mdb_dn2id_delete 0x5
>> 4f41809b <= mdb_dn2id_delete 0x5: 0
>> 4f41809b => index_entry_del( 5, "cn=managers,ou=Group,dc=example,dc=com" )
>> 4f41809b mdb_idl_delete_keys: 5 [0096defd]
>> 4f41809b mdb_idl_delete_keys: 5 [8cc4ebff]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x7fffb3e37700 (LWP 12696)]
>> 0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10, out=0x7fffb3e35e00,
>> ctx=0xbb8b70) at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
>> 812 /home/matth/suum4x/ldap24/libraries/liblutil/utils.c: No such file or
>> directory.
>>
>> (gdb) thr apply all bt
>>
>> Thread 3 (Thread 0x7fffb3e37700 (LWP 12696)):
>> #0 0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10,
>> out=0x7fffb3e35e00, ctx=0xbb8b70)
>> at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
>> #1 0x000000000048fe9f in integerVal2Key (in=0xbb9370, key=0xbb93c8,
>> tmp=0x7fffb3e35eb0, ctx=0xbb8b70)
>> at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2545
>> #2 0x000000000049029c in integerIndexer (use=163, flags=4, syntax=0x89e3f0,
>> mr=0x8a3c50, prefix=0x8b1158, values=0xbb9370, keysp=0x7fffb3e35f90,
>> ctx=0xbb8b70) at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2634
>> #3 0x000000000053d589 in indexer (op=0x7fffb3e36480, txn=0xccd410,
>> ai=0x91f8c0, ad=0x8b1280, atname=0x8b1158, vals=0xbb9370, id=5, opid=2,
>> mask=4) at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:211
>> #4 0x000000000053d96a in index_at_values (op=0x7fffb3e36480, txn=0xccd410,
>> ad=0x8b1280, type=0x8b10f0, tags=0x8b12a0, vals=0xbb9370, id=5, opid=2)
>> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:337
>> #5 0x000000000053daf1 in mdb_index_values (op=0x7fffb3e36480, txn=0xccd410,
>> desc=0x8b1280, vals=0xbb9370, id=5, opid=2)
>> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:386
>> #6 0x000000000053dfb9 in mdb_index_entry (op=0x7fffb3e36480, txn=0xccd410,
>> opid=2, e=0xbb9178)
>> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:558
>> #7 0x00000000005324e1 in mdb_delete (op=0x7fffb3e36480, rs=0x7fffb3e36340)
>> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/delete.c:348
>> #8 0x0000000000554935 in remove_query_data (op=0x7fffb3e36480,
>> query_uuid=0xcc3090)
>> at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:1838
>> #9 0x0000000000559ce4 in consistency_check (ctx=0x7fffb3e36b90, arg=0x995050)
>> at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:3579
>> #10 0x00007ffff7b8fb32 in ldap_int_thread_pool_wrapper (xpool=0x8b3ae0)
>> at /home/matth/suum4x/ldap24/libraries/libldap_r/tpool.c:688
>> #11 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
>> #12 0x00007ffff646102d in clone () from /lib/libc.so.6
>> #13 0x0000000000000000 in ?? ()
>>
>> Thread 2 (Thread 0x7fffb4638700 (LWP 12695)):
>> #0 0x00007ffff6461623 in epoll_wait () from /lib/libc.so.6
>> #1 0x000000000043e986 in slapd_daemon_task (ptr=0x7fffffffe528)
>> at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2539
>> #2 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
>> #3 0x00007ffff646102d in clone () from /lib/libc.so.6
>> #4 0x0000000000000000 in ?? ()
>>
>> ---Type <return> to continue, or q <return> to quit---
>> Thread 1 (Thread 0x7ffff7fef700 (LWP 12692)):
>> #0 0x00007ffff66fabe5 in pthread_join () from /lib/libpthread.so.0
>> #1 0x00007ffff7b91040 in ldap_pvt_thread_join (thread=140736219809536,
>> thread_return=0x0)
>> at /home/matth/suum4x/ldap24/libraries/libldap_r/thr_posix.c:197
>> #2 0x000000000043fab8 in slapd_daemon ()
>> at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2930
>> #3 0x000000000041d43b in main (argc=3, argv=0x7fffffffe778)
>> at /home/matth/suum4x/ldap24/servers/slapd/main.c:1011
>> (gdb)
>>
>> ##
>> ## SUUM v4 slapd Configuration File. Adjust settings as needed for your
>> ## deployment.
>> ##
>> include "/opt/suum/etc/schema/core.schema"
>> include "/opt/suum/etc/schema/cosine.schema"
>> include "/opt/suum/etc/schema/inetorgperson.schema"
>> include "/opt/suum/etc/schema/misc.schema"
>> include "/opt/suum/etc/schema/rfc2307bis.schema"
>> include "/opt/suum/etc/schema/ldapns.schema"
>>
>> #TLSCACertificateFile "/opt/suum/ssl/cacert.pem"
>>
>> pidfile "/var/symas/suum/slapd.pid"
>> argsfile "/var/symas/suum/slapd.args"
>>
>> modulepath "/opt/suum/lib64/modules"
>> moduleload nssov.la
>>
>> access to dn="" by * read
>> access to *
>> by self write
>> by users read
>> by anonymous auth
>>
>> database ldap
>> suffix "dc=example,dc=com"
>> rootdn "dc=example,dc=com"
>> uri ldap://xxxxxxx
>> idassert-bind bindmethod=simple
>> binddn=cn=proxy,ou=restricted,dc=example,dc=com
>> credentials=secret
>>
>> overlay nssov
>> nssov-pam userhost userservice usergroup
>>
>> nssov-ssd passwd ldap:///ou=People,dc=example,dc=com??one
>> nssov-ssd shadow ldap:///ou=People,dc=example,dc=com??one
>> nssov-ssd group ldap:///ou=Group,dc=example,dc=com??one
>> nssov-ssd hosts ldap:///ou=Hosts,dc=example,dc=com??one
>> nssov-ssd services ldap:///ou=Services,dc=example,dc=com??one
>> nssov-ssd networks ldap:///ou=Networks,dc=example,dc=com??one
>> nssov-ssd protocols ldap:///ou=Protocols,dc=example,dc=com??one
>> nssov-ssd rpc ldap:///ou=Rpc,dc=example,dc=com??one
>> nssov-ssd ethers ldap:///ou=Hosts,dc=example,dc=com??one
>> nssov-ssd netgroup ldap:///ou=Netgroup,dc=example,dc=com??one
>> nssov-ssd aliases ldap:///ou=Aliases,dc=example,dc=com??one
>>
>> overlay pcache
>> response-callback head
>>
>> pcache mdb 500000 11 1000 300
>>
>> pcachePersist FALSE
>>
>> pcacheAttrset 0 cn uid uidNumber gidNumber
>> homeDirectory userPassword loginShell
>> gecos description objectClass
>> pcacheAttrset 1 uid userPassword shadowLastChange shadowMin
>> shadowMax shadowWarning shadowInactive
>> shadowExpire shadowFlag description objectClass
>> pcacheAttrset 2 cn gidNumber userPassword memberUid
>> uniqueMember description objectClass
>> pcacheAttrset 3 cn ipHostNumber l description
>> manager objectClass
>> pcacheAttrset 4 cn ipServicePort ipServiceProtocol description
>> objectClass
>> pcacheAttrset 5 cn ipNetworkNumber ipNetmaskNumber l
>> description manager objectClass
>> pcacheAttrset 6 cn ipProtocolNumber description objectClass
>>
>> pcacheAttrset 7 cn oncRpcNumber description objectClass
>>
>> pcacheAttrset 8 cn macAddress objectClass
>>
>> pcacheAttrset 9 cn nisNetgroupTriple memberNisNetgroup description
>> objectClass
>> pcacheAttrset 10 cn rfc822MailMember objectClass
>>
>> pcacheTemplate
>> (&(objectClass=)(uid=)) 0 60
>>
>> pcacheTemplate
>> (&(objectClass=)(uidNumber=)) 0 60
>>
>> pcacheTemplate
>> (objectClass=) 0 60
>>
>> pcacheTemplate
>> (&(objectClass=)(uid=)) 1 60
>>
>> pcacheTemplate
>> (objectClass=) 2 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 2 60
>>
>> pcacheTemplate
>> (&(objectClass=)(gidNumber=)) 2 60
>>
>> pcacheTemplate
>> (&(objectClass=)(|(memberUid=)(uniqueMember=)) 2 60
>>
>> pcacheTemplate
>> (objectClass=) 3 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 3 60
>>
>> pcacheTemplate
>> (&(objectClass=)(ipHostNumber=)) 3 60
>>
>> pcacheTemplate
>> (objectClass=) 4 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 4 60
>>
>> pcacheTemplate
>> (&(objectClass=)(ipServicePort=)) 4 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)(ipServiceProtocol=)) 4 60
>>
>> pcacheTemplate
>> (&(objectClass=)(ipServicePort=)(ipServiceProtocol=)) 4 60
>>
>> pcacheTemplate
>> (objectClass=) 5 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 5 60
>>
>> pcacheTemplate
>> (&(objectClass=)(ipNetworkNumber=)) 5 60
>>
>> pcacheTemplate
>> (objectClass=) 6 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 6 60
>>
>> pcacheTemplate
>> (&(objectClass=)(ipProtocolNumber=)) 6 60
>>
>> pcacheTemplate
>> (objectClass=) 7 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 7 60
>>
>> pcacheTemplate
>> (&(objectClass=)(oncRpcNumber=)) 7 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 8 60
>>
>> pcacheTemplate
>> (&(objectClass=)(macAddress=)) 8 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 9 60
>>
>> pcacheTemplate
>> (&(objectClass=)(cn=)) 10 60
>>
>> directory "/var/symas/suum/cache"
>>
>> maxsize 1073741824
>>
>> index default eq
>> index objectClass
>> index cn,uid,uidNumber,gidNumber
>> index memberUid,uniqueMember
>> index ipHostNumber,ipServicePort,ipServiceProtocol
>> index ipNetworkNumber,ipProtocolNumber
>> index oncRpcNumber,macAddress
>>
>> # Monitor database
>> database monitor
>>
11 years, 7 months
Re: (ITS#7175) Segv during cache entry delete pcache+back-mdb
by quanah@zimbra.com
Looks like a dupe of 7174 to me.
--Quanah
On Feb 19, 2012, at 3:26 PM, mhardin(a)symas.com wrote:
> Full_Name: Matthew Hardin
> Version: 2.4.29
> OS: Linux (Debian 6)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (170.215.93.127)
>
>
> During a cache delete operation (TTL expired) a segv is raised.
>
> Log and backtrace follow:
>
>
> 4f41809b DELETING ENTRY TEMPLATE=7d824524-ef99-1030-9d9b-fbe800313ae3
> 4f41809b ==> mdb_delete: cn=managers,ou=group,dc=example,dc=com
> 4f41809b slap_queue_csn: queing 0x7fffb3e36150
> 20120219230707.188204Z#000000#000#000000
> 4f41809b mdb_dn2entry("ou=group,dc=example,dc=com")
> 4f41809b => mdb_dn2id("ou=group,dc=example,dc=com")
> 4f41809b <= mdb_dn2id: got id=0x4
> 4f41809b => mdb_entry_decode:
> 4f41809b <= mdb_entry_decode
> 4f41809b mdb_dn2entry("cn=managers,ou=group,dc=example,dc=com")
> 4f41809b => mdb_dn2id("cn=managers,ou=group,dc=example,dc=com")
> 4f41809b <= mdb_dn2id: got id=0x5
> 4f41809b => mdb_entry_decode:
> 4f41809b <= mdb_entry_decode
> 4f41809b => access_allowed: delete access to "ou=Group,dc=example,dc=com"
> "children" requested
> 4f41809b <= root access granted
> 4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
> 4f41809b => access_allowed: delete access to
> "cn=managers,ou=Group,dc=example,dc=com" "entry" requested
> 4f41809b <= root access granted
> 4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
> 4f41809b => mdb_dn2id_delete 0x5
> 4f41809b <= mdb_dn2id_delete 0x5: 0
> 4f41809b => index_entry_del( 5, "cn=managers,ou=Group,dc=example,dc=com" )
> 4f41809b mdb_idl_delete_keys: 5 [0096defd]
> 4f41809b mdb_idl_delete_keys: 5 [8cc4ebff]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffb3e37700 (LWP 12696)]
> 0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10, out=0x7fffb3e35e00,
> ctx=0xbb8b70) at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
> 812 /home/matth/suum4x/ldap24/libraries/liblutil/utils.c: No such file or
> directory.
>
> (gdb) thr apply all bt
>
> Thread 3 (Thread 0x7fffb3e37700 (LWP 12696)):
> #0 0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10,
> out=0x7fffb3e35e00, ctx=0xbb8b70)
> at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
> #1 0x000000000048fe9f in integerVal2Key (in=0xbb9370, key=0xbb93c8,
> tmp=0x7fffb3e35eb0, ctx=0xbb8b70)
> at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2545
> #2 0x000000000049029c in integerIndexer (use=163, flags=4, syntax=0x89e3f0,
> mr=0x8a3c50, prefix=0x8b1158, values=0xbb9370, keysp=0x7fffb3e35f90,
> ctx=0xbb8b70) at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2634
> #3 0x000000000053d589 in indexer (op=0x7fffb3e36480, txn=0xccd410,
> ai=0x91f8c0, ad=0x8b1280, atname=0x8b1158, vals=0xbb9370, id=5, opid=2,
> mask=4) at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:211
> #4 0x000000000053d96a in index_at_values (op=0x7fffb3e36480, txn=0xccd410,
> ad=0x8b1280, type=0x8b10f0, tags=0x8b12a0, vals=0xbb9370, id=5, opid=2)
> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:337
> #5 0x000000000053daf1 in mdb_index_values (op=0x7fffb3e36480, txn=0xccd410,
> desc=0x8b1280, vals=0xbb9370, id=5, opid=2)
> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:386
> #6 0x000000000053dfb9 in mdb_index_entry (op=0x7fffb3e36480, txn=0xccd410,
> opid=2, e=0xbb9178)
> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:558
> #7 0x00000000005324e1 in mdb_delete (op=0x7fffb3e36480, rs=0x7fffb3e36340)
> at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/delete.c:348
> #8 0x0000000000554935 in remove_query_data (op=0x7fffb3e36480,
> query_uuid=0xcc3090)
> at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:1838
> #9 0x0000000000559ce4 in consistency_check (ctx=0x7fffb3e36b90, arg=0x995050)
> at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:3579
> #10 0x00007ffff7b8fb32 in ldap_int_thread_pool_wrapper (xpool=0x8b3ae0)
> at /home/matth/suum4x/ldap24/libraries/libldap_r/tpool.c:688
> #11 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
> #12 0x00007ffff646102d in clone () from /lib/libc.so.6
> #13 0x0000000000000000 in ?? ()
>
> Thread 2 (Thread 0x7fffb4638700 (LWP 12695)):
> #0 0x00007ffff6461623 in epoll_wait () from /lib/libc.so.6
> #1 0x000000000043e986 in slapd_daemon_task (ptr=0x7fffffffe528)
> at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2539
> #2 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
> #3 0x00007ffff646102d in clone () from /lib/libc.so.6
> #4 0x0000000000000000 in ?? ()
>
> ---Type <return> to continue, or q <return> to quit---
> Thread 1 (Thread 0x7ffff7fef700 (LWP 12692)):
> #0 0x00007ffff66fabe5 in pthread_join () from /lib/libpthread.so.0
> #1 0x00007ffff7b91040 in ldap_pvt_thread_join (thread=140736219809536,
> thread_return=0x0)
> at /home/matth/suum4x/ldap24/libraries/libldap_r/thr_posix.c:197
> #2 0x000000000043fab8 in slapd_daemon ()
> at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2930
> #3 0x000000000041d43b in main (argc=3, argv=0x7fffffffe778)
> at /home/matth/suum4x/ldap24/servers/slapd/main.c:1011
> (gdb)
>
> ##
> ## SUUM v4 slapd Configuration File. Adjust settings as needed for your
> ## deployment.
> ##
> include "/opt/suum/etc/schema/core.schema"
> include "/opt/suum/etc/schema/cosine.schema"
> include "/opt/suum/etc/schema/inetorgperson.schema"
> include "/opt/suum/etc/schema/misc.schema"
> include "/opt/suum/etc/schema/rfc2307bis.schema"
> include "/opt/suum/etc/schema/ldapns.schema"
>
> #TLSCACertificateFile "/opt/suum/ssl/cacert.pem"
>
> pidfile "/var/symas/suum/slapd.pid"
> argsfile "/var/symas/suum/slapd.args"
>
> modulepath "/opt/suum/lib64/modules"
> moduleload nssov.la
>
> access to dn="" by * read
> access to *
> by self write
> by users read
> by anonymous auth
>
> database ldap
> suffix "dc=example,dc=com"
> rootdn "dc=example,dc=com"
> uri ldap://xxxxxxx
> idassert-bind bindmethod=simple
> binddn=cn=proxy,ou=restricted,dc=example,dc=com
> credentials=secret
>
> overlay nssov
> nssov-pam userhost userservice usergroup
>
> nssov-ssd passwd ldap:///ou=People,dc=example,dc=com??one
> nssov-ssd shadow ldap:///ou=People,dc=example,dc=com??one
> nssov-ssd group ldap:///ou=Group,dc=example,dc=com??one
> nssov-ssd hosts ldap:///ou=Hosts,dc=example,dc=com??one
> nssov-ssd services ldap:///ou=Services,dc=example,dc=com??one
> nssov-ssd networks ldap:///ou=Networks,dc=example,dc=com??one
> nssov-ssd protocols ldap:///ou=Protocols,dc=example,dc=com??one
> nssov-ssd rpc ldap:///ou=Rpc,dc=example,dc=com??one
> nssov-ssd ethers ldap:///ou=Hosts,dc=example,dc=com??one
> nssov-ssd netgroup ldap:///ou=Netgroup,dc=example,dc=com??one
> nssov-ssd aliases ldap:///ou=Aliases,dc=example,dc=com??one
>
> overlay pcache
> response-callback head
>
> pcache mdb 500000 11 1000 300
>
> pcachePersist FALSE
>
> pcacheAttrset 0 cn uid uidNumber gidNumber
> homeDirectory userPassword loginShell
> gecos description objectClass
> pcacheAttrset 1 uid userPassword shadowLastChange shadowMin
> shadowMax shadowWarning shadowInactive
> shadowExpire shadowFlag description objectClass
> pcacheAttrset 2 cn gidNumber userPassword memberUid
> uniqueMember description objectClass
> pcacheAttrset 3 cn ipHostNumber l description
> manager objectClass
> pcacheAttrset 4 cn ipServicePort ipServiceProtocol description
> objectClass
> pcacheAttrset 5 cn ipNetworkNumber ipNetmaskNumber l
> description manager objectClass
> pcacheAttrset 6 cn ipProtocolNumber description objectClass
>
> pcacheAttrset 7 cn oncRpcNumber description objectClass
>
> pcacheAttrset 8 cn macAddress objectClass
>
> pcacheAttrset 9 cn nisNetgroupTriple memberNisNetgroup description
> objectClass
> pcacheAttrset 10 cn rfc822MailMember objectClass
>
> pcacheTemplate
> (&(objectClass=)(uid=)) 0 60
>
> pcacheTemplate
> (&(objectClass=)(uidNumber=)) 0 60
>
> pcacheTemplate
> (objectClass=) 0 60
>
> pcacheTemplate
> (&(objectClass=)(uid=)) 1 60
>
> pcacheTemplate
> (objectClass=) 2 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 2 60
>
> pcacheTemplate
> (&(objectClass=)(gidNumber=)) 2 60
>
> pcacheTemplate
> (&(objectClass=)(|(memberUid=)(uniqueMember=)) 2 60
>
> pcacheTemplate
> (objectClass=) 3 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 3 60
>
> pcacheTemplate
> (&(objectClass=)(ipHostNumber=)) 3 60
>
> pcacheTemplate
> (objectClass=) 4 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 4 60
>
> pcacheTemplate
> (&(objectClass=)(ipServicePort=)) 4 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)(ipServiceProtocol=)) 4 60
>
> pcacheTemplate
> (&(objectClass=)(ipServicePort=)(ipServiceProtocol=)) 4 60
>
> pcacheTemplate
> (objectClass=) 5 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 5 60
>
> pcacheTemplate
> (&(objectClass=)(ipNetworkNumber=)) 5 60
>
> pcacheTemplate
> (objectClass=) 6 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 6 60
>
> pcacheTemplate
> (&(objectClass=)(ipProtocolNumber=)) 6 60
>
> pcacheTemplate
> (objectClass=) 7 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 7 60
>
> pcacheTemplate
> (&(objectClass=)(oncRpcNumber=)) 7 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 8 60
>
> pcacheTemplate
> (&(objectClass=)(macAddress=)) 8 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 9 60
>
> pcacheTemplate
> (&(objectClass=)(cn=)) 10 60
>
> directory "/var/symas/suum/cache"
>
> maxsize 1073741824
>
> index default eq
> index objectClass
> index cn,uid,uidNumber,gidNumber
> index memberUid,uniqueMember
> index ipHostNumber,ipServicePort,ipServiceProtocol
> index ipNetworkNumber,ipProtocolNumber
> index oncRpcNumber,macAddress
>
> # Monitor database
> database monitor
>
11 years, 7 months
(ITS#7175) Segv during cache entry delete pcache+back-mdb
by mhardin@symas.com
Full_Name: Matthew Hardin
Version: 2.4.29
OS: Linux (Debian 6)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (170.215.93.127)
During a cache delete operation (TTL expired) a segv is raised.
Log and backtrace follow:
4f41809b DELETING ENTRY TEMPLATE=7d824524-ef99-1030-9d9b-fbe800313ae3
4f41809b ==> mdb_delete: cn=managers,ou=group,dc=example,dc=com
4f41809b slap_queue_csn: queing 0x7fffb3e36150
20120219230707.188204Z#000000#000#000000
4f41809b mdb_dn2entry("ou=group,dc=example,dc=com")
4f41809b => mdb_dn2id("ou=group,dc=example,dc=com")
4f41809b <= mdb_dn2id: got id=0x4
4f41809b => mdb_entry_decode:
4f41809b <= mdb_entry_decode
4f41809b mdb_dn2entry("cn=managers,ou=group,dc=example,dc=com")
4f41809b => mdb_dn2id("cn=managers,ou=group,dc=example,dc=com")
4f41809b <= mdb_dn2id: got id=0x5
4f41809b => mdb_entry_decode:
4f41809b <= mdb_entry_decode
4f41809b => access_allowed: delete access to "ou=Group,dc=example,dc=com"
"children" requested
4f41809b <= root access granted
4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
4f41809b => access_allowed: delete access to
"cn=managers,ou=Group,dc=example,dc=com" "entry" requested
4f41809b <= root access granted
4f41809b => access_allowed: delete access granted by manage(=mwrscxd)
4f41809b => mdb_dn2id_delete 0x5
4f41809b <= mdb_dn2id_delete 0x5: 0
4f41809b => index_entry_del( 5, "cn=managers,ou=Group,dc=example,dc=com" )
4f41809b mdb_idl_delete_keys: 5 [0096defd]
4f41809b mdb_idl_delete_keys: 5 [8cc4ebff]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb3e37700 (LWP 12696)]
0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10, out=0x7fffb3e35e00,
ctx=0xbb8b70) at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
812 /home/matth/suum4x/ldap24/libraries/liblutil/utils.c: No such file or
directory.
(gdb) thr apply all bt
Thread 3 (Thread 0x7fffb3e37700 (LWP 12696)):
#0 0x0000000000586b8b in lutil_str2bin (in=0x7fffb3e35e10,
out=0x7fffb3e35e00, ctx=0xbb8b70)
at /home/matth/suum4x/ldap24/libraries/liblutil/utils.c:812
#1 0x000000000048fe9f in integerVal2Key (in=0xbb9370, key=0xbb93c8,
tmp=0x7fffb3e35eb0, ctx=0xbb8b70)
at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2545
#2 0x000000000049029c in integerIndexer (use=163, flags=4, syntax=0x89e3f0,
mr=0x8a3c50, prefix=0x8b1158, values=0xbb9370, keysp=0x7fffb3e35f90,
ctx=0xbb8b70) at /home/matth/suum4x/ldap24/servers/slapd/schema_init.c:2634
#3 0x000000000053d589 in indexer (op=0x7fffb3e36480, txn=0xccd410,
ai=0x91f8c0, ad=0x8b1280, atname=0x8b1158, vals=0xbb9370, id=5, opid=2,
mask=4) at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:211
#4 0x000000000053d96a in index_at_values (op=0x7fffb3e36480, txn=0xccd410,
ad=0x8b1280, type=0x8b10f0, tags=0x8b12a0, vals=0xbb9370, id=5, opid=2)
at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:337
#5 0x000000000053daf1 in mdb_index_values (op=0x7fffb3e36480, txn=0xccd410,
desc=0x8b1280, vals=0xbb9370, id=5, opid=2)
at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:386
#6 0x000000000053dfb9 in mdb_index_entry (op=0x7fffb3e36480, txn=0xccd410,
opid=2, e=0xbb9178)
at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/index.c:558
#7 0x00000000005324e1 in mdb_delete (op=0x7fffb3e36480, rs=0x7fffb3e36340)
at /home/matth/suum4x/ldap24/servers/slapd/back-mdb/delete.c:348
#8 0x0000000000554935 in remove_query_data (op=0x7fffb3e36480,
query_uuid=0xcc3090)
at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:1838
#9 0x0000000000559ce4 in consistency_check (ctx=0x7fffb3e36b90, arg=0x995050)
at /home/matth/suum4x/ldap24/servers/slapd/overlays/pcache.c:3579
#10 0x00007ffff7b8fb32 in ldap_int_thread_pool_wrapper (xpool=0x8b3ae0)
at /home/matth/suum4x/ldap24/libraries/libldap_r/tpool.c:688
#11 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
#12 0x00007ffff646102d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffb4638700 (LWP 12695)):
#0 0x00007ffff6461623 in epoll_wait () from /lib/libc.so.6
#1 0x000000000043e986 in slapd_daemon_task (ptr=0x7fffffffe528)
at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2539
#2 0x00007ffff66f98ba in start_thread () from /lib/libpthread.so.0
#3 0x00007ffff646102d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 0x7ffff7fef700 (LWP 12692)):
#0 0x00007ffff66fabe5 in pthread_join () from /lib/libpthread.so.0
#1 0x00007ffff7b91040 in ldap_pvt_thread_join (thread=140736219809536,
thread_return=0x0)
at /home/matth/suum4x/ldap24/libraries/libldap_r/thr_posix.c:197
#2 0x000000000043fab8 in slapd_daemon ()
at /home/matth/suum4x/ldap24/servers/slapd/daemon.c:2930
#3 0x000000000041d43b in main (argc=3, argv=0x7fffffffe778)
at /home/matth/suum4x/ldap24/servers/slapd/main.c:1011
(gdb)
##
## SUUM v4 slapd Configuration File. Adjust settings as needed for your
## deployment.
##
include "/opt/suum/etc/schema/core.schema"
include "/opt/suum/etc/schema/cosine.schema"
include "/opt/suum/etc/schema/inetorgperson.schema"
include "/opt/suum/etc/schema/misc.schema"
include "/opt/suum/etc/schema/rfc2307bis.schema"
include "/opt/suum/etc/schema/ldapns.schema"
#TLSCACertificateFile "/opt/suum/ssl/cacert.pem"
pidfile "/var/symas/suum/slapd.pid"
argsfile "/var/symas/suum/slapd.args"
modulepath "/opt/suum/lib64/modules"
moduleload nssov.la
access to dn="" by * read
access to *
by self write
by users read
by anonymous auth
database ldap
suffix "dc=example,dc=com"
rootdn "dc=example,dc=com"
uri ldap://xxxxxxx
idassert-bind bindmethod=simple
binddn=cn=proxy,ou=restricted,dc=example,dc=com
credentials=secret
overlay nssov
nssov-pam userhost userservice usergroup
nssov-ssd passwd ldap:///ou=People,dc=example,dc=com??one
nssov-ssd shadow ldap:///ou=People,dc=example,dc=com??one
nssov-ssd group ldap:///ou=Group,dc=example,dc=com??one
nssov-ssd hosts ldap:///ou=Hosts,dc=example,dc=com??one
nssov-ssd services ldap:///ou=Services,dc=example,dc=com??one
nssov-ssd networks ldap:///ou=Networks,dc=example,dc=com??one
nssov-ssd protocols ldap:///ou=Protocols,dc=example,dc=com??one
nssov-ssd rpc ldap:///ou=Rpc,dc=example,dc=com??one
nssov-ssd ethers ldap:///ou=Hosts,dc=example,dc=com??one
nssov-ssd netgroup ldap:///ou=Netgroup,dc=example,dc=com??one
nssov-ssd aliases ldap:///ou=Aliases,dc=example,dc=com??one
overlay pcache
response-callback head
pcache mdb 500000 11 1000 300
pcachePersist FALSE
pcacheAttrset 0 cn uid uidNumber gidNumber
homeDirectory userPassword loginShell
gecos description objectClass
pcacheAttrset 1 uid userPassword shadowLastChange shadowMin
shadowMax shadowWarning shadowInactive
shadowExpire shadowFlag description objectClass
pcacheAttrset 2 cn gidNumber userPassword memberUid
uniqueMember description objectClass
pcacheAttrset 3 cn ipHostNumber l description
manager objectClass
pcacheAttrset 4 cn ipServicePort ipServiceProtocol description
objectClass
pcacheAttrset 5 cn ipNetworkNumber ipNetmaskNumber l
description manager objectClass
pcacheAttrset 6 cn ipProtocolNumber description objectClass
pcacheAttrset 7 cn oncRpcNumber description objectClass
pcacheAttrset 8 cn macAddress objectClass
pcacheAttrset 9 cn nisNetgroupTriple memberNisNetgroup description
objectClass
pcacheAttrset 10 cn rfc822MailMember objectClass
pcacheTemplate
(&(objectClass=)(uid=)) 0 60
pcacheTemplate
(&(objectClass=)(uidNumber=)) 0 60
pcacheTemplate
(objectClass=) 0 60
pcacheTemplate
(&(objectClass=)(uid=)) 1 60
pcacheTemplate
(objectClass=) 2 60
pcacheTemplate
(&(objectClass=)(cn=)) 2 60
pcacheTemplate
(&(objectClass=)(gidNumber=)) 2 60
pcacheTemplate
(&(objectClass=)(|(memberUid=)(uniqueMember=)) 2 60
pcacheTemplate
(objectClass=) 3 60
pcacheTemplate
(&(objectClass=)(cn=)) 3 60
pcacheTemplate
(&(objectClass=)(ipHostNumber=)) 3 60
pcacheTemplate
(objectClass=) 4 60
pcacheTemplate
(&(objectClass=)(cn=)) 4 60
pcacheTemplate
(&(objectClass=)(ipServicePort=)) 4 60
pcacheTemplate
(&(objectClass=)(cn=)(ipServiceProtocol=)) 4 60
pcacheTemplate
(&(objectClass=)(ipServicePort=)(ipServiceProtocol=)) 4 60
pcacheTemplate
(objectClass=) 5 60
pcacheTemplate
(&(objectClass=)(cn=)) 5 60
pcacheTemplate
(&(objectClass=)(ipNetworkNumber=)) 5 60
pcacheTemplate
(objectClass=) 6 60
pcacheTemplate
(&(objectClass=)(cn=)) 6 60
pcacheTemplate
(&(objectClass=)(ipProtocolNumber=)) 6 60
pcacheTemplate
(objectClass=) 7 60
pcacheTemplate
(&(objectClass=)(cn=)) 7 60
pcacheTemplate
(&(objectClass=)(oncRpcNumber=)) 7 60
pcacheTemplate
(&(objectClass=)(cn=)) 8 60
pcacheTemplate
(&(objectClass=)(macAddress=)) 8 60
pcacheTemplate
(&(objectClass=)(cn=)) 9 60
pcacheTemplate
(&(objectClass=)(cn=)) 10 60
directory "/var/symas/suum/cache"
maxsize 1073741824
index default eq
index objectClass
index cn,uid,uidNumber,gidNumber
index memberUid,uniqueMember
index ipHostNumber,ipServicePort,ipServiceProtocol
index ipNetworkNumber,ipProtocolNumber
index oncRpcNumber,macAddress
# Monitor database
database monitor
11 years, 7 months