[ngw] using ldif to import GW info

Matt Weisberg matt at weisberg.net
Tue Aug 13 21:56:42 UTC 2013


Super.

Title is multi-valued.

So an "add" will simply add another title to the field.  If there is an existing title, you will end up with additional titles.

"replace" will replace ALL existing values with the new value you give it.

Matt


--------
Matt Weisberg
Weisberg Consulting, Inc.
matt at weisberg.net
www.weisberg.net
ofc. 248.685.1970
cell 248.705.1950
fax 248.769.5963

On Aug 13, 2013, at 7:49 AM, Jim Gosney <jgosney at genesco.com> wrote:

> That was it!  Thank you very much!!
> 
> Do you know if there is any functional difference between the "add: title" and "replace: title" functions?  I found both mentioned in some examples I found on Google but can't tell if there is any difference.
> 
> 
> 
>>>> Matt Weisberg <matt at weisberg.net> 8/12/2013 5:45 PM >>>
> 
> Add a - between the changes, e.g.:
> 
> dn: cn=JGOSNEY,ou=Users,o=GCO
> changetype: modify
> add: title
> title: Collaboration Systems Engineer (2)
> -
> add: telephoneNumber
> telephoneNumber: 615-367-7850
> 
> 
> 
> See if that works.
> 
> 
> --------
> Matt Weisberg
> Weisberg Consulting, Inc.
> matt at weisberg.net
> www.weisberg.net
> ofc. 248.685.1970
> cell 248.705.1950
> fax 248.769.5963
> 
> On Aug 12, 2013, at 4:01 PM, Jim Gosney <jgosney at genesco.com> wrote:
> 
>> I'm using the LDIF import/export wizard in Console One to try to make
>> some mass changes to user's room numbers and titles in Groupwise.  I've
>> exported my users to use as a template and pruned down the data to just
>> the info I want to import.  I'm using myself as a guinea pig and when I
>> run the import utility, I get errors.  Here's my data file that I'm
>> trying to import:
>> 
>> version: 1
>> dn: cn=JGOSNEY,ou=Users,o=GCO
>> changetype: modify
>> add: title
>> title: Collaboration Systems Engineer (2)
>> add: telephoneNumber
>> telephoneNumber: 615-367-7850
>> 
>> When I run the import, I get this error in ConsoleOne import utility:
>> 
>> 
>> Record 1: LBURP operation failed: 17(Undefined attribute type), dn:
>> cn=JGOSNEY,ou=Users,o=GCO
>> 
>> 
>> That is my correct location in the tree.  So I'm not sure what it's
>> complaining about.  Any of you who use ldif regularly, can you point me
>> in the right direction?
>> 
>> Thanks
>> 
>> 
>> ~+~^~+~^~+~^~+~^~+~^~+~^~+~^
>> Jim Gosney
>> * Linux System Engineer
>> 
>> * Groupwise System Engineer
>> * Blackberry Enterprise Server Admin
>> * Mobility Server Admin
>> * CA-Servicedesk Admin
>> Genesco, Inc.
>> Nashville, TN
>> 615-367-7850
>> 
>> 
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential
>> and may also be privileged. No waiver of any legal privilege or
>> proprietary right is intended or shall be deemed to have occurred by the
>> transmission of this e-mail or its contents or attachments to any person
>> other than the originally intended recipient.  If you are not an
>> intended recipient of this e-mail, you are hereby notified that any
>> unauthorized use, dissemination, storage or copying of this e-mail or
>> the information contained in it or attached to it is strictly
>> prohibited. If you have received this e-mail in error, please delete it
>> and immediately notify the sender by telephone. Thank you. 
>> _______________________________________________
>> ngw mailing list
>> ngw at ngwlist.com
>> http://ngwlist.com/mailman/listinfo/ngw
> 
> _______________________________________________
> ngw mailing list
> ngw at ngwlist.com
> http://ngwlist.com/mailman/listinfo/ngw
> 
> 
> 
> 
> CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. No waiver of any legal privilege or proprietary right is intended or shall be deemed to have occurred by the transmission of this e-mail or its contents or attachments to any person other than the originally intended recipient.  If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use, dissemination, storage or copying of this e-mail or the information contained in it or attached to it is strictly prohibited. If you have received this e-mail in error, please delete it and immediately notify the sender by telephone. Thank you. 
> _______________________________________________
> ngw mailing list
> ngw at ngwlist.com
> http://ngwlist.com/mailman/listinfo/ngw



More information about the ngw mailing list