Could you try doing
strace -f -o/tmp/strace.out ldapadduser <user> <group>
and see where it it hangs? Assuming it is the server and not the client which hangs, then you'll probably want to do
p=`pidof slapd` strace -f -o/tmp/strace2.out -p $p
and leave that running while you do the ldapadduser command in another terminal. (Please make sure there is no sensitive information before posting that, but I assume this is all test data?)
Could you try doing
strace -f -o/tmp/strace.out ldapadduser <user> <group>
and see where it it hangs? Assuming it is the server and not the client
which hangs, then you'll probably want to do
p=`pidof slapd`
strace -f -o/tmp/strace2.out -p $p
and leave that running while you do the ldapadduser command in another
terminal. (Please make sure there is no sensitive information before
posting that, but I assume this is all test data?)