Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Add new roster items via ImportExport plugin = nothing..

$
0
0

Hi,

 

I use Openfire 3.8.2 (Linux) with LDAP (all users in LDAP).

 

I want add few new roster items for some users (Import/Export Users plugin).

 

I do prepare xml file (user1, user2 already exists, i am just add two records in to their rosters)

 

<?xml version="1.0" encoding="UTF-8"?>
<Openfire>
   <User>
     <Username>user1</Username>
     <Password/>
     <Email>user1@domain.tld</Email>
     <Name>Ivanov Ivan</Name>
     <CreationDate>1386214637799</CreationDate>
     <ModifiedDate>1386214637799</ModifiedDate>
     <Roster>
       <Item askstatus="-1" jid="anotheruser@anotherhost.tld"
             name="My dear new user 1" recvstatus="-1" substatus="3">
         <Group>FBI</Group>
       <Item askstatus="-1" jid="anotheruser2@anotherhost.tld"
             name="
My dear new user 2" recvstatus="-1" substatus="3">
         <Group>FBI</Group>
       </Item>
     </Roster>
   </User>
<User>
     <Username>user2</Username>
     <Password/>
     <Email>user2@domain.tld</Email>
     <Name>Sidorov Sidor</Name>
     <CreationDate>1386214637799</CreationDate>
     <ModifiedDate>1386214637799</ModifiedDate>
     <Roster>
       <Item askstatus="-1" jid="anotheruser@anotherhost.tld"
             name="
My dear new user 1" recvstatus="-1" substatus="3">
         <Group>FBI</Group>
       <Item askstatus="-1" jid="anotheruser2@anotherhost.tld"
             name="
My dear new user 2" recvstatus="-1" substatus="3">
         <Group>FBI</Group>
       </Item>
     </Roster>
   </User>
</Openfire>

 

and nothing.. no error, no success..  roster unchanged.. why?


Viewing all articles
Browse latest Browse all 10742

Trending Articles