Re: What schemas do I need?

Donnie Woodruff <[email protected]> Wed, 16 Jun 2004 13:19:01 -0400
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
I have the following in my slapd.conf file:
 include   /etc/openldap/schema/core.schema
 include   /etc/openldap/schema/cosine.schema
 include   /etc/openldap/schema/inetorgperson.schema
 include   /etc/openldap/schema/yast2userconfig.schema
 include   /etc/openldap/schema/rfc822MailMember.schema
 include   /etc/openldap/schema/samba3.schema

I don't believe it is failing on mobile, because if I don't enter 
anything in mobile, it fails.  So here are the two scenarios I tried:
1.  I entered a telephone and a mobile number, it fails with the 
following error message:

...
LDAP_MOD_ADD homephone
         000-000-0000
LDAP_MOD_ADD mobile
         000-000-0000
Undefined attribute type

2.   I entered a telephone and did not enter a mobile number, it fails 
with the same error message minus the

...
LDAP_MOD_ADD homephone
         000-000-0000
Undefined attribute type

So,  I don't believe it is a problem with mobile -- I believe it is an 
attribute type after "mobile" that I am trying to add.  Is there a debug 
feature in directory_admin that I can turn on?  Is 
directory_administrator just creating a ldif file somewhere is loading 
that file?  If so, where would I find that ldif file?

Thanks,
Donnie


Dieter Kluenter wrote:

>Donnie Woodruff <[email protected]> writes:
>
>  
>
>>This is what I am running:
>>  Directory Administrator v1.5.1
>>  OpenLDAP v2.2.6-34
>>  Suse 9.1
>>
>>I am trying to add a new user but I get the following error message:
>>"The user could not be created because your directory does not support
>>certain features.  Go to Settings->Preferences... and try changing the
>>compatibility options."
>>
>>The console shows the following:
>>....
>>LDAP_MOD_ADD mobile
>>         000-000-0000
>>Undefined attribute type
>>
>>There seems to be a attribute type that I don't defined in the schemas
>>-- so I was wondering if someone could tell me what schemas I need to
>>have installed for OpenLDAP.
>>    
>>
>
>mobile is included in consine.schema and inetorgperson.schema. Please
>note that you have to load cosine.schema prior to
>inetorgperson.schema, see comments in inetorgperson.schema.
>
>-Dieter
>
>  
>