Gradew

Tag: configuration

Quick’n'dirty LDAP integration

by Gradew on Apr.22, 2009, under System


LDAP integration is generally easily done. There is however a configuration step that is often left aside on forums or tutorials.Here’s what should be done:

  1. Add “ldap” to /etc/nsswitch.conf in the passwd, shadow and group sections
  2. Configure /etc/ldap.conf to match your LDAP configuration; it mainly consists of IP and root DN(dc=thingy,dc=com)
  3. (often-forgotten-step right here): you need to add the following line to /etc/pam.d/system-auth so that users may authenticate against the LDAP directory:

auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass

Leave a Comment :, more...

Les joies des Eggdrop: vers un rehash plus sain ?

by Gradew on Aug.10, 2007, under System

Vous avez envie de tuer votre eggdrop parce qu’il fait n’importe quoi? C’est normal ;-) .

Le rehash du bot suffit en général à résoudre bien des problèmes, sauf dans certains cas comme le changement d’un flag lié à un canal de discussion (+/-enforcebans, par exemple). Les eggdrops ayant la fâcheuse tendance à mettre en cache leurs flags dans le fichier “.chan”, il est en général préférable d’effacer tout simplement ce fichier avant de demander au bot de redémarrer, afin de le forcer à recharger la configuration correctement. Ainsi:

  • à partir de votre shell où se trouve l’eggdrop: rm -f <fichier .chan>
  • sur IRC: /msg <nom du bot> rehash <mot de passe>
Leave a Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!