Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created August 20, 2014 15:57
Show Gist options
  • Save sonOfRa/7b4c32a1d0bc89ed4060 to your computer and use it in GitHub Desktop.
Save sonOfRa/7b4c32a1d0bc89ed4060 to your computer and use it in GitHub Desktop.
def create_new_alias_params(name, maildrops, mag=name, ownerUid='root')
{
objectClass: %w(top virtualaccount),
cn: name,
mailacceptinggeneralid: mag,
maildrop: maildrops,
owner: "uid=#{ownerUid},ou=People,dc=ldap,dc=corp.acme.com"
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment