After some strugle with slapd on mips I managed to get slapd installed on mips. For some reason there seems to be a problem with bdb in Debian’s slapd package ATM (slapd 2.1.30-2). For now I installed slapd afterwards changed slapd’s config to use ldbm instead of bdb and reinstalled slapd. That seems to work for me ATM.

If I have some spare time on the next week-end I will do some research on bdb backend and why it fails on mips.