[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd on Solaris 8?? (ITS#1159)



Kurt,

I applied the patch to 2.0.10 and make test completed with no problem.  I
am not sure why rootdse test reported double sasl mechs.

Thanks for the patch.  :)

-Igor

cd tests; make test
make[1]: Entering directory `/var/src/openldap-2.0.10/tests'
ln: cannot create ./data: File exists
make[1]: [test-ldbm] Error 2 (ignored)
ln: cannot create ./schema: File exists
make[1]: [test-ldbm] Error 2 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
dn:
namingContexts: o=OpenLDAP Project,l=Internet
supportedControl: 2.16.840.1.113730.3.4.2
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.1466.20037
supportedLDAPVersion: 2
supportedLDAPVersion: 3
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5
supportedSASLMechanisms: CRAM-MD5
subschemaSubentry: cn=Subschema

>>>>> Test succeeded
>>>>> ./scripts/test000-rootdse completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test001-slapadd ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test001-slapadd completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test002-populate ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Using ldapsearch to read all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test002-populate completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test003-search ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Running slapindex to index slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd searching...
Testing exact searching...
Testing OR searching...
Testing AND matching and ends-with searching...
Testing NOT searching...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test003-search completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test004-modify ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd modify operations...
Waiting 5 seconds for slapd to start...
Testing modify, add, and delete...
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test004-modify completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test005-modrdn ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd modrdn operations...
Waiting 5 seconds for slapd to start...
Testing modrdn(deleteoldrdn=0)...
Testing modrdn(deleteoldrdn=1)...
Using ldapsearch to retrieve entries using new rdn (cn=James A Jones
III)...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
Using ldapsearch to retrieve entries using new rdn (cn=James A Jones
II)...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
Using ldapsearch to retrieve entries using removed rdn (cn=James A Jones
2)...
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
Testing modrdn(deleteoldrdn=1), modrdn with new rdn already an att val...
Using ldapsearch to retrieve entries using new rdn (cn=James A Jones 1)...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test005-modrdn completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test006-acls ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd access control...
Waiting 5 seconds for slapd to start...
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test006-acls completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test007-replication ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Cleaning up in ./test-repl...
Starting master slapd on TCP/IP port 9009...
Starting slave slapd on TCP/IP port 9010...
Using ldapsearch to check that master slapd is running...
Using ldapsearch to check that slave slapd is running...
Starting slurpd...
Using ldapadd to populate the master directory...
Waiting 15 seconds for slurpd to send changes...
Using ldapmodify to modify master directory...
Waiting 15 seconds for slurpd to send changes...
Using ldapsearch to read all the entries from the master...
Using ldapsearch to read all the entries from the slave...
3603 Killed
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing retrieved entries from master and slave...
>>>>> Test succeeded
>>>>> ./scripts/test007-replication completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test008-concurrency ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Waiting 5 seconds for slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Using tester for concurrent server access...
PID=3629 - Search(200): base="o=University of Michigan, c=US",
filter="cn=Barbara Jensen".
PID=3630 - Read(200): entry="cn=Barbara Jensen, ou=Information Technology
Division, ou=People, o=University of Michigan, c=US".
PID=3631 - Add/Delete(50): entry="cn=James A Jones 2, ou=Alumni
Association, ou=People, o=University of Michigan, c=US".
PID=3632 - Search(200): base="o=University of Michigan, c=US",
filter="cn=Bjorn Jensen".
PID=3633 - Read(200): entry="cn=ITD Staff,ou=Groups,o=University of
Michigan,c=US".
PID=3634 - Search(200): base="o=University of Michigan, c=US",
filter="cn=James A Jones 1".
PID=3635 - Read(200): entry="ou=Groups, o=University of Michigan, c=US".
PID=3636 - Search(200): base="o=University of Michigan, c=US",
filter="cn=Bjorn Jensen".
PID=3637 - Read(200): entry="ou=Alumni Association, ou=People,
o=University of Michigan, c=US".
PID=3638 - Search(200): base="o=University of Michigan, c=US",
filter="cn=Alumni Assoc Staff".
PID=3639 - Read(200): entry="cn=James A Jones 1, ou=Alumni Association,
ou=People, o=University of Michigan, c=US".
 PID=3629 - Search done.
 PID=3630 - Read done.
 PID=3639 - Read done.
 PID=3633 - Read done.
 PID=3635 - Read done.
 PID=3632 - Search done.
 PID=3634 - Search done.
 PID=3637 - Read done.
 PID=3636 - Search done.
 PID=3638 - Search done.
 PID=3631 - Add/Delete done.
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test008-concurrency completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test009-referral ...
running defines.sh . ldbm
Cleaning up in ./test-db and ./test-repl ...
rm: ./test-repl/replica is a directory
Running slapadd to build slapd database...
Starting master slapd on TCP/IP port 9009...
Starting slave slapd on TCP/IP port 9010...
Testing for master slapd...
Waiting 5 seconds for slapd to start...
Testing for slave slapd...
Testing exact searching...
Testing OR searching...
Testing AND matching and ends-with searching...
Testing NOT searching...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded
>>>>> ./scripts/test009-referral completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test010-passwd ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Using ldapsearch to verify population ...
Using ldappasswd (PASS 1)  ...
Using ldappasswd (PASS 2)  ...
>>>>> Test succeeded
>>>>> ./scripts/test010-passwd completed OK.
>>>>> waiting 10 seconds for things to exit


On Wed, 23 May 2001, Kurt D. Zeilenga wrote:

> Please try this patch:
> http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/at.c.diff?r1=1.15.2.5&r2=1.15.2.6
>
> -Kurt
>
> At 04:40 PM 5/21/01, lorenb@420consulting.com wrote:
> >Full_Name: Loren Bandiera
> >Version: 2.0.9-Release
> >OS: Solaris 2.8
> >URL:
> >Submission from: (NULL) (24.42.105.22)
> >
> >
> >
> >I downloaded and I compiled openldap 2.0.9-Release on Solaris 2.8.  I compiled
> >it like this:
> >
> >env CPPFLAGS="-I/usr/local/include -I/usr/local/ssl/include
> >-I/usr/local/BerkeleyDB.3.2/include" \
> >    LDFLAGS="-L/usr/local/lib -L/usr/local/ssl/lib
> >-L/usr/local/BerkeleyDB.3.2/lib" \
> >    ./configure --sysconfdir=/etc
> >
> >Everything seemed to compile fine.  I'm using gcc 2.95.3.  However when I tried
> >and load slapd, it just dies right away.  In debug mode it tells me:
> >
> >@(#) $OpenLDAP: slapd 2.0.9-Release (Mon May 21 17:00:45 EDT 2001) $
> >        root@death:/opt/src/openldap-2.0.9/servers/slapd
> >daemon_init: listen on ldap:///
> >daemon_init: 1 listeners to open...
> >ldap_url_parse_ext(ldap:///)
> >daemon: initialized ldap:///
> >daemon_init: 1 listeners opened
> >slapd init: initiated server.
> >/etc/openldap/schema/core.schema: line 29: Unknown error: "( 2.5.18.1 NAME
> >'createTimestamp'
> >EQUALITY generalizedTimeMatch ORDERING generalizedTimeOrderingMatch SYNTAX
> >1.3.6.1.4.1.1466.115.121.1.24
> >SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )"
> >slapd shutdown: freeing system resources.
> >slapd stopped.
> >connections_destory: nothing to destory
> >
> >If I comment out that line in the core.schema, it just complains about the next
> >one.
> >
> >I couldn't find any information about what might be causing this.
>
>