Weblogs for kapal
#2
Posted by kapal on Mon 16 Oct 2006 at 14:35
I've successfuly installed and configured courier on Debian 3.1 Sarge/stable. I've got slapd installed and working, authenticated via ssh, login, apache2... But still haven't succeeded configuring courier against it.
Here's how it looks:
I tried to add example account, ldif file below:
dn: uid=test, ou=Mail, dc=example, dc=com
userPassword: encrypted
mailMessageStore: /home/test/Maildir/
mailbox: /home/test/Maildir/
mail: test@example.com
ou: Mail
uid: test
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
what i get, when ldapadd'ing this file is:
ldap_add: Undefined attribute type (17)
additional info: mailMessageStore: attribute type undefined
So i looked into /etc/ldap/schema, and found that no mail schema is installed.
I apt-cached found none approprieate schema for courier, googled a bit, and found courier schema, but it didnt work.
I guess approprieate schema should be provided in some package in the Debian distro, either with courier-ldap or as a separate package. Tell me if im wrong, bu t it should be reported or maybe im mistaken somewere.
Here's how it looks:
I tried to add example account, ldif file below:
dn: uid=test, ou=Mail, dc=example, dc=com
userPassword: encrypted
mailMessageStore: /home/test/Maildir/
mailbox: /home/test/Maildir/
mail: test@example.com
ou: Mail
uid: test
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
what i get, when ldapadd'ing this file is:
ldap_add: Undefined attribute type (17)
additional info: mailMessageStore: attribute type undefined
So i looked into /etc/ldap/schema, and found that no mail schema is installed.
I apt-cached found none approprieate schema for courier, googled a bit, and found courier schema, but it didnt work.
I guess approprieate schema should be provided in some package in the Debian distro, either with courier-ldap or as a separate package. Tell me if im wrong, bu t it should be reported or maybe im mistaken somewere.
#1
Posted by kapal on Tue 10 Oct 2006 at 10:28
Previously there were http://www.debian-administration.org/articles/77 a few words written upon traffic shaping, which i found not really helpful. I've tried tc, but it's a bit `spartan' for me. I've installed shaperd, which wont work. Here's what i done (on Debian 3.1/testing with 2.6.15-1-686 ):
1) apt-get-installed shaperd
2) added some traffic shaping rules to /etc/shaperd/shaperd.conf (based on examples in /usr/share/doc/shaperd/examples) which are correct (according to syslog)
3) modprobe ip_queue
4) killall -HUP shaperd
5) iptables -I INPUT -j QUEUE
iptables -I OUTPUT -j QUEUE
what i got in syslog is that i should patch my kernel:
"localhost shaperd[5428]: invalid packet (hw_protocol=0x0) please apply http://webs.sinectis.com/lesanti/shaperd/fw-2.4.17.patch to fix this problem {packet.cpp:157}"
1) apt-get-installed shaperd
2) added some traffic shaping rules to /etc/shaperd/shaperd.conf (based on examples in /usr/share/doc/shaperd/examples) which are correct (according to syslog)
3) modprobe ip_queue
4) killall -HUP shaperd
5) iptables -I INPUT -j QUEUE
iptables -I OUTPUT -j QUEUE
what i got in syslog is that i should patch my kernel:
"localhost shaperd[5428]: invalid packet (hw_protocol=0x0) please apply http://webs.sinectis.com/lesanti/shaperd/fw-2.4.17.patch to fix this problem {packet.cpp:157}"