Creating LDAP (specifically, Active Directory) records

Has anyone done anything with creating LDAP records? I've got an app that needs to talk to my AD domain and ideally create new accounts, but I'm having a hard time finding information on if anyone has published anything regarding the creation of new accounts.

I've done a bit of work on this (querying only)

Here are some resources... http://ruby-ldap.sourceforge.net/ http://rubyforge.org/projects/ruby-activeldap/