APPLICATION ERROR #1401
LDAP Server Connection Failed.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Tu jest moja konfiguracja :
$g_login_method = LDAP;
$g_ldap_server = 'ldap://serwer.cos.ad.local:3268';
$g_ldap_root_dn = 'DC=cos,DC=ad,DC=local';
$g_ldap_uid_field= 'sAMAccountName';
$g_ldap_bind_dn = 'CN=m.on,OU=DZIT,OU=Users_Administracja,OU=OU_USERS,DC=cos,DC=ad,DC=local';
$g_ldap_bind_passwd = 'costam'; # System account password *
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_use_ldap_realname = ON;
nie mam już pojęcia co jest źle proszę o pomoc
pozdrawiam Marcin
APPLICATION ERROR #1401
Moderators: Developer, Contributor
Re: APPLICATION ERROR #1401
Please check the forum, there are multiple topics on LDAP.
Please do report in English if you want to get support.
Please do report in English if you want to get support.
-
- Posts: 7
- Joined: 12 Mar 2020, 20:17
Re: APPLICATION ERROR #1401
ok thanks i just have a problem connecting via ldap
-
- Posts: 7
- Joined: 12 Mar 2020, 20:17
Re: APPLICATION ERROR #1401
this my new configuration:
$g_login_method = LDAP;
$g_ldap_server = 'ldap://serwer.cos.ad.local:389';
$g_ldap_root_dn = 'CN=Users,DC=cos,DC=ad,DC=local';
$g_ldap_organization = '(objectClass=*)';
$g_ldap_realname_field = 'cn';
$g_ldap_uid_field= 'sAMAccountName';
$g_ldap_bind_dn = 'CN=m.on,CN=Users,DC=cos,DC=ad,DC=local';
$g_ldap_bind_passwd = 'costam'; # System account password *
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_use_ldap_realname = ON;
and I have a log list with an error:
2020-03-14 20:36 CET LDAP ldap_api.php:327 ldap_authenticate_by_username() Binding to LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldap://serwer.cos.ad.local:389'.
2020-03-14 20:36 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2020-03-14 20:36 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2020-03-14 20:36 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2020-03-14 20:36 CET LDAP ldap_api.php:335 ldap_authenticate_by_username() Searching for (&(objectClass=*)(sAMAccountName=administrator))
2020-03-14 20:36 CET LDAP ldap_api.php:358 ldap_authenticate_by_username() Checking CN=Administrator,CN=Users,DC=cos,DC=ad,DC=local
2020-03-14 20:36 CET LDAP ldap_api.php:370 ldap_authenticate_by_username() Unbinding from LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:397 ldap_authenticate_by_username() Authentication failed
why was the authorization unsuccessful?
$g_login_method = LDAP;
$g_ldap_server = 'ldap://serwer.cos.ad.local:389';
$g_ldap_root_dn = 'CN=Users,DC=cos,DC=ad,DC=local';
$g_ldap_organization = '(objectClass=*)';
$g_ldap_realname_field = 'cn';
$g_ldap_uid_field= 'sAMAccountName';
$g_ldap_bind_dn = 'CN=m.on,CN=Users,DC=cos,DC=ad,DC=local';
$g_ldap_bind_passwd = 'costam'; # System account password *
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_use_ldap_realname = ON;
and I have a log list with an error:
2020-03-14 20:36 CET LDAP ldap_api.php:327 ldap_authenticate_by_username() Binding to LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldap://serwer.cos.ad.local:389'.
2020-03-14 20:36 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2020-03-14 20:36 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2020-03-14 20:36 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2020-03-14 20:36 CET LDAP ldap_api.php:335 ldap_authenticate_by_username() Searching for (&(objectClass=*)(sAMAccountName=administrator))
2020-03-14 20:36 CET LDAP ldap_api.php:358 ldap_authenticate_by_username() Checking CN=Administrator,CN=Users,DC=cos,DC=ad,DC=local
2020-03-14 20:36 CET LDAP ldap_api.php:370 ldap_authenticate_by_username() Unbinding from LDAP server
2020-03-14 20:36 CET LDAP ldap_api.php:397 ldap_authenticate_by_username() Authentication failed
why was the authorization unsuccessful?
-
- Posts: 7
- Joined: 12 Mar 2020, 20:17
Re: APPLICATION ERROR #1401
and why?
sAMAccountName=administrator
not user : m.on?
sAMAccountName=administrator
not user : m.on?
-
- Posts: 7
- Joined: 12 Mar 2020, 20:17
Re: APPLICATION ERROR #1401
now I can only upload to the user:
the one given to connect to ldap:
m.on
"Your account may be disabled or the username / password may not be valid."
even though the same organizational unit
the one given to connect to ldap:
m.on
"Your account may be disabled or the username / password may not be valid."
even though the same organizational unit
-
- Posts: 7
- Joined: 12 Mar 2020, 20:17
Re: APPLICATION ERROR #1401
now logs in to each account
provided that there must be a default organizational unit, e.g. Users
on the newly created unit does not work
provided that there must be a default organizational unit, e.g. Users
on the newly created unit does not work