The object of a dependent clause is not the object in the main clause of the sentence; rather, it occupies the the object's position within the dependent clause.
direct object:
Because a man may find his place in nature on the earth, it is possible that he will not have to dwell on the moon.
indirect object:
John will not throw rocks at the squirrel as long as the squirrel does not tease John with a walnut.
predicate noun (if the verb in the dependent clause is a linking verb):
Harvey will always make sure a cat does not worry about losing one of its lives unless the cat is a feline with an attitude.