Skip to content

Latest commit

 

History

History

README.md

Tools

xcauth.logrotate

To regularily rotate the logs, copy xcauth.logrotate to /etc/logrotate.d/xcauth.

make install already does this for you.

xcauth.sudo and xcejabberdctl.sh

If you want to enable shared roster groups support for ejabberd.

  • Copy xcauth.sudo as /etc/sudoers.d/xcauth,
  • Copy xcejabberd.sh as /usr/sbin/xcejabberdctl
  • Remove the # in the ejabberdctl=/usr/sbin/xcejabberdctl line of /etc/xcauth.conf
  • If your ejabberdctl does not live in /usr/sbin, please create a symlink from /usr/sbin/ejabberdctl.

make install already does the first two steps for you.

xcrestart.sh

Restarts the sockets and services for systemd. The service does not need to be explicitely started, it will be on the first connection to one of the sockets. It also fixes the permissions of the database and log files, if xcauth was first manually started as root and created the files with the wrong permissions.

make install installs this as /usr/bin/xcrestart

xcrefreshroster.sh

This will cause the roster groups to be rebuilt on the next login of one of their users. Necessary when the XMPP server's state differs from the cache, e.g., because of manual modifications or due to an error in synchronization, as it happened e.g. in v2.0.2.

make install installs this as /usr/bin/xcrefreshroster

xcdeluser.sh

This will delete most of a user's entries from the database. Not purged are group memberships, as they will be auto-updated on the next login of another member of that group (and cannot easily be dealt with using SQL statements). To make sure it will not reappear, you also have to delete it from Nextcloud.

make install installs this as /usr/bin/xcdeluser

xcdelgroup.sh

This will delete a particular group from the cache. To make sure it will not reappear, you also have to delete it from Nextcloud.

make install installs this as /usr/bin/xcdelgroup

xcdelhost.sh

This will delete all entries relating to a host from xcauth. ejabberd maitains its own storage.

make install installs this as /usr/bin/xcdelhost

dhparam.pem and ejabberd.yml

These are the sample configuration files from our Debian and/or Raspberry Pi setup.

make install installs them in /etc/ejabberd as *-xcauth-example.