# Upgrade from 3.1.0 to 3.2.0 - missing LDAP field?

**URL:** <https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908>\
**Category:** Troubleshooting\
**Created:** [July 19, 2016, 1:48pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908 "2016-07-19T13:48:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wintrmte](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wintrmte](https://forum.mattermost.com/u/Wintrmte)\
**Post date:** [July 19, 2016, 1:48pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/1 "2016-07-19T13:48:50Z")

</div>

Hello,

Trying to upgrade the enterprise edition from 3.1.0 to 3.2.0 and on startup, I’m getting the following error:  
[EROR] (main.main:92) Unable to load mattermost configuration file: Config.IsValid: Required LDAP field missing,

It’s not real descriptive on which LDAP field is missing, though. I diffed the old 3.1.0 config.json with the new 3.2.0 config.json and the only real difference I can see is the addition of a MaxPageSize directive. I’ve added that to my existing config.json.

Is there something else I missed?

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [July 19, 2016, 5:52pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/2 "2016-07-19T17:52:12Z")

</div>

Hi @Wintrmte, I think [LDAP “FirstNameAttribute” and “LastNameAttribute”](http://docs.mattermost.com/administration/changelog.html?highlight=changelog#config-json) became required settings.

Updated the upgrade guide to have a section on [upgrading to v3.2](http://docs.mattermost.com/administration/upgrade.html#upgrade-enterprise-edition-to-3-2-x) to make this clearer.

---

<div class="post-metadata">

**Author:** ![Wintrmte](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wintrmte](https://forum.mattermost.com/u/Wintrmte)\
**Post date:** [July 19, 2016, 6:39pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/3 "2016-07-19T18:39:23Z")

</div>

@lfbrock Thanks! I had those already filled in but still get the error on startup. The attributes I do not have values in are:

BindUsername  
BindPassword  
– We use anonymous bind to validate credentials

UserFilter  
NickNameAttribute

I did add the MaxPageSize value to the config, also – might want to add that to your Upgrading to 3.2, that’s a new value it seems.

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [July 19, 2016, 7:38pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/4 "2016-07-19T19:38:43Z")

</div>

Thanks, I filed a bug here to fix the issue: [https://mattermost.atlassian.net/browse/PLT-3701](https://mattermost.atlassian.net/browse/PLT-3701)

I think BindUsername and BindPassword must have been made required as well, going to discuss with the team to see if we can do a dot release to fix it.

You should also be able to fix it if you create an account for Mattermost instead of doing anonymous bind, is there a particular reason you’re using anonymous bind currently?

EDIT: Decision was not to do a dot release but this will be fixed in v3.3, because anonymous bind was not intentionally supported previously it just happened to work if the fields were left blank.

---

<div class="post-metadata">

**Author:** ![Wintrmte](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wintrmte](https://forum.mattermost.com/u/Wintrmte)\
**Post date:** [August 11, 2016, 7:29pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/5 "2016-08-11T19:29:36Z")

</div>

OK thanks for letting me know that this will be fixed in 3.3 - I noticed that RC1 is available, any kind of release ETA?

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/eric/32/242_2.png) [@eric](https://forum.mattermost.com/u/eric)\
**Post date:** [August 11, 2016, 8:26pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/6 "2016-08-11T20:26:54Z")

</div>

3.3 will be released August 16! You can follow the [release meta issue](https://github.com/mattermost/platform/issues/3702) for updates on the latest RCs.

---

<div class="post-metadata">

**Author:** ![Wintrmte](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wintrmte](https://forum.mattermost.com/u/Wintrmte)\
**Post date:** [August 11, 2016, 10:52pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/7 "2016-08-11T22:52:01Z")

</div>

Outstanding! Looking forward to it.

---

<div class="post-metadata">

**Author:** ![Wintrmte](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wintrmte](https://forum.mattermost.com/u/Wintrmte)\
**Post date:** [August 16, 2016, 8:44pm UTC](https://forum.mattermost.com/t/upgrade-from-3-1-0-to-3-2-0-missing-ldap-field/1908/8 "2016-08-16T20:44:20Z")

</div>

Can confirm this issue was resolved in 3.3.0
