Giter Club home page Giter Club logo

Comments (7)

tibo6 avatar tibo6 commented on July 30, 2024

Same problem hear, with MySQL.
The problem is that if the DN changes (tree change, "OU" added for example), the login fail.

from fr3dldapbundle.

mogoman avatar mogoman commented on July 30, 2024

I did some checking. It seems that there is a problem while using fos user bundle.

First time you login, it authenticates against ldap and creates the user in the database.
The second time you login, LdapManager.php is not used (as far as I could tell)

from fr3dldapbundle.

mogoman avatar mogoman commented on July 30, 2024

fixed this by adding the following lines to the config under the driver section

    bindRequiresDn: true
    accountFilterFormat: (&(samaccountname=%s))

closing this request

from fr3dldapbundle.

mogoman avatar mogoman commented on July 30, 2024

Vote to close

from fr3dldapbundle.

anoriel avatar anoriel commented on July 30, 2024

Hi all,

I have the same pb as tibo6:

Same problem hear, with MySQL.
The problem is that if the DN changes (tree change, "OU" added for example), the login fail.

I've tried to add "bindRequiresDn: true" in my config but it throw me this:

InvalidConfigurationException: Unrecognized options "driver" under "fr3d_ldap"

Can someone help me please ?

from fr3dldapbundle.

anoriel avatar anoriel commented on July 30, 2024

I think I found it...
I was with FR3DLap v.1.6 instead of last one...
Sorry for the echo...

from fr3dldapbundle.

anoriel avatar anoriel commented on July 30, 2024

Hi all,

after upgrading to 2.0, I can't connect anymore to my LDAP:

An error occur with the search operation

Even after clearing my DB...
Does anyone know something about it ?

All was good before the upgrade, except for the login failed if I change the users's DN ...

from fr3dldapbundle.

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.