Problem with auto-provision

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
fell_22
Posts: 4
Joined: Tue May 05, 2020 11:03 am

Problem with auto-provision

Post by fell_22 »

Hi. I have a problem with auto-provision. I have some AD users, so, to auto-provision I create a file with this lines:

md domain.name zimbraAutoProvAccountNameMap sAMAccountName
md domain.name zimbraAutoProvBatchSize 20
md domain.name zimbraAutoProvLdapAdminBindDn "CN=integrations,OU=Users,DC=domain,DC=name"
md domain.name zimbraAutoProvLdapAdminBindPassword "password"
md domain.name zimbraAutoProvLdapBindDn "dc=domain,dc=name"
md domain.name zimbraAutoProvLdapSearchBase "dc=domain,dc=name"
md domain.name zimbraAutoProvLdapSearchFilter (&(sAMAccountName=%u))
md domain.name zimbraAutoProvLdapStartTlsEnabled FALSE
md domain.name zimbraAutoProvLdapURL "ldap://dc_ip:389"
md domain.name zimbraAutoProvMode EAGER
md domain.name zimbraAutoProvNotificationBody "Your account has been auto provisioned. Your email address is ${ACCOUNT_ADDRESS}."
md domain.name zimbraAutoProvNotificationSubject "New account auto provisioned"
ms zimbra.domain.name zimbraAutoProvPollingInterval 1m
ms zimbra.domain.name zimbraAutoProvScheduledDomains "domain.name"

Then, I execute it with the command "zmprov < /tmp/autoprovision.txt". The AD users are created on Zimbra but I can't login with them. I have to change their password from Zimbra Administration to login with them. Any solution?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Problem with auto-provision

Post by DualBoot »

Hello,

did you set the external authentication method with your AD ?

Regards,
fell_22
Posts: 4
Joined: Tue May 05, 2020 11:03 am

Re: Problem with auto-provision

Post by fell_22 »

DualBoot wrote:Hello,

did you set the external authentication method with your AD ?

Regards,
That was the solution, thanks. But I have another problem, the autoprovision only works the first time. If I create new AD users, Zimbra doesn't create them.
Post Reply