Giter Club home page Giter Club logo

Comments (8)

stevebauman avatar stevebauman commented on August 15, 2024 2

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.

kiran-neobric avatar kiran-neobric commented on August 15, 2024

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.

kiran-neobric avatar kiran-neobric commented on August 15, 2024

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.

stevebauman avatar stevebauman commented on August 15, 2024

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.

kiran-neobric avatar kiran-neobric commented on August 15, 2024

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.

kiran-neobric avatar kiran-neobric commented on August 15, 2024

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.

stevebauman avatar stevebauman commented on August 15, 2024

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.

stevebauman avatar stevebauman commented on August 15, 2024

Closing due to inactivity.

from adldap2-laravel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.