[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: help, openldap-2.1.xx, host attribute - I try, try, try....and nothing :(



reading man ldapmodify tells you that every operation needs to be separated by a line containing a "-" caractere:

$ 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