Re: Roster publish

2014-02-11 Thread Oriol Mula-Valls

On 11/02/14 18:44, Kris Deugau wrote:

Oriol Mula-Valls wrote:

Hi Tomasz,

I have disabled  on sm.xml. I have also deleted
the sqlite and created it again.

Afterdwards, I have connected to the jabberd2 server which provided me
the contact list. Then I updated a users jabberPublishedItem attribute
from 0 to 1. After reconnecting, the users have appeared as expected.
Then I switched from 1 to 0 again but after reconnecting the user still
appears.


Which client are you testing with?

In my own testing for the private Jabber server here, I found that
clients base on libpurple (Pidgin, mainly;  IIRC I tried one or two
others) would flat-out not accept pure server-originated roster
deletions based on manually hacking the underlying datastore;  to remove
a user from one of these clients you had to do so from the client
itself.  I'm not certain about admin-originated XML, but I haven't yet
cared enough to figure out how to assemble the right XML and test.

-kgd





I have tested with Pidgin, Empathy and psi. All of them seem to have the 
same behaviour. Do you know if that's a client problem or a server-side one?


Oriol

--
Oriol Mula Valls
Institut Català de Ciències del Clima (IC3)
Doctor Trueta 203 - 08005 Barcelona
Tel:+34 93 567 99 77




Re: Roster publish

2014-02-11 Thread Kris Deugau
Oriol Mula-Valls wrote:
> Hi Tomasz,
> 
> I have disabled  on sm.xml. I have also deleted
> the sqlite and created it again.
> 
> Afterdwards, I have connected to the jabberd2 server which provided me
> the contact list. Then I updated a users jabberPublishedItem attribute
> from 0 to 1. After reconnecting, the users have appeared as expected.
> Then I switched from 1 to 0 again but after reconnecting the user still
> appears.

Which client are you testing with?

In my own testing for the private Jabber server here, I found that
clients base on libpurple (Pidgin, mainly;  IIRC I tried one or two
others) would flat-out not accept pure server-originated roster
deletions based on manually hacking the underlying datastore;  to remove
a user from one of these clients you had to do so from the client
itself.  I'm not certain about admin-originated XML, but I haven't yet
cared enough to figure out how to assemble the right XML and test.

-kgd




Re: Roster publish

2014-02-11 Thread Oriol Mula-Valls

On 11/02/14 10:57, Tomasz Sterna wrote:

Dnia 2014-02-10, pon o godzinie 18:00 +0100, Oriol Mula-Valls pisze:

After setting it to 0 I expect the user to disappear from the clients.
I have tried to relogin to the jabberd2 server but even after that the
contact still appears.


Did you enable ?
If so, it will add contacts to user normal roster and they will need
manual deletion.

Also if user edits the contacts details, it will be stored in normal
roster.




I think that the problem could be related with the modification I made 
in order to be able to append the realm in the basedn.


I am going to test with the orginal code.

I apologise for not having said that earlier.

I'll get back as soon as I've tested that.

Kind regards,
Oriol

--
Oriol Mula Valls
Institut Català de Ciències del Clima (IC3)
Doctor Trueta 203 - 08005 Barcelona
Tel:+34 93 567 99 77




Re: Roster publish

2014-02-11 Thread Oriol Mula-Valls

Hi Tomasz,

I have disabled  on sm.xml. I have also deleted 
the sqlite and created it again.


Afterdwards, I have connected to the jabberd2 server which provided me 
the contact list. Then I updated a users jabberPublishedItem attribute 
from 0 to 1. After reconnecting, the users have appeared as expected. 
Then I switched from 1 to 0 again but after reconnecting the user still 
appears.


Thanks,
Oriol

On 11/02/14 10:57, Tomasz Sterna wrote:

Dnia 2014-02-10, pon o godzinie 18:00 +0100, Oriol Mula-Valls pisze:

After setting it to 0 I expect the user to disappear from the clients.
I have tried to relogin to the jabberd2 server but even after that the
contact still appears.


Did you enable ?
If so, it will add contacts to user normal roster and they will need
manual deletion.

Also if user edits the contacts details, it will be stored in normal
roster.





--
Oriol Mula Valls
Institut Català de Ciències del Clima (IC3)
Doctor Trueta 203 - 08005 Barcelona
Tel:+34 93 567 99 77




Re: Roster publish

2014-02-11 Thread Tomasz Sterna
Dnia 2014-02-10, pon o godzinie 18:00 +0100, Oriol Mula-Valls pisze:
> After setting it to 0 I expect the user to disappear from the clients.
> I have tried to relogin to the jabberd2 server but even after that the
> contact still appears.

Did you enable ?
If so, it will add contacts to user normal roster and they will need
manual deletion.

Also if user edits the contacts details, it will be stored in normal
roster.


-- 
Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/





Roster publish

2014-02-10 Thread Oriol Mula-Valls

Hi,

I've been playing a bit with ldapvcard trying to setup roster publish. 
Now I have managed to get it working but I am having a problem while I 
change the attribute jabberPublishedItem. After setting it to 0 I expect 
the user to disappear from the clients. I have tried to relogin to the 
jabberd2 server but even after that the contact still appears.


Can anybody help me, please?

Thanks,
Oriol
--
Oriol Mula Valls
Institut Català de Ciències del Clima (IC3)
Doctor Trueta 203 - 08005 Barcelona
Tel:+34 93 567 99 77