Paul Kölle wrote:

please post the ldif containing the entries for you intended base, I'll

give it a shot.
Hi Paul,
Sorry for the delay.. been super busy.

As previously mentioned, it's the base that I can't create with 3 dc levels, however I can get around it by creating base level of two, then adding the third dc, then switching the base back to 3 levels (although this doesn't "feel" clean). All the same, here's my configuration. Any pointers, slaps around the head appreciated.

openldap 2.2.26 emerged and configured

searching is successful:

*code*
dually # ldapsearch -D "cn=Manager,dc=domain,dc=net,dc=au" -W -x
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1
*/code*

here is my base.ldif:

*code*
dn: dc=net,dc=au
dc: net
objectClass: top
objectClass: domain

dn: dc=domain,dc=net,dc=au
dc: domain
objectClass: top
objectClass: domain
*/code*

when I try and insert it:

*code*
dually / # ldapadd -D "cn=Manager,dc=domain,dc=net,dc=au" -W -f /tmp/base.ldif -x
Enter LDAP Password:
adding new entry "dc=net,dc=au"
ldap_add: Server is unwilling to perform (53)
       additional info: no global superior knowledge
*/code*

and if I try with:

*code*
dn: dc=au
dc: au
objectClass: top
objectClass: domain

dn: dc=net,dc=au
dc: net
objectClass: top
objectClass: domain

dn: dc=domain,dc=net,dc=au
dc: domain
objectClass: top
objectClass: domain
*/code*

I get:

*code*
dually / # ldapadd -D "cn=Manager,dc=domain,dc=net,dc=au" -W -f /tmp/base2.ldif -x
Enter LDAP Password:
adding new entry "dc=au"
ldap_add: Server is unwilling to perform (53)
       additional info: no global superior knowledge
*/code*

awaiting slap over the head!

Cheers,
Chris

cheers
Paul
--
[email protected] mailing list

Reply via email to