I copy/pasted the config example from
E(<0.36.0>:ejabberd_config:106) : Problem loading ejabberd config file ../conf/../conf/ejabberd.cfg approximately in the line 200: syntax error before: '.'
Here is the AD section of my config file.
%%% AUTHENTICATION
{auth_method, ldap}.
{ldap_servers, ["cvhdc01-001.cvchospital.com"]}. % List of LDAP servers
{ldap_base, "CN=users;DC=cvchospital,DC=com"}. % Search base of LDAP directory
{ldap_rootdn, "CN=Administrator,CN=Users,DC=cvchospital,DC=com"}. % LDAP manager
{ldap_password, "REMOVED"}. % Password to LDAP manager
{ldap_uids, [{"sAMAccountName"}]}.
{ldap_filter, "(memberOf=*)"}.
{modules,
[
... (Line 200)
{mod_vcard_ldap,
[{ldap_vcard_map,
[{"NICKNAME", "%u", []},
{"GIVEN", "%s", ["givenName"]},
{"MIDDLE", "%s", ["initials"]},
{"FAMILY", "%s", ["sn"]},
{"FN", "%s", ["displayName"]},
{"EMAIL", "%s", ["mail"]},
{"ORGNAME", "%s", ["company"]},
{"ORGUNIT", "%s", ["department"]},
{"CTRY", "%s", ["c"]},
{"LOCALITY", "%s", ["l"]},
{"STREET", "%s", ["streetAddress"]},
{"REGION", "%s", ["st"]},
{"PCODE", "%s", ["postalCode"]},
{"TITLE", "%s", ["title"]},
{"URL", "%s", ["wWWHomePage"]},
{"DESC", "%s", ["description"]},
{"TEL", "%s", ["telephoneNumber"]}]},
{ldap_search_fields,
[{"User", "%u"},
{"Name", "givenName"},
{"Family Name", "sn"},
{"Email", "mail"},
{"Company", "company"},
{"Department", "department"},
{"Role", "title"},
{"Description", "description"},
{"Phone", "telephoneNumber"}]},
{ldap_search_reported,
[{"Full Name", "FN"},
{"Nickname", "NICKNAME"},
{"Email", "EMAIL"}]}
]},
...
]}.
I copied those config lines
I copied those config lines to my cfg, and ejabberd starts without complaining about syntax. Maybe the syntax error is before line 200.
If you can't still find the error, paste your full cfg inhttp://paste.jabbim.cz/ or similar, and we can try it fully.