TeamSite 6.7.1 SP1/RedHat
I'm working on a process to programmatically migrate Unix groups to TeamSite groups. The script simply reads the groups file, saves the groups and group members information to a Hash, and writes the Hash to an XML file. Easy enough…
The issue is with creating the TeamSite groups file from the generated XML. Running the following cmd gives a "ERROR:00017: Item already exists" error and tsgroups.xml never gets updated.
/p01/app/iw/tsite/iw-home/bin/iwgroup create -if /home/lid6nl8/groups/tsgroups_TEMP.xml -of /home/lid6nl8/groups/tsgroups.xml
My first thought was, oh, I must have generated the XML in an incorrect format, which is causing iwgroup to bomb. But the format looked identical to the example in the admin manual.
Even though the XML looked good, I replaced it with the example XML and re-ran the cmd. Thinking maybe my eyes missed something, and if the problem was with my input XML, using Interwoven's example would resolve it. Unfortunately, I got the same error. Following is the xml from the input file.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<iwgroups>
<iwgroup name="newgroup1" id="1"/>
<iwgroup name="newgroup2" id="2"/>
</iwgroups>
I'm running the iwgroup command as 'root/, so permissions can be ruled out.
I'm at a loss. Has anyone successfully updated the tsgroups.xml file from an input file?
I'll open a ticket with support, but thought maybe you guys have seen this before.