$ man ldapmodify
EXAMPLES Assuming that the file /tmp/entrymods exists and has the contents:
dn: cn=Modify Me,dc=example,dc=com changetype: modify replace: mail mail: modme@OpenLDAP.org - add: title title: Grand Poobah - add: jpegPhoto jpegPhoto:< file:///tmp/modme.jpeg - delete: description -
Toper wrote:
dn: uid=nowak,ou=People,dc=ctlm,dc=pl changetype: modify add: objectClass objectClass: personOfAccount add: host host: proxy
oooops, it didn't work, too:
modifying entry "uid=nowak,ou=People,dc=ctlm,dc=pl" ldapadd: update failed: uid=nowak,ou=People,dc=ctlm,dc=pl ldap_modify: Undefined attribute type (17) additional info: add: attribute type undefined
I realy don't know whats is going on.... Help.....
regards Toper