Comments (8)
Sorry, I literally have 15+ packages to maintain, not including multiple projects and a full time job.
I put Adldap2 on the highest priority for my packages, however sometimes life happens and I can't reach an issue the same day.
Anyway, it looks like the error is correct, your base DN syntax is wrong.
A base DN needs to end with the DN of your domain controller, for example:
'base_dn' => 'dc=corp,dc=acme,dc=org',
from adldap2-laravel.
Hey please at-least comment on this. Whether you need more information on this or it is completely wrong. So I will look for other alternatives.
from adldap2-laravel.
Thank you so much for the response stevebauman and sorry if my comments offend you. I really appreciate your effort in making this package so easy to use.
from adldap2-laravel.
Thank you so much for the response stevebauman and sorry if my comments offend you.
No need to apologize, I just want to make sure developers don't think I'm ignoring their issues, its one of my top priorities because I use this package every day. Thanks for being involved and creating an issue!
Did fixing your base DN resolve your issue?
from adldap2-laravel.
No I haven't tried that yet. I'll check and inform you about it.
-----Original Message-----
From: "Steve Bauman" [email protected]
Sent: 23-03-2016 19:47
To: "Adldap2/Adldap2-Laravel" [email protected]
Cc: "kiran-neobric" [email protected]
Subject: Re: [Adldap2-Laravel] Bind to Active Directory failed. Check thelogin credentials and/or server details. AD said: Invalid DN syntax (#72)
Thank you so much for the response stevebauman and sorry if my comments offend you.
No need to apologize, I just want to make sure developers don't think I'm ignoring their issues, its one of my top priorities because I use this package every day. Thanks for being involved and creating an issue!
Did fixing your base DN resolve your issue?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
from adldap2-laravel.
I have changed the code according to your suggestions and somehow, it is still throwing me the same error, regardless of whatever changes I made to it. I know, there is something I am missing in it. Because the package is used by so many others without any hitch. I think there is no issue with my AD, as it is connected just fine with other applications.
So I am just posting my "adldap.php" settings and "adldap_auth.php", please see if you can help me with those.
adldap.php
'auto_connect' => true,
'connection' => Adldap\Connections\Ldap::class,
'connection_settings' => [
'account_suffix' => '@example.com',
'domain_controllers' => ['192.168.1.XXX'], // This my local IP, where the LDAP is.
'port' => 10389,
'base_dn' => 'uid=admin,ou=system,dc=example,dc=com', //Because my domain controller is example.com. You can view it in the image I have posted earlier.
'admin_account_suffix' => '@example.com',
'admin_username' => 'admin',
'admin_password' => 'admin_password',
'follow_referrals' => false,
'use_ssl' => false,
'use_tls' => false,
'use_sso' => false,
],
adldap_auth.php (Just posting the modified parameters)
'username_attribute' => ['email' => 'mail'],
'login_attribute' => 'mail',
'windows_auth_attribute' => ['mail' => 'AUTH_USER'],
Thank you very much for your support, regardless of your busy schedule / workloads.
from adldap2-laravel.
Apologies for the long response.
Are you able to connect at all to your server using Adldap2? Or is it just during authentication that you receive this error?
For example, are you able to query your server at all using Adldap2?
from adldap2-laravel.
Closing due to inactivity.
from adldap2-laravel.
Related Issues (20)
- can't contact ldap server on production server, works fine on Test server HOT 1
- workaround for: problem with two factor authentication #894
- Error updating to V6 from V5
- Integrate Make OU and Make Group HOT 1
- Syncing and Auto inserts HOT 1
- psr/log dependency error HOT 2
- Unable to locate a user without a objectguid
- Not matching e-mail address even if still exists HOT 1
- SSO not working with AD auth HOT 9
- Laravel 9 Support HOT 8
- Distribution groups?
- SSO Problem with single route HOT 1
- php 8 support HOT 2
- technical qustion HOT 1
- online ldap test server HOT 3
- Adldap not working after upgrading to Laravel 6
- The 'username' key is missing from the given credentials array
- Can active directory user be logout ?After logout user, application require user login HOT 1
- Method move does not exist. HOT 1
- Config ldap_auth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adldap2-laravel.