ldapmodify error when trying to run Directory Prep for Messaging install

Hi,

Has anybody else seen this? After installing Directory server when I run comm_dssetup.pl to do the preparation for Messaging I get an ldapmodify error.

(Red Hat Enterprise Linux AS release 4 update 5)

/opt/sun/comms/dssetup/sbin# ./comm_dssetup.pl

Welcome to the Directory Server preparation tool for

Sun Java(tm) System communication services.

dssetup Version 6.4-0.08 (built Mon Dec 11 13:39:08 PST 2006)

This tool prepares your directory server for use by the

communications services which include Messaging, Calendar and their components.

The logfile is /var/tmp/dssetup_20070629103001.log.

Do you want to continue [y]:

Please enter the full path to the directory where the

Directory Server instance(s) reside ("server-root"), or

an explicit Directory Server instance directory

Directory server root [/var/opt/sun/dsins1] :

Please enter the directory manager DN [cn=Directory Manager]:

Password:

Detected DS version 6.0

Will this directory server be used for users/groups [yes]: no

Do you want to update the schema files [yes]:

Here is a summary of the settings that you chose:

Server Root: /var/opt/sun

Server Instance: dsins1

Users/Groups Directory : no

Update Schema : yes

Schema Type:

Directory Manager DN: cn=Directory Manager

Now ready to generate a shell script and ldif file to modify the Directory.

No changes to the Directory Server will be made this time.

Do you want to continue [y]:

<skipped a few installation lines>

-- Applying ldif file /var/tmp/dssetup_20070629110011.ldif

ldap_add: No such object

ldap_add: No such object

modifying entry cn=schema

modifying entry cn=schema

adding new entry o=comms-config

adding new entry cn=CommServers,o=comms-config

-- rejects to /var/tmp/dssetup_20070629110011.ldif.rej status = 32

-- ERROR: ldapmodify returned 32

[2032 byte] By [k_sysadmina] at [2007-11-27 9:34:44]
# 1

Hi,

I have ran the directory prep tool on a few Redhat installs and had no issues.

>> Will this directory server be used for users/groups [yes]: no

Why did you select 'no'? Do you host user/group entries on another directory instance?

>> -- rejects to /var/tmp/dssetup_20070629110011.ldif.rej status = 32

>> -- ERROR: ldapmodify returned 32

The above listed file will tell you what was rejected. The directory server access logs will also say why they were rejected -- looks like you have some digging to do.

Regards,

Shane.

shane_hjortha at 2007-7-12 22:59:42 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Thanks for responding, Shane.

Yes we already have several messaging servers on Solaris and the user entries exist on a central ldap server.

Error 32 just means object not found.

I ran it again and answered 'yes' and it worked as expected. I guess Sun never expected anyone to answer 'no' to that question. I assume that I can now go change the values with configutil to point to another directory server.

K.

k_sysadmina at 2007-7-12 22:59:43 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...