fixing ddnskey generation for slaves