This is the entire file:

dn: dc=db,dc=scbbs,dc=com
objectclass: dcObject
objectclass: organization
o: TFG Database
dc: db

dn: cn=Manager,dc=db,dc=scbbs,dc=com
objectclass: organizationalRole
cn: Manager

Gavin Henry wrote:
dn: dc=db,dc=scbbs,dc=com
objectclass: dcObject
objectclass: organization
o: TFG Database
dc: db

    

You must not be showing us all of your LDIF?

I've just create the above ldif, created a new slapd.conf with:

suffix dc=db,dc=scbbs,dc=com

and then done an ldapsearch:

ldapsearch -x -b 'dc=db,dc=scbbs,dc=com' objectclass=dcObject
# extended LDIF
#
# LDAPv3
# base <dc=db,dc=scbbs,dc=com> with scope subtree
# filter: objectclass=dcObject
# requesting: ALL
#

# db.scbbs.com
dn: dc=db,dc=scbbs,dc=com
objectClass: dcObject
objectClass: organization
o: TFG Database
dc: db

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1



Gavin.


__________ NOD32 2522 (20070911) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



  


-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com