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

Multiple suffix definitions



Hi all,
I've just begun trying to migrate webapp authentication
from sql to LDAP, and have some basic questions.

With this objectclass:

objectclass (myObjectClass:5
  NAME 'accountXtras'
  SUP top
  AUXILIARY
  MUST (userPassword)
  MAY (userLevel $ organizationID))

is this how I can include the extra attributes?

dn: uid=aaaaaa, st=Indiana, c=US
objectclass: top
objectclass: account
objectclass: accountXtras  #????
uid: aaaaaa
userPassword: aaaaaa
userLevel: 2
organizationID: IN1


Also... The docs say I can have multiple suffix lines. I tried:

suffix          "dc=test,dc=com"
suffix          "c=US"
rootdn          "cn=Manager,dc=test,dc=com"

I have only a vague idea of why I want to do this, but slapd
won't start with two suffix lines of any kind. How can I
make this work?

Thanks much,
Jon