gforge-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-devel] [ gforge-Patches-421 ] Jabber account auto-creation patch


From: noreply
Subject: [Gforge-devel] [ gforge-Patches-421 ] Jabber account auto-creation patch
Date: Sun, 29 Jun 2003 08:43:45 -0500

Patches item #421, was opened at 2003-06-29 13:43
You can respond by visiting: 
http://gforge.org/tracker/?func=detail&atid=106&aid=421&group_id=1

Category: Account Maintenance
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David McNicol (mcnicold)
Assigned to: Nobody (None)
Summary: Jabber account auto-creation patch

Initial Comment:
This patch modifies the GForge account creation process to create 
a jabber account for each new user. The jabber account is created 
using the user's unix name and the jabber domain specified in 
local.inc - the assumption is that you are running a jabber domain 
exclusively for your GForge installation.

The patch removes the jabber address field and adds a jabber 
password field to the registration page. The unix username and 
jabber password is used by a modified User.class to create a user 
XML file in the jabberd spool directory. The patch relies on some 
permission tweaks in the jabberd directory:

 . The apache user should be added to the jabberd group.
 . The spool directory (spool/jabber.company.com) should be 
group-writable.

This will ensure that the PHP code run by apache will be able to 
create the XML files properly.

You should also disable caching within jabberd by adding a 
<timeout> tag to the jabber.xml file like so:

  <xdb id"xdb">
    <host/>
    <load>
      <xdb_file>./xdb_file/xdb_file.so</xdb_file>
    </load>
    <xdb_file xmlns="jabber:config:xdb_file">
      <spool><jabberd:cmdline flag='s'>./spool</
jabberd:cmdline></spool>
      <timeout>0</timeout>
    </xdb_file>
  </xdb>

----------------------------------------------------------------------

You can respond by visiting: 
http://gforge.org/tracker/?func=detail&atid=106&aid=421&group_id=1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]