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

Re: which objectclass do I use for....





--On Samstag, 8. September 2001 13:37 +0100 Casio <tim@casson-smith.freeserve.co.uk> wrote:

adding/modifying addresses. Currently I have added 2 entries under the
person objectclass but would now like to update these with addresses. I
tried the residentialPerson and noticed it had a required field called
'l'. Looking into this I found it was for locality. So I created the
following ldif file called entrymods:

dn: cn=Mark Jones, dc=localserver, dc=com
changetype: modify
objectclass: residentialPerson
add: l
l: London

use: dn: cn=Mark Jones, dc=localserver, dc=com changetype: modify add: objectclass objectclass: residentialPerson -- add: l l: London


ldapmodify -r -f /tmp/entrymods I get:

ldap_sasl_interactive_bind_s: No such attribute

This indiacates that you haven't setup up SASL yet. Try using simple bind: ldapmodify -x -D [admindn] -w [passwd] ...

--
Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de