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

Re: How to add LDAP entries not rooted at country via PHP3



>>>>> "Chris" == Chris Ridd <C.Ridd@isode.com> writes:

  >> System: RH 5.1 with Apache 1.3.3 + mod_perl (static) + mod_php
  >> (via apxs) compiled with openldap 1.0.2
  >>
  >> Hi, I have the following schema
  >>
  >> dn: provider=bar provider: bar objectclass: top

  Chris> You are loading en entry which only has one objectclass
  Chris> value. This objectclass does not permit the provider
  Chris> attribute.

Thanks Chris, I added objectclass: puser to the above entry
and used ldif2ldbm to recreate the databases. 
However, whilst trying to add a user with PHP I get the same error

  > and the error log shows
  > LDAP: No such object
  > LDAP: matched: provider=bar

Did I misunderstand your answer ? Thanks Yusuf

-- 
Yusuf Goolamabbas
yusufg@huge.net