Mittwoch, 21. Oktober 2009

OpenLDAP Problems

I was trying to add an existing backend db to a new OpenLDAP installation, basically by creating a new .LDIF file with the config base on the example at the end of http://www.openldap.org/doc/admin23/slapdconf2.html

However when adding it with:
ldapadd -c -f configMyDb.ldif -x -D "cn=admin,cn=config" -W


I got:
ldap_add: Invalid syntax (21)
additional info: olcSuffix: value #0 invalid per syntax


Reason being:
olcSuffix: "dc=example,dc=com"
instead of
olcSuffix: dc=example,dc=com

(Removing the quotes..)

Dienstag, 8. September 2009

DVD Drive problems

My Pioneer DVD Drive was not visible in Windows Vista on a P965 chipset Asus board with a JMB363 Controller for the IDE connection. It worked perfectly under Linux. However changing the JMB BIOS setting from IDE to AHCI did the trick.

Montag, 27. Oktober 2008

HP Deskjet F380 Problems

Situation: HP F380 attached locally via USB to a Debian Etch machine with HPLIP for printing

Problem: Printing does not start due to "Device communication error" 5012 OR it prints an empty page!

Solution: Add the current user to the group lp with adduser USER lp

Idea taken from: Error 5012

Freitag, 24. Oktober 2008

Windows Activation (sucks ass)

Setup: Windows XP SP2 fresh install
Problem: During Internet activation: Windows activation cannot be completed at this time.
Solution: Download and seperately install Windows XP SP 3

Freitag, 15. August 2008

Tele2 Complete (Student) bandwidth problem

Problem: Internet from Tele2 with Complete Student product and a vood Router working in a setup bridged mode. Somehow bandwidth seems capped at 20-30 KBps.

Reason: They seem to have changed the lines for VOIP and Internet

Solution: At the router switch to the other channel (pppoe2 instead of pppoe1) for bridged PPPoE.

Vista immediately rebooting at startup

Reason: USB-Stick plugged in
Solution: Boot without it

Cygwin Emacs

Problem: Using Cygwin under Windows Vista with emacs inside and C-x C-c is not working, because it is somehow mapped to C-x C-g

Reason: Unknown

Solution: Add 'export CYGWIN=binmode ntsec tty' to .bashrc in the home directory.

See: http://groups.google.com/group/gnu.emacs.help/browse_frm/thread/a180845843d43295?hl=en&lr=&ie=UTF-8&oe=UTF-8&rnum=5&prev=/groups%3Fas_q%3D%27C-x%2520C-g%27%26safe%3Dimages%26ie%3DUTF-8%26oe%3DUTF-8%26as_ugroup%3D*emacs*%26lr%3D%26as_scoring%3Dd%26hl%3Den