[Date Prev][Date Next]
Re: Q: ldapmodify and multiple replacements in a ldif file
my experience has been to make sure that mailHost has been defined properly
in some schema and that what you are providing it is what its expecting
(i.e. the format of the text) also separate you update with dashes like the
finally make sure that at least one of your schema (that you load in
slapd.conf) has the attribute mailHost defined in it and that one of your
objectClasses for this particular entry references it. So if the
objectclass inetOrgPerson contains mailHost as one of the possible
attribute for that object make sure that
cn=tim,dc=domain.com... has been defined as
objectClass ... [blah]
objectClass: inetOrgPerson (or the appropriate object that contains mailHost)
At 06:25 PM 10/31/2001 -0500, you wrote:
I am scripting that ability for updates to our LDAP directory
and I am trying the following ldif file to perform the changes:
(BTW: I am using the qmail.schema)
When I just ldapmodify with this ldif file I get:
modifying entry "cn=tim,dc=domain.com,o=emailservice,c=us"
ldap_modify: Undefined attribute type
additional info: replace: attribute type undefined
Am I doing something wrong with my attempt at multiple replaces
within one ldif file, or is there some other way to format this
file that will work? Individual replace ldif files work, but
I would like to do all the replaces as once.
-- LOAD your email!
Timothy Lorenc USmail: Lorenc Advantage, Inc.
Consultant 6732 E. State Blvd.
Email: email@example.com Fort Wayne, IN 46815
If this communication concerns the negotiation of a contract or agreement,
the Uniform Electronic Transaction Act does not apply to this communication:
contract and/or agreement formation in this matter shall only occur with
manually-affixed signatures on original documents.