[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap-stable fails tests on Solaris, segfaults.
> Then, assuming the ACL tests fails, I suggest doing the diff by hand
> and using this to determine which operation failed. Knowning this,
> I'd then examine master.log to determine why it failed.
Thanks for the help so far, Kurt. I apperciate it. The answer'a gotta be
here somewhere.
I unpacked the source, and did a clean build without threads.
The ACL test fails at line 26, and the diff shows:
*** ./test-db/ldapsearch.flt Wed Sep 22 22:28:11 1999
--- ./test-db/ldif.flt Wed Sep 22 22:28:11 1999
***************
*** 23,53 ****
mail: jaj@mail.alumni.umich.edu
facsimiletelephonenumber: +1 313 555 4332
telephonenumber: +1 313 555 0895
- dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University
of Mich
- igan, c=US
<snip>
--- 23,28 ----
***************
*** 167,197 ****
facsimiletelephonenumber: +1 313 555 2177
telephonenumber: +1 313 555 0355
- dn: cn=Dorothy Stevens, ou=Alumni Association, ou=Peo
I have trawled the master.log for relevant bits (the whole file is
over 200k).
There last mention (among several) of "James A Jones" is here:
====> cache_find_entry_dn2id: found id: 10 rw: 0
entry_rdwr_rtrylock: ID: 10
<= id2entry_r 0x60c08 (cache)
=> acl_get: edn CN=JAMES A JONES 1,OU=ALUMNI
ASSOCIATION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US
=> acl_get: [1] check attr objectclass
<= check a_dnpat: .*
=> string_expand: pattern: .*
=> string_expand: expanded: .*
=> regex_matches: string:
=> regex_matches: rc: 0 matches
=> send_search_entry (cn=James A Jones 1, ou=Alumni Association,
ou=People, o=University of Michigan, c=US)
=> acl_get: edn CN=JAMES A JONES 1,OU=ALUMNI
ASSOCIATION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US
=> acl_get: [1] check attr entry
=> acl_get: [2] check attr entry
and "Dorothy Stevens" appears only once:
====> cache_return_entry_r
entry_rdwr_runlock: ID: 5
=> id2entry_r( 6 )
=> ldbm_cache_open( "./test-db/id2entry.dbb", 7, 600 )
<= ldbm_cache_open (cache 1)
=> str2entry
<= str2entry 0x112150
entry_rdwr_rlock: ID: 6
<= id2entry_r( 6 ) (disk)
=> acl_get: edn CN=DOROTHY STEVENS,OU=ALUMNI
ASSOCIATION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US
=> acl_get: [1] check attr objectclass
<= check a_dnpat: .*
=> string_expand: pattern: .*
=> string_expand: expanded: .*
=> regex_matches: string:
=> regex_matches: rc: 0 matches
=> send_search_entry (cn=Dorothy Stevens, ou=Alumni Association,
ou=People, o=University of Michigan, c=US)
=> acl_get: edn CN=DOROTHY STEVENS,OU=ALUMNI
ASSOCIATION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US
=> acl_get: [1] check attr entry
=> acl_get: [2] check attr entry
=> dnpat: [3] .*,OU=ALUMNI ASSOCIATION,OU=PEOPLE,O=UNIVERSITY OF
MICHIGAN,C=US nsub: 0
=> acl_get: [4] check attr entry
=> dnpat: [6] .* nsub: 0
=> acl_get:[6] backend ACL match
=> acl_get: [6] check attr entry
<= check a_dnpat: .*
=> string_expand: pattern: .*
=> string_expand: expanded: .*
=> regex_matches: string:
=> regex_matches: rc: 0 matches
So, no failure or error messages that I can see. I have this awful
feeling I am missing something very obvious...
--
~~~~~~~~~~~~~~~~~~~~~~~~ Paul Barnfather ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| plb@clanger9.demon.co.uk paul.barnfather@northern-electric.co.uk |
| __ http://www.clanger9.demon.co.uk . |
o--o-... 75TS o'~o... 750SS