On 3/25/20 4:03 PM, Guni Hanchate wrote:
> dn: uid=013tes3477,ou=Dealer Users,ou=Partners,o=mobistar.be
> changetype: add
> add: mail
> mail: 013test.test_osp_fr_hq(a)orange.be
> adding new entry "uid=013tes3477,ou=Dealer
> Users,ou=Partners,o=mobistar.be <http://mobistar.be>"
> ldap_add: Undefined attribute type (17)
> additional info: add: attribute type undefined
It seems your LDIF input is interpreted as LDIF entry record instead as
LDIF change record. Thus "add:" is interpreted as attribute type name.
Is this really ldapmodify from the OpenLDAP command-line tools?
The tools are not to blame. Notice his LDIF changetype.
-- Howard Chu
CTO, Symas Corp.