Hello list,

I'm trying to write a message logger in Python using the xmpppy
library.

The logger will use the log router ACL, but the router is replying that
xmpp-bind is not available.

Environment:

* OS: FreeBSD 7.2-stable
* Jabberd2: 2.2.9
* Python: 2.5.2
* xmpppy: 0.5.0rc1

Configuration:

* Dedicated user with ACL type "log" and ACL type "bind"
-> REF: http://www.jabberdoc.org/section07#7_5
* Tried user with ACL type "all" and didn't work as well

The main script execution do the fallowing actions:

* Connect to router
* Authenticate using SASL
* Try to bind into router log facility [error]
* Bind it's name to the router
* Attach to DISCO browser

Messages exchanged during bind attempt:

My script send:
<?xml version='1.0'?>
  <stream:stream
xmlns="http://jabberd.jabberstudio.org/ns/component/1.0"; to="127.0.0.1"
version="1.0" xmlns:stream="http://etherx.jabber.org/streams"; >

Router reply:
<?xml version='1.0'?>
  <stream:stream xmlns:stream='http://etherx.jabber.org/streams'
  xmlns='http://jabberd.jabberstudio.org/ns/component/1.0'
  from='127.0.0.1' version='1.0'
  id='3zdng9o4dx199h83wnlojti9m1l5uatbw7bv1uro'>
<stream:features xmlns:stream='http://etherx.jabber.org/streams'/>

As seen here, the stream:features node is empty. This node shouldn't
have the xmpp-bind entry as defined in XEP 193?

"A server SHOULD advertise its support for the
'urn:ietf:params:xml:ns:xmpp-bind' namespace and the unbind
functionality by returning an appropriate stream feature as shown below:

<stream:features>
  <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
    <required/>
  </bind>
  <unbind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
</stream:features>"
http://xmpp.org/extensions/xep-0193.html

Any clue?

Regards,
-- 
  .:''''':.
.:'        `     Sérgio Surkamp | Gerente de Rede
::    ........   [email protected]
`:.        .:'
  `:,   ,.:'     *Grupos Internet S.A.*
    `: :'        R. Lauro Linhares, 2123 Torre B - Sala 201
     : :         Trindade - Florianópolis - SC
     :.'
     ::          +55 48 3234-4109
     :
     '           http://www.gruposinternet.com.br

--
To unsubscribe send a mail to [email protected]

Reply via email to