Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with OpenLdap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fuchedjiev
n00b
n00b


Joined: 04 Oct 2011
Posts: 5

PostPosted: Thu Sep 27, 2012 3:13 pm    Post subject: Problem with OpenLdap Reply with quote

Hi all

I have a problem with OpenLdap ( v. 2.4.30 ).
I try to make addres book application on PHP and for that I make my own schema

my problem is that after I try to add some record in database i see that in my syslog:

============
hdb_add: entry failed schema check: no objectClass attribute (65)
slapd[10031]: send_ldap_result: conn=1000 op=1 p=3
slapd[10031]: send_ldap_result: err=65 matched="" text="no objectClass attribute"
slapd[10031]: send_ldap_response: msgid=2 tag=105 err=65
slapd[10031]: conn=1000 op=1 RESULT tag=105 err=65 text=no objectClass attribute
============

Error 65 means LDAP_OBJECT_CLASS_VIOLATION - An object class violation occurred when using the current schema, for example, a "must" attribute was missing when adding an entry.

Do you possibe to help me with that ?
If you need I can add copy of schema.

Thanks in advance !

P.S. I use Linux Gentoo 3.2.12-gentoo #7 SMP Tue Jun 19 14:06:22 EEST 2012 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

My Shema is:
================
# Tefter schema v 0.0.1
#
#
# Atribute description


attributetype ( 1.3.6.1.4.1.40074.2.2
NAME 'CreatorOfRecord'
DESC 'Who create that record'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.3
NAME 'DateOfCreation'
DESC 'When the recors are created'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.4
NAME 'PersonalSuffix'
DESC 'D-r, Prof., Sir...'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.5
NAME 'PersonalPrefix'
DESC 'Mr., Miss,....'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.6
NAME 'FirstName'
EQUALITY caseIgnoreMatch
DESC 'First name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.7
NAME 'FathersName'
EQUALITY caseIgnoreMatch
DESC 'Second name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.8
NAME 'LastName'
EQUALITY caseIgnoreMatch
DESC 'Family name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.9
NAME 'Company'
DESC 'Comapny'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.10
NAME 'PositionInCompany'
DESC 'Position in company'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.11
NAME 'WorkAddress'
DESC 'Office address of company'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.12
NAME 'WorkTown'
DESC 'Town of the headquarter'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.13
NAME 'WorkDistrict'
DESC 'Destrict where is headquarter'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.14
NAME 'WorkPostCode'
DESC 'Post code of headquarter'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.15
NAME 'WorkCountry'
DESC 'Country of headquarter'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.16
NAME 'WorkPhoneNumber'
DESC 'Work phone number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
)

attributetype ( 1.3.6.1.4.1.40074.2.17
NAME 'WorkMobileNumber'
DESC 'Work mobile phone number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
)

attributetype ( 1.3.6.1.4.1.40074.2.18
NAME 'WorkFaxNumber'
DESC 'Work fax nimber'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.22
)

attributetype ( 1.3.6.1.4.1.40074.2.19
NAME 'HomePostAddress'
DESC 'Home postal addres'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.20
NAME 'HomeTown'
DESC 'Town of home'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.21
NAME 'HomeDistrict'
DESC 'District of home'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.23
NAME 'HomePostCode'
DESC 'Home postal code'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.24
NAME 'HomeCountry'
DESC 'Country of home'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.25
NAME 'HomePhoneNumber'
DESC 'Home phone number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
)

attributetype ( 1.3.6.1.4.1.40074.2.26
NAME 'HomeMobileNumber'
DESC 'Private mobile phone'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
)

attributetype ( 1.3.6.1.4.1.40074.2.27
NAME 'HomeFaxNumber'
DESC 'Fax number in home'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.22
)

attributetype ( 1.3.6.1.4.1.40074.2.28
NAME 'WorkEmail'
DESC 'Work e-mail '
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)

attributetype ( 1.3.6.1.4.1.40074.2.29
NAME 'HomeEmail'
DESC 'Private e-mail'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)

attributetype ( 1.3.6.1.4.1.40074.2.30
NAME 'WorkURL'
DESC 'Web address of company'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.31
NAME 'HomeURL'
DESC 'Personal web address'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.32
NAME 'Note'
DESC 'Description of contact, from where is know, what is bussines area of company..'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.33
NAME 'PhotoPicture'
DESC 'Photo picture of contact'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.28{1048576}
)

attributetype ( 1.3.6.1.4.1.40074.2.34
NAME 'ICQMsg'
DESC 'ICQ number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.35
NAME 'SkypeMsg'
DESC 'Skype name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.36
NAME 'MSMsg'
DESC 'MS Mesanger contact name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.37
NAME 'YahooMsg'
DESC 'Yahoo! contact name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.38
NAME 'JabberMsg'
DESC 'Jabber contact name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.39
NAME 'Category'
DESC 'Category of contact - frient, hotel, bussines parner..'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.3.6.1.4.1.40074.2.40
NAME 'DateOfBirthday'
DESC 'Anniversary date'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

# Object class description

objectclass ( 1.3.6.1.4.1.40074.3.1
NAME 'tefter'
SUP top
AUXILIARY
MAY (
CreatorOfRecord $ DateOfCreation $ PersonalSuffix $ PersonalPrefix $
Company $ PositionInCompany $
WorkAddress $ WorkTown $ WorkDistrict $ WorkPostCode $ WorkCountry $
WorkPhoneNumber $ WorkMobileNumber $ WorkFaxNumber $ HomePostAddress $
HomeTown $ HomeDistrict $ HomePostCode $ HomeCountry $ HomePhoneNumber $
HomeMobileNumber $ HomeFaxNumber $ WorkEmail $ HomeEmail $ WorkURL $
HomeURL $ Note $ PhotoPicture $ ICQMsg $ SkypeMsg $ MSMsg $ YahooMsg $
JabberMsg $ Category $ DateOfBirthday )
MUST ( FirstName $ FathersName $ LastName )
)
================
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum