Directory Server 5.2

Dear ldap gurus,

I am trying to setup a test ldap server using SunOne DS5.2 on SOlaris 8. I have followed instructions from various places but it stops at the same place:

After I run /usr/lib/ldap/idsconfig

Summary of Configuration

1 Domain to serve: example.com

2 Base DN to setup : dc=example,dc=com

3 Profile name to create: default

4 Default Server List: xxx.xxx.xx.xxx

5 Preferred Server List :

6 Default Search Scope : sub

7 Credential Level : proxy

8 Authentication Method : tls:simple

9 Enable Follow Referrals: FALSE

10 iDS Time Limit:

11 iDS Size Limit:

12 Enable crypt password storage : FALSE

13 Service Auth Method pam_ldap :

14 Service Auth Method keyserv:

15 Service Auth Method passwd-cmd:

16 Search Time Limit : 30

17 Profile Time to Live : 43200

18 Bind Limit: 10

19 Service Search Descriptors Menu

Enter config value to change: (1-19 0=commit changes) [0] 0

Enter DN for proxy agent: [cn=proxyagent,ou=profile,dc=example,dc=com]

Enter passwd for proxyagent:

Re-enter passwd:

WARNING: About to start committing changes. (y=continue, n=EXIT) y

1. Schema attributes have been updated.

2. Schema objectclass definitions have been added.

ERROR: update of base objects dc=com failed.

# domainname

example.com

# cat /etc/resolv.com

example.com

Can someone help me here?

Thanks

[1927 byte] By [Uman] at [2007-11-25 22:41:26]
# 1

Pls first try a simple find, without TLS (SSL) for the auth method, unless you have already created SSL Server Cert. for LDAP Server.

8 Authentication Method : tls:simple

Also, you may need to apply a patch to "idsconfig".

# cd /usr/lib/ldap

# mv idsconfig idsconfig.orig

# cp idsconfig.orig idsconfig

# vi idsconfig

Replace line:

grep -i -v NetscapeRoot > ${TMPDIR}/treeTOP

with:

grep -i -v NetscapeRoot | grep -i -v dc=example > ${TMPDIR}/treeTOP

Note: in some latest version of idsconfig , you would see {GREP}in place of grep .

You may find my HOW-TOs useful, or not at all.

http://web.singnet.com.sg/~garyttt/

Gary

GaryTay at 2007-7-5 14:18:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 2
Correction, I meant you should try: 8 Authentication Method : simple Gary
GaryTay at 2007-7-5 14:18:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 3
And also: 12 Enable crypt password storage : TRUE This will facilitate migrating UNIX/NIS CRYPT based password to LDAP. Gary
GaryTay at 2007-7-5 14:18:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 4
Thanks gary, and I'm sorry for using your personal email address, I won't do that any more. I guess I didn't see the warning on your how to. I'll try out all these solutions and I'll let you know how it went.
hardware_man at 2007-7-5 14:18:17 > top of Java-index,General,Sun Networking Services and Protocols...