Below is my attempt to create and account using the Net::LDAP#add
command
not much luck with this script completes without error but nothing gets
added to the Domain.  If anyone has anything to add please go ahead and
comment.

require 'rubygems'
require 'net/ldap'

ldap = Net::LDAP.new
ldap.host = "192.168.1.1"
ldap.port = 389
user = "adminuser / company.com"
pass = "password"
ldap.auth user, pass

dn = "cn=Rubyldap, Test,ou=myou,dc=company,dc=com"
attr = {
	:cn => "Rubyldap, Test",
	:objectClass => "user",
	:sAMAccountName => "rubytest",
	:userPrincipalName => "rubytest / company.com"
}
ldap.add( :dn => dn, :attributes => attr )