I ripped out the looping code while debugging - I couldn't even get one record to work. And I used the $entry object to verify that my array of attributes are correct, which they were. So I'll go back to the $ldap->add() style. Maybe I'll write a tutorial when I'm done with this. :)