s4-ldb: validate the type of the ldb argument to ldb_dn_new()