Hi guys,
When working with ApacheDS LDAP, I failed to add entry and encountered errors
as "attribute does not exist". The detailed log is as below,
** ld 0x4ab6200 Connections:
* host: 192.168.111.88 port: 10389 (default)
refcnt: 2 status: Connected
last used: Wed Feb 15 11:28:17 2017
** ld 0x4ab6200 Outstanding Requests:
* msgid 5, origid 5, status InProgress
outstanding referrals 0, parent count 0
ld 0x4ab6200 request count 1 (abandoned 0)
** ld 0x4ab6200 Response Queue:
Empty
ld 0x4ab6200 response count 0
ldap_chkResponseList ld 0x4ab6200 msgid 5 all 1
ldap_chkResponseList returns ld 0x4ab6200 NULL
ldap_int_select
read1msg: ld 0x4ab6200 msgid 5 all 1
read1msg: ld 0x4ab6200 msgid 5 message type add
ldap_chase_referrals
read1msg: V2 referral chased, mark request completed, id = 5
read1msg: ld 0x4ab6200 0 new referrals
read1msg: mark request completed, ld 0x4ab6200 msgid 5
request done: ld 0x4ab6200 msgid 5
res_errno: 16, res_error: <NO_SUCH_ATTRIBUTE: failed for MessageType :
ADD_REQUEST
Message ID : 5
Add Request :
Entry
dn[n]: cn=84db316605d74b1c913e4d7132820a27,ou=Users,dc=kdc,dc=istuary,dc=com
objectClass: person
objectClass: inetOrgPerson
sn: admin
cn: 84db316605d74b1c913e4d7132820a27
enabled: TRUE
userPassword: 0x61 0x64 0x6D 0x69 0x6E
: ERR_04269 ATTRIBUTE_TYPE for OID enabled does not exist!>, res_matched: <>
ldap_free_request (origid 5, msgid 5)
ldap_parse_result
ldap_msgfree
ldap_err2string
Where could I start to fix such problems?
Thanks,
Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux