Difference between revisions of "Jabberd"

From Atomicorp Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
1) el4 boxes do not have the /etc/pki dir. Fix:
+
1) el4 boxes do not have the /etc/pki dir. Fix:<br>
ln -sf /usr/share/ssl/ /etc/pki/tls
+
ln -sf /usr/share/ssl/ /etc/pki/tls<br>
 +
<br>
 +
2) Configuration<br>
 +
The rpm defaults to using pam for authentication, and I was unable to get this to work, so I'm moving on to MySQL.<br>
 +
had to add mysql settings to /etc/jabberd/sm.xml and /etc/jabberd/c2s.xml
  
2) Configuration
+
jabber is cryptic about settings. DNS resolution is CRITICAL, and it doesn't log anything useful when things break. With a sniffer I saw this:
cryptic.
+
 
 +
 
 +
'''service requested for unknown domain'''
 +
 
 +
After some poking I managed to figure out that the magical incantation it needed was that sm.xml, c2s.xml, and my client all had to use the same (resolvable) hostname. It defaults to localhost internally, which you'd think would work, but no. You've got to set that manually in the <id> field in sm.xml, c2s.xml. I reckon that this is the real reason PAM wasnt working too.

Latest revision as of 19:09, 13 March 2007

1) el4 boxes do not have the /etc/pki dir. Fix:
ln -sf /usr/share/ssl/ /etc/pki/tls

2) Configuration
The rpm defaults to using pam for authentication, and I was unable to get this to work, so I'm moving on to MySQL.
had to add mysql settings to /etc/jabberd/sm.xml and /etc/jabberd/c2s.xml

jabber is cryptic about settings. DNS resolution is CRITICAL, and it doesn't log anything useful when things break. With a sniffer I saw this:


service requested for unknown domain

After some poking I managed to figure out that the magical incantation it needed was that sm.xml, c2s.xml, and my client all had to use the same (resolvable) hostname. It defaults to localhost internally, which you'd think would work, but no. You've got to set that manually in the <id> field in sm.xml, c2s.xml. I reckon that this is the real reason PAM wasnt working too.

Personal tools