[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Q: ldapmodify and multiple replacements in a ldif file
Hello;
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)
dn: cn=tim,dc=domain.com,o=emailservice,c=us
changetype: modify
replace: mailHost
mailHost: mail4.domain.com
replace: mailForwardingAddress
mailForwardingAddress: tim@mail4.domain.com
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.
Thanks.
-- LOAD your email!
Timothy Lorenc USmail: Lorenc Advantage, Inc.
Consultant 6732 E. State Blvd.
PMB 304
Email: tim@load.com Fort Wayne, IN 46815
http://www.load.com
***DISCLAIMER***
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.