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

Need help with config error

Hi all,

I'm setting up SourceForge, which requires OpenLDAP. slapd seems to
start okay, but I think it's misconfigured:

  # ldapsearch -x -b 'suffix or base' -s sub objectclass=*
  version: 2

  # filter: objectclass=*
  # requesting: ALL

  # search result
  search: 2
  result: 34 Invalid DN syntax
  text: invalid DN

  # numResponses: 1

The "Invalid DN syntax" seems suspicious to me. Here's the slapd.conf
(without comments):

  include   /etc/openldap/schema/core.schema
  include   /etc/openldap/schema/cosine.schema
  include   /etc/openldap/schema/inetorgperson.schema
  include   /etc/openldap/schema/nis.schema
  include   /etc/openldap/schema/redhat/rfc822-MailMember.schema
  include   /etc/openldap/schema/redhat/autofs.schema
  include   /etc/openldap/schema/redhat/kerberosobject.schema
  include   /etc/openldap/schema/sourceforge.schema

  schemacheck on

  database  ldbm
  suffix    "o=Sourceforge Internal Service, c=DE"
  rootdn    "cn=Manager, o=Sourceforge Internal Service, c=DE"
  # for testing
  rootpw    secret
  directory /var/lib/ldap
  index         objectclass     eq
  index         uid     pres,eq,sub
  index         cn,sn   pres,eq,sub,subany


And here's the sourceforge.schema file:

  attributetype ( NAME 'x-cvsShell'
          DESC 'The path to the CVS login shell'
          EQUALITY caseExactIA5Match

  objectclass ( NAME 'x-sourceforgeAccount' SUP posixAccount
          DESC 'Abstraction of a Sourceforge account'
          MAY ( x-cvsShell ) )

Does anyone see the problem?


David Coppit - Ph.D. Candidate         david@coppit.org
The University of Virginia             http://coppit.org/
    "Yes," said Piglet, "Rabbit has Brain." There was a long silence.
"I suppose," said Pooh, "that that's why he never understands anything."