List Info

Thread: Trying to run djabberd with pidgin




Trying to run djabberd with pidgin
user name
2007-12-06 04:35:12
Hi,

1, I have a djabberd server running in centOS 4.5 and using pidgin as the client.

2. My server conf is

OldSSL  enable
DeclareMonitor 192.168.1.21
AdminPort 5200
ClientPort 5222
ServerPort 5269
SSLCertificateFile    /usr/local/chat/DJabberd-0.83/server-cert.pem
SSLCertificateKeyFile /usr/local/chat/DJabberd-0.83/server-key.pem
<VHost test.com >
 ; S2S enable
&nbsp; #S2S false
&nbsp; RequireSSL yes
  #RequireSSL no
  <Plugin DJabberd::Authen::HTDigest>
&nbsp;   Realm djabberd
&nbsp;   HtDigest /usr/local/chat/DJabberd-0.83/djabberd.users
  </Plugin>
&nbsp; <Plugin DJabberd::Authen::AllowedUsers&gt;
 &nbsp; &nbsp; Policy accept
&nbsp; &nbsp;  AllowedUsers AAA BBB test
 ; </Plugin>
 ; <Plugin DJabberd::RosterStorage::SQLite&gt;
 &nbsp; Database /usr/local/chat/DJabberd- 0.83/djabberd.sqlite
  </Plugin>
 ;#<Plugin DJabberd::RosterStorage::InMemoryOnly />

<;/VHost>


3. I created two users like
    htdigest -c djabberd.users djabberd AAA
   ; htdigest -c djabberd.users djabberd BBB

4. I cerated the server-cert.pem and server-key.pem

5. Login using pidgin with XMPP as AAA/BBB is successful. But when i try to send a request or chat from AAA to BBB, i am getting the status for BBB as Not Authorized in the AAA list. Could you please suggest me what changes i should make?

6. From server side, i am getting messages like
 ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; DJabberd::Connection::ClientIn=ARRAY(0x9ffc288):  Cipher `(NONE)9;
 &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  19903 WARN  DJabberd.IQ &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  Unknown IQ packet: get-{vcard-temp}query
 &nbsp; Could you please suggest me what has to be modified?

--
Regards,
-Rajesh

&quot;Stick to our roots and not to forget where we come from"
Re: Trying to run djabberd with pidgin
user name
2007-12-10 13:06:51
Rajesh Dharmalingam wrote:
> 
> OldSSL  enable
> DeclareMonitor 192.168.1.21
> AdminPort 5200
> ClientPort 5222
> ServerPort 5269
> SSLCertificateFile   
/usr/local/chat/DJabberd-0.83/server-cert.pem
> SSLCertificateKeyFile
/usr/local/chat/DJabberd-0.83/server-key.pem
> <VHost test.com <http://test.com>>
>   S2S enable
>   #S2S false
>   RequireSSL yes
>   #RequireSSL no
>   <Plugin DJabberd::Authen::HTDigest>
>     Realm djabberd
>     HtDigest
/usr/local/chat/DJabberd-0.83/djabberd.users
>   </Plugin>
>   <Plugin DJabberd::Authen::AllowedUsers>
>      Policy accept
>      AllowedUsers AAA BBB test
>   </Plugin>
>   <Plugin DJabberd::RosterStorage::SQLite>
>    Database /usr/local/chat/DJabberd-
0.83/djabberd.sqlite
>   </Plugin>
>  #<Plugin DJabberd::RosterStorage::InMemoryOnly
/>
> 
> </VHost>
> 

The best thing I can think of right now is to try adding the
delivery 
plugins explicitly:

     <Plugin DJabberd:elivery:
:Local />
     <Plugin DJabberd:elivery:
:S2S />

This shouldn't be necessary since they should load by
default in the 
absense of any other plugins of this type, but it's probably
best to 
eliminate this before trying anything more complicated.

It would also be useful if you could get your logging output
to show the 
full set of logging levels so that we can see the debug
output. Sadly, 
I've forgotten how the logging configuration works, but if
you look up 
Log4perl on CPAN hopefully there will be some explanation
there.

Cheers,
Martin

Re: Trying to run djabberd with pidgin
user name
2007-12-11 07:35:12
Hi,

Thanks for the inputs. Yes i enabled the log - export LOGLEVEL=ALL. The problem is i was adding the users without the domain name. Once i added this, i am able to send / receive messages between users and adding as buddy also succeeds.

Regards,
-Rajesh
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )