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

Re: (ITS#5117) test049/test050 failures



kurt@OpenLDAP.org wrote:
> Full_Name: Kurt Zeilenga
> Version: HEAD
> OS: MacoSX 10.4.8/FreeBSD 6.2
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (24.180.46.200)
> Submitted by: kurt
> 
> 
> On both MacOS X and FreeBSD, I see test047 fail trying to configure the server
> via cn=config.  Both built using ./configure --enable-backends
> --enable-overlays, nothing fancy.
> 
> Cleaning up test run directory leftover from previous run.
> Running ./scripts/test049-sync-config...
> running defines.sh
> Starting producer slapd on TCP/IP port 9011...
> Using ldapsearch to check that producer slapd is running...
> Inserting syncprov overlay on producer...
> Starting consumer slapd on TCP/IP port 9012...
> Using ldapsearch to check that consumer slapd is running...
> Configuring syncrepl on consumer...
> Waiting 10 seconds for syncrepl to receive changes...
> Using ldapsearch to check that syncrepl received config changes...
> Adding schema and databases on producer...

I see the same result on FreeBSD 6.2. It appears to be because libfetch was 
detected by configure and used here, and libfetch failed to open the FILE URLs 
that load the necessary schema.

> ldapadd failed for database config (21)!
> 
> where test.out contains:
> ldap_add: Invalid syntax (21)
>     additional info: olcSuffix: value #0 invalid per syntax
> 
> and the LDIF was:
> dn: olcDatabase={1}bdb,cn=config
> objectClass: olcDatabaseConfig
> objectClass: olcbdbConfig
> olcDatabase: {1}bdb
> olcSuffix: dc=example,dc=com
> olcDbDirectory: ./db
> olcRootDN: cn=Manager,dc=example,dc=com
> olcRootPW: secret
> olcSyncRepl: rid=002 provider=ldap://localhost:9011/
> binddn="cn=Manager,dc=example,dc=com" bindmethod=simple
>   credentials=secret searchbase="dc=example,dc=com" type=refreshOnly
>   interval=00:00:00:10
> olcUpdateRef: ldap://localhost:9011/
> 
> dn: olcOverlay=syncprov,olcDatabase={1}bdb,cn=config
> changetype: add
> objectClass: olcOverlayConfig
> objectClass: olcSyncProvConfig
> olcOverlay: syncprov
> 
> 
> 
> 


-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/