Again about AD

Please, help to configure AD connection.

ejabberd2.0.0\win2003 :
\ejabberd.cfg

Quote:

{loglevel, 5}.

{hosts, ["local","ad.pvt"]}.

...

{host_config, "local", [{auth_method, [internal]}]}.

{host_config, "ad.pvt", [{auth_method, ldap},
{ldap_servers, ["ad.pvt"]},
{ldap_uids, [{"sAMAccountName"}]},
{ldap_base, "dc=ad,dc=pvt"},
{ldap_rootdn, "CN=adm,CN=Domain Admins,DC=ad,DC=pvt"},
{ldap_password, "xxxxxxxxxxxxxxx"},
{ldap_filter, "(memberOf=*)"}]}.

{modules,
[
....
{mod_roster, []},
{mod_shared_roster,[]},
....
{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"}]}
]}
]}.

trying to connect throw Psi

in ejabberd.log i'v got:

Quote:

=INFO REPORT==== 2008-03-27 09:31:42 ===
I(<0.256.0>:ejabberd_listener:112) : (#Port<0.382>) Accepted connection {{192,168,1,64},1654} -> {{192,168,1,32},5222}

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = "<?xml version=\"1.0\"?>\n\n"

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.415.0>:ejabberd_c2s:1335) : Send XML on stream = "<?xml version='1.0'?>"

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.415.0>:ejabberd_c2s:1335) : Send XML on stream = "PLAIN"

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = ""

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = []

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = []

=INFO REPORT==== 2008-03-27 09:31:42 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = []

=INFO REPORT==== 2008-03-27 09:31:43 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = "<?xml version=\"1.0\"?>\n\n"

=INFO REPORT==== 2008-03-27 09:31:43 ===
D(<0.415.0>:ejabberd_c2s:1335) : Send XML on stream = "<?xml version='1.0'?>"

=INFO REPORT==== 2008-03-27 09:31:43 ===
D(<0.415.0>:ejabberd_c2s:1335) : Send XML on stream = "PLAIN"

=INFO REPORT==== 2008-03-27 09:31:43 ===
D(<0.414.0>:ejabberd_receiver:297) : Received XML on stream = "AGd1ZXN0MDcAZ3Vlc3QwNw=="

=INFO REPORT==== 2008-03-27 09:31:43 ===
I(<0.415.0>:ejabberd_c2s:561) : ({socket_state,tls,{tlssock,#Port<0.382>,#Port<0.391>},<0.414.0>}) Failed authentication for test@ad.pvt

=INFO REPORT==== 2008-03-27 09:31:43 ===
D(<0.415.0>:ejabberd_c2s:1335) : Send XML on stream = ""

1.adm is Domain Administrator
2.in AD connection logs i don't see any attempt to logon from "adm" user

Syndicate content