ldapscripts error: trap: usage: trap [-lp] [arg signal_spec ...]

Running the latest version of ldapscripts from Debian lenny (ver 1.7.1-2) I was getting this error:
trap: usage: trap [-lp] [arg signal_spec ...]whenever I was running ldapadduser.

To fix this you have to edit /usr/share/ldapscripts/runtime and find the line:
...
# Reset traps
trap -
...

and change it to:
trap - 2in order to fix the trap error.

Tags: ,

LDAP: troubleshooting “I have no name!”

After performing some security related OS updates, i was receiving from LDAP all sort of strange errors. Like, when you logged on the ldap server as a regular ldap user (not system user) the regular user@host:~$ prompt changed to:
I have no name!@host:~$
Read the rest of this entry »

Tags: ,

Marius on Twitter