Very sorry that I assumed you were using exchange, once you mention AD I start assuming a windows setup, and it's better that you get too much information then not enough. (ok well most of the time

-till you get information overload)
Maybe some zimbra employees will jump in with AD migration tips, but please realize that zimbra employees do not have to use the forums.
We (whether it's zimbra employees, moderators and even regular users like dijichi2 & dirk) all try to answer as many questions as possible, even though we are very busy with our own primary jobs first. We can't research every last problem-we have our own IT departments to support.
That being said zimbra doesn't abandon the fourms, their actually a very good source for enhancement/idea generation, & when suddenly lots of people have the same issue, we know there's a possible bug somewhere.
You do know that if your using the NE trial you have installation support...fire off an email to
support@zimbra.com
Your welcome to open a RFE (request for enhancement) in
bugzilla for better automatic Active Directory account provisioning.
(Be sure to search it first, as someone may already have one open.) I know the LDAP one is:
Bug 7235 - Auto Provision New Accounts with External LDAP
If you we're talking about AdventNet's ADManager, I've used their stuff before-but it's not open source...used to moderate in the OpManager forums back when the company was just starting to take off big time. (think they now own zoho)
(hm don't remember what my login was-can only find one of my other ones
AdventNet :MCode: profile)
The authentication section isn't designed to provision users, your most likely going to be using zmprov commands to do the account creation.
In AD can you right click the folders of the user you want to export>csv file.
(the below is shortened from this:
Bulk Provisioning - ZimbraWiki )
-remove extraneous columns
The following is a simple perl script to take a CSV file and turn it into the correct zmprov commands-obviously change the variables to the actual fields you use in your CSV file.
#!/usr/bin/perl
while (<>) {
chomp;
my ($email, $password, $first, $last) = split(/\,/, $_, 4);
print qq{ca $email $password\n};
print qq{ma $email givenName "$first"\n};
print qq{ma $email sn "$last"\n};
print qq{ma $email displayName "$first $last"\n};
print qq{\n};
}
I would use ‘’ for the passwords so that it would use the external auth. (Seeing as passwords probably won't be in this csv list & you said earlier that your auth section is working properly.)
This would assign everyone to the default COS (class of service), if you wanted to organize it during import, put the cos names in the csv file, then lookup the valid COS ID ahead of time or like this:
my $cosid = `su - zimbra -c 'zmprov gc Default |grep zimbraId:'`;
$cosid =~ s/zimbraId:\s*|\s*$//g;
Then add:
print qq{ma $email zimbraCOSid "$cosid"\n};
Anteos seems to manage his fully through AD & may have some tips:
Quote:
Originally Posted by anteos Zimbra doesn't support user and group creation through AD, but you can write small scripts to synchronize the users on Zimbra against AD. We made it with users (created, locked, deleted), groups, shared calendars and distribution lists fully managed through AD. |
That being said I'm sure your under pressure to get this setup or switch from another solution etc. I understand, I've been there, & I know that if you have a large # of accounts ahead of you that it probably looks to be a daunting task to create all the accounts. I hope you can find a batch account provisioning method that suits your situation;
Zmprov will be your friend.