Auto provisioning with Active Directory not working

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ragesh
Posts: 4
Joined: Tue Feb 26, 2019 3:53 am

Auto provisioning with Active Directory not working

Post by ragesh »

Hi ...I had enabled auto provisioning against our Active directory and it was working fine on LAZY mode..the script was placed on /tmp directory as per the zimbra documentation ( https://wiki.zimbra.com/wiki/How_to_con ... ng_with_AD) .but as it was /tmp its got deleted after a month...I had tried to recreate the script and its not working ....I had verified the script against one of the back up i had and looks fine ...As we have almost 6000 AD users now i doubt LDAP query may causing the issue I had increased LDAP session count on AD to 10000...still no luck...can any on helping where I m missing ..? ..i need to have on LAZY mode as i just need to create user in AD .

Pls see my script and help.

md xxxx.com zimbraAutoProvMode LAZY
md xxxx.com zimbraAutoProvAccountNameMap "samAccountName"
md xxxx.com +zimbraAutoProvAttrMap description=description
md xxxx.com +zimbraAutoProvAttrMap displayName=displayName
md xxxx.com +zimbraAutoProvAttrMap givenName=givenName
md xxxx.com +zimbraAutoProvAttrMap cn=cn
md xxxx.com +zimbraAutoProvAttrMap sn=sn
md xxxx.com zimbraAutoProvAuthMech LDAP
md xxxx.com zimbraAutoProvBatchSize 40
md xxxx.com zimbraAutoProvLdapAdminBindDn "CN=zimbraldap,OU=GLOBAL,DC=xxxx,DC=com"
md xxxx.com zimbraAutoProvLdapAdminBindPassword "password"
md xxxx.com zimbraAutoProvLdapBindDn "zimbraldap@xxxx.com"
md xxxx.com zimbraAutoProvLdapSearchBase "dc=xxxx,dc=com"
md xxxx.com zimbraAutoProvLdapSearchFilter "(cn=%u)"
md xxxx.com zimbraAutoProvLdapURL "ldap://192.168.xx.xxx:389"
md xxxx.com zimbraAutoProvNotificationBody "Your account has been auto provisioned. Your email address is ${ACCOUNT_ADDRESS}. Password will be same as your windows password"
md xxxx.com zimbraAutoProvNotificationFromAddress prov-admin@xxxx.com
md xxxx.com zimbraAutoProvNotificationSubject "New account auto provisioned"
ms zimbramail.xxxx.com zimbraAutoProvPollingInterval "1m"
ms zimbramail.xxxx.com +zimbraAutoProvScheduledDomains "xxxx.com"
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Auto provisioning with Active Directory not working

Post by pup_seba »

Post Reply